Skip to content

This is a vim-lsp extension to support inactive regions reply from LSP

License

Notifications You must be signed in to change notification settings

krzbe/vim-lsp-inactive-regions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

vim-lsp-inactive-regions

This is a vim-lsp extension to support inactive regions reply from LSP. Requires vim-lsp (https://github.com/prabirshrestha/vim-lsp).

Supported LSP servers:

  • cquery
  • ccls

Configuration

g:inactive_range_section_hl - use it to set different highlight group (default InactiveRangeSection)

Limitations

Due to vim limitation (or limitation of my vim scripting skills) it is not possible to remove matches for given window number. Because of that, when having same buffer opened in split/different window, the script will not update inactive one, but only current window. Other windows' inactive regions will be updated just after entering second window.

Current implementation skips whole lines only.

About

This is a vim-lsp extension to support inactive regions reply from LSP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published