]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
fix
authorChristoffer Aasted <chr.aasted@gmail.com>
Tue, 14 Feb 2023 23:21:19 +0000 (00:21 +0100)
committerChristoffer Aasted <chr.aasted@gmail.com>
Tue, 14 Feb 2023 23:21:19 +0000 (00:21 +0100)
autoload/lsp/lsp.vim
autoload/lsp/options.vim

index 370b6658153b860b01ba3b4c7c0b03857503d5cd..616e7bab267de54ae96374a0b13c8bb4169ba793 100644 (file)
@@ -32,9 +32,6 @@ var lspInitializedOnce = false
 
 def LspInitOnce()
   var lineHL: string = opt.lspOptions.diagLineHL
-  if lineHL->empty()
-    lineHL = 'MatchParen'
-  endif
   # Signs used for LSP diagnostics
   sign_define([{name: 'LspDiagError', text: 'E>', texthl: 'ErrorMsg',
                                                linehl: lineHL},
index 655358e13173019aca3bcd489c0bd9c3d6976c14..7ef088338bdf9712b428ef6a3170e393fbedbae8 100644 (file)
@@ -35,6 +35,7 @@ export var lspOptions: dict<any> = {
   # Make diagnostics show in a popup instead of echoing
   showDiagInPopup: true,
   # Don't print message when a configured language server is missing.
+  diagLineHL: 'Cursor',
   ignoreMissingServer: false,
   # Use a floating menu to show the code action menu instead of asking for input
   usePopupInCodeAction: false,