diff options
author | TJ DeVries <devries.timothyj@gmail.com> | 2020-11-13 00:02:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 00:02:40 -0500 |
commit | 35325ddac04b1b59b7982797021cdaabdabc87fb (patch) | |
tree | 42e69a3cc7e22acbc6824678646ce216bcc6a108 | |
parent | f75be5e9d510d5369c572cf98e78d9480df3b0bb (diff) | |
download | rneovim-35325ddac04b1b59b7982797021cdaabdabc87fb.tar.gz rneovim-35325ddac04b1b59b7982797021cdaabdabc87fb.tar.bz2 rneovim-35325ddac04b1b59b7982797021cdaabdabc87fb.zip |
doc: fixup sign information (#13281)
Thanks to @sunzoje for finding the outdated documentation.
-rw-r--r-- | runtime/doc/lsp.txt | 8 | ||||
-rw-r--r-- | runtime/lua/vim/lsp/diagnostic.lua | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index ca6fc46e7b..f110782490 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1267,10 +1267,10 @@ set_signs({diagnostics}, {bufnr}, {client_id}, {sign_ns}, {opts}) Sign characters can be customized with the following commands: > - 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= + sign define LspDiagnosticsSignError text=E texthl=LspDiagnosticsSignError linehl= numhl= + sign define LspDiagnosticsSignWarning text=W texthl=LspDiagnosticsSignWarning linehl= numhl= + sign define LspDiagnosticsSignInformation text=I texthl=LspDiagnosticsSignInformation linehl= numhl= + sign define LspDiagnosticsSignHint text=H texthl=LspDiagnosticsSignHint linehl= numhl= < Parameters: ~ diff --git a/runtime/lua/vim/lsp/diagnostic.lua b/runtime/lua/vim/lsp/diagnostic.lua index 590d694826..45e717d16c 100644 --- a/runtime/lua/vim/lsp/diagnostic.lua +++ b/runtime/lua/vim/lsp/diagnostic.lua @@ -583,10 +583,10 @@ end --- Sign characters can be customized with the following commands: --- --- <pre> ---- 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= +--- sign define LspDiagnosticsSignError text=E texthl=LspDiagnosticsSignError linehl= numhl= +--- sign define LspDiagnosticsSignWarning text=W texthl=LspDiagnosticsSignWarning linehl= numhl= +--- sign define LspDiagnosticsSignInformation text=I texthl=LspDiagnosticsSignInformation linehl= numhl= +--- sign define LspDiagnosticsSignHint text=H texthl=LspDiagnosticsSignHint linehl= numhl= --- </pre> ---@param diagnostics Diagnostic[] ---@param bufnr number The buffer number |