From f109cd50837f6cea0392ab12fe20c3da7254103d Mon Sep 17 00:00:00 2001 From: Christoffer Aasted Date: Wed, 15 Feb 2023 11:21:33 +0100 Subject: [PATCH] improve docs, fix incorrect comment --- autoload/lsp/options.vim | 3 ++- doc/lsp.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/autoload/lsp/options.vim b/autoload/lsp/options.vim index 7ef0883..8aa8f8f 100644 --- a/autoload/lsp/options.vim +++ b/autoload/lsp/options.vim @@ -34,8 +34,9 @@ export var lspOptions: dict = { showDiagOnStatusLine: false, # Make diagnostics show in a popup instead of echoing showDiagInPopup: true, - # Don't print message when a configured language server is missing. + # Default diagnostic highlight on lines diagLineHL: 'Cursor', + # Don't print message when a configured language server is missing. ignoreMissingServer: false, # Use a floating menu to show the code action menu instead of asking for input usePopupInCodeAction: false, diff --git a/doc/lsp.txt b/doc/lsp.txt index a026ee1..9449483 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -278,6 +278,7 @@ noDiagHoverOnLine Suppress diagnostic hover from appearing when the mouse is over the line instead of the signature. By default this is set to true. diagLineHL Highlight used for diagnostic line. + By default uses `Cursor`. Use `NONE` to disable. noNewlineInCompletion Suppress adding a new line on completion selection with . -- 2.48.1