]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Show LSP warning on status line only
authorSergey Matveev <stargrave@stargrave.org>
Wed, 29 Nov 2023 10:04:50 +0000 (13:04 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 29 Nov 2023 10:04:50 +0000 (13:04 +0300)
vim/.vim/plugin/lsp.vim

index 573ddbd96488bbca63c15f4a09e378765a0ffcff..a342e3cfe3398e2a0075bc5fe5edd49b29dbccc3 100644 (file)
@@ -36,8 +36,13 @@ endfor
 var lspOpts = {
     ignoreMissingServer: true,
     autoComplete: false,
+
     autoHighlight: true,
     autoPopulateDiags: true,
+
+    # Lint warning only on status line, do not show near cursor
+    showDiagInPopup: false,
+    showDiagOnStatusLine: true,
     showSignature: false,
 }