autoload/lsp/lsp.vim | 3 --- autoload/lsp/options.vim | 1 + diff --git a/autoload/lsp/lsp.vim b/autoload/lsp/lsp.vim index 370b6658153b860b01ba3b4c7c0b03857503d5cd..616e7bab267de54ae96374a0b13c8bb4169ba793 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 655358e13173019aca3bcd489c0bd9c3d6976c14..7ef088338bdf9712b428ef6a3170e393fbedbae8 100644 --- a/autoload/lsp/options.vim +++ b/autoload/lsp/options.vim @@ -35,6 +35,7 @@ showDiagOnStatusLine: false, # 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,