diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2022-05-03 16:49:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 08:49:23 -0600 |
commit | 70e2c5d10d2574b77c56d0bebeb61527876ff0b1 (patch) | |
tree | 06183b3c49b204ff7d63efb72f7e0ba2da28a3f5 /runtime/lua/vim/lsp.lua | |
parent | 73741e94867a8dedabcbd356e1e929f198c51905 (diff) | |
download | rneovim-70e2c5d10d2574b77c56d0bebeb61527876ff0b1.tar.gz rneovim-70e2c5d10d2574b77c56d0bebeb61527876ff0b1.tar.bz2 rneovim-70e2c5d10d2574b77c56d0bebeb61527876ff0b1.zip |
feat(lsp): add logging level "OFF" (#18379)
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r-- | runtime/lua/vim/lsp.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 19ee75a1b6..00f1c26692 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -1790,13 +1790,14 @@ end -- -- Can be used to lookup the number from the name or the -- name from the number. --- Levels by name: "TRACE", "DEBUG", "INFO", "WARN", "ERROR" +-- Levels by name: "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" -- Level numbers begin with "TRACE" at 0 lsp.log_levels = log.levels --- 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. |