From: Christoffer Aasted Date: Tue, 14 Feb 2023 23:21:19 +0000 (+0100) Subject: fix X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=072c567f445644950524b2d1ba9b48ecd7741be3;p=vim-lsp.git fix --- diff --git a/autoload/lsp/lsp.vim b/autoload/lsp/lsp.vim index 370b665..616e7ba 100644 --- a/autoload/lsp/lsp.vim +++ b/autoload/lsp/lsp.vim @@ -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}, diff --git a/autoload/lsp/options.vim b/autoload/lsp/options.vim index 655358e..7ef0883 100644 --- a/autoload/lsp/options.vim +++ b/autoload/lsp/options.vim @@ -35,6 +35,7 @@ export var lspOptions: dict = { # 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,