From 35325ddac04b1b59b7982797021cdaabdabc87fb Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Fri, 13 Nov 2020 00:02:40 -0500 Subject: doc: fixup sign information (#13281) Thanks to @sunzoje for finding the outdated documentation. --- runtime/doc/lsp.txt | 8 ++++---- runtime/lua/vim/lsp/diagnostic.lua | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'runtime') 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: --- ---
---- 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=
 --- 
---@param diagnostics Diagnostic[] ---@param bufnr number The buffer number -- cgit