vim-lsp
vim-lsp copied to clipboard
Сhanging the color scheme completely breaks the highlighting
Executing :colorscheme <scheme>
or :hi clear
breaks the highlighting. Reloading .vimrc
or reloading the plugin doesn't help, and the only way to bring highlighting back is to restart Vim.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If by "breaks the highlighting" you mean removing the error and warning highlights, these can be restored with
def g:RestoreLspHighlights(): void
highlight link LspErrorHighlight Error
highlight link LspWarningHighlight Todo
highlight link LspInformationHighlight Normal
highlight link LspHintHighlight Normal
enddef