aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorjakbyte <jakbyte@gmail.com>2020-04-26 18:36:40 -0400
committerGitHub <noreply@github.com>2020-04-26 15:36:40 -0700
commit5f41717838f4cd9d1087e452640ba554500279ab (patch)
tree63f72984ed6d134fcf9f4a42e4579bdee19248aa /runtime/doc
parent50ff37308abde6c33c2800529cd58f1d7413d7b3 (diff)
downloadrneovim-5f41717838f4cd9d1087e452640ba554500279ab.tar.gz
rneovim-5f41717838f4cd9d1087e452640ba554500279ab.tar.bz2
rneovim-5f41717838f4cd9d1087e452640ba554500279ab.zip
LSP: don't redefine LspDiagnostics signs #12164
fix #12162
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index e53853b1b1..2d0bba0ffb 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -977,12 +977,12 @@ buf_diagnostics_virtual_text({bufnr}, {diagnostics})
*vim.lsp.util.buf_diagnostics_signs()*
buf_diagnostics_signs({bufnr}, {diagnostics})
Place signs for each diagnostic in the sign column.
- Sign characters can be customized with the following options:
+ Sign characters can be customized with the following commands:
>
-let g:LspDiagnosticsErrorSign = 'E'
-let g:LspDiagnosticsWarningSign = 'W'
-let g:LspDiagnosticsInformationSign = 'I'
-let g:LspDiagnosticsHintSign = 'H'
+sign define LspDiagnosticsErrorSign text=E texthl=LspDiagnosticsError linehl= numhl=
+sign define LspDiagnosticsWarningSign text=W texthl=LspDiagnosticsWarning linehl= numhl=
+sign define LspDiagnosticsInformationSign text=I texthl=LspDiagnosticsInformation linehl= numhl=
+sign define LspDiagnosticsHintSign text=H texthl=LspDiagnosticsHint linehl= numhl=
<