From caa6992a1071a2ac373bec21085685da4a1790d6 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 27 Nov 2021 17:10:48 +0100 Subject: chore: fix typos (#16361) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Brede Yabo Sherling Kristensen Co-authored-by: zeertzjq Co-authored-by: István Donkó Co-authored-by: Julian Berman Co-authored-by: bryant Co-authored-by: Michael Lingelbach Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam Co-authored-by: Jesse Wertheim Co-authored-by: dm1try Co-authored-by: Jakub Łuczyński Co-authored-by: Louis Lebrault Co-authored-by: Brede Yabo Sherling Kristensen Co-authored-by: zeertzjq Co-authored-by: István Donkó Co-authored-by: Julian Berman Co-authored-by: bryant Co-authored-by: Michael Lingelbach Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam Co-authored-by: Jesse Wertheim Co-authored-by: dm1try Co-authored-by: Jakub Łuczyński Co-authored-by: Louis Lebrault --- runtime/lua/vim/lsp/diagnostic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/lua/vim/lsp/diagnostic.lua') diff --git a/runtime/lua/vim/lsp/diagnostic.lua b/runtime/lua/vim/lsp/diagnostic.lua index 3b214c49f9..1eb3e4e3a3 100644 --- a/runtime/lua/vim/lsp/diagnostic.lua +++ b/runtime/lua/vim/lsp/diagnostic.lua @@ -222,7 +222,7 @@ function M.on_publish_diagnostics(_, result, ctx, config) vim.diagnostic.set(namespace, bufnr, diagnostic_lsp_to_vim(diagnostics, bufnr, client_id)) end ---- Clear diagnotics and diagnostic cache. +--- Clear diagnostics and diagnostic cache. --- --- Diagnostic producers should prefer |vim.diagnostic.reset()|. However, --- this method signature is still used internally in some parts of the LSP -- cgit