From 072c567f445644950524b2d1ba9b48ecd7741be3 Mon Sep 17 00:00:00 2001 From: Christoffer Aasted Date: Wed, 15 Feb 2023 00:21:19 +0100 Subject: [PATCH] fix --- autoload/lsp/lsp.vim | 3 --- autoload/lsp/options.vim | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) 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, -- 2.48.1