aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorii14 <59243201+ii14@users.noreply.github.com>2022-05-03 16:49:23 +0200
committerGitHub <noreply@github.com>2022-05-03 08:49:23 -0600
commit70e2c5d10d2574b77c56d0bebeb61527876ff0b1 (patch)
tree06183b3c49b204ff7d63efb72f7e0ba2da28a3f5 /runtime/doc
parent73741e94867a8dedabcbd356e1e929f198c51905 (diff)
downloadrneovim-70e2c5d10d2574b77c56d0bebeb61527876ff0b1.tar.gz
rneovim-70e2c5d10d2574b77c56d0bebeb61527876ff0b1.tar.bz2
rneovim-70e2c5d10d2574b77c56d0bebeb61527876ff0b1.zip
feat(lsp): add logging level "OFF" (#18379)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt4
-rw-r--r--runtime/doc/lua.txt1
2 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index f55c959a03..71ff0b2be5 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -750,7 +750,9 @@ omnifunc({findstart}, {base}) *vim.lsp.omnifunc()*
set_log_level({level}) *vim.lsp.set_log_level()*
Sets the global log level for LSP logging.
- Levels by name: "TRACE", "DEBUG", "INFO", "WARN", "ERROR"
+ Levels by name: "TRACE", "DEBUG", "INFO", "WARN", "ERROR",
+ "OFF"
+
Level numbers begin with "TRACE" at 0
Use `lsp.log_levels` for reverse lookup.
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 9ae45ab7fb..534a40ff4f 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1012,6 +1012,7 @@ Log levels are one of the values defined in `vim.log.levels`:
vim.log.levels.INFO
vim.log.levels.TRACE
vim.log.levels.WARN
+ vim.log.levels.OFF
------------------------------------------------------------------------------
LUA-VIMSCRIPT BRIDGE *lua-vimscript*