From: Sergey Matveev Date: Tue, 4 Apr 2023 08:43:38 +0000 (+0300) Subject: Try to highlight current diagnostics X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b61e4073d921078f2c1d67d4cc618e859f4e7d45;hp=a6a6e7e574ac70a772840ebe90a84cd98ae6aaae;p=dotfiles.git Try to highlight current diagnostics --- diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index e035019..ad29aba 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -43,6 +43,7 @@ var lspOpts = { autocmd VimEnter * call LspAddServer(lspServers) autocmd VimEnter * call LspOptionsSet(lspOpts) +autocmd CursorMoved * silent! LspDiagCurrent nmap gd :LspGotoDefinition nmap gd :vert LspGotoDefinition nmap :lopen