From: Christoffer Aasted Date: Wed, 15 Feb 2023 10:21:33 +0000 (+0100) Subject: improve docs, fix incorrect comment X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f109cd50837f6cea0392ab12fe20c3da7254103d;p=vim-lsp.git improve docs, fix incorrect comment --- 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 .