aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-07-19 23:35:35 +0200
committerGitHub <noreply@github.com>2021-07-19 23:35:35 +0200
commit2475161defb775b0104dbe8b504a5299044584a2 (patch)
tree4e20ae26054c49bf3dc0339cc514d99eed65b663
parent9358aa04c42650551833569a0e82951dfe6268d1 (diff)
parent823412eda95c2502a389e8c4568a54e24ee3f91d (diff)
downloadrneovim-2475161defb775b0104dbe8b504a5299044584a2.tar.gz
rneovim-2475161defb775b0104dbe8b504a5299044584a2.tar.bz2
rneovim-2475161defb775b0104dbe8b504a5299044584a2.zip
Merge pull request #15135 from neovim/marvim/api-doc-update/master
docs: regenerate
-rw-r--r--runtime/doc/lsp.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index dacc0c4138..62f529b463 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1199,6 +1199,26 @@ clear({bufnr}, {client_id}, {diagnostic_ns}, {sign_ns})
namespace
{sign_ns} number|nil Associated sign namespace
+disable({bufnr}, {client_id}) *vim.lsp.diagnostic.disable()*
+ Disable diagnostics for the given buffer and client
+
+ Parameters: ~
+ {bufnr} (optional, number): Buffer handle, defaults
+ to current
+ {client_id} (optional, number): Disable diagnostics for
+ the given client. The default is to disable
+ diagnostics for all attached clients.
+
+enable({bufnr}, {client_id}) *vim.lsp.diagnostic.enable()*
+ Enable diagnostics for the given buffer and client
+
+ Parameters: ~
+ {bufnr} (optional, number): Buffer handle, defaults
+ to current
+ {client_id} (optional, number): Enable diagnostics for
+ the given client. The default is to enable
+ diagnostics for all attached clients.
+
get({bufnr}, {client_id}) *vim.lsp.diagnostic.get()*
Return associated diagnostics for bufnr