]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Try to highlight current diagnostics
authorSergey Matveev <stargrave@stargrave.org>
Tue, 4 Apr 2023 08:43:38 +0000 (11:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 4 Apr 2023 08:43:38 +0000 (11:43 +0300)
vim/.vim/plugin/lsp.vim

index e0350190cf7da022e5ba6530dabf88da4af1fe67..ad29aba42b37c9ccaec220714c69eb18578ebbff 100644 (file)
@@ -43,6 +43,7 @@ var lspOpts = {
 
 autocmd VimEnter * call LspAddServer(lspServers)
 autocmd VimEnter * call LspOptionsSet(lspOpts)
+autocmd CursorMoved * silent! LspDiagCurrent
 nmap gd :LspGotoDefinition<CR>
 nmap <C-W>gd :vert LspGotoDefinition<CR>
 nmap <F6> :lopen<CR>