aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/log.lua
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2021-02-08 15:49:27 +0100
committerGitHub <noreply@github.com>2021-02-08 15:49:27 +0100
commit00423730b5eddc628a4b996b9e226fe23d7ce1f2 (patch)
treec7ac1a98a69962ab15f5380a85c4252c3aa096eb /runtime/lua/vim/lsp/log.lua
parent02a3c417945e7b7fc781906a78acbf88bd44c971 (diff)
parenta90a43796a7aef470d33d0d5fc7f2f1d004cc06d (diff)
downloadrneovim-00423730b5eddc628a4b996b9e226fe23d7ce1f2.tar.gz
rneovim-00423730b5eddc628a4b996b9e226fe23d7ce1f2.tar.bz2
rneovim-00423730b5eddc628a4b996b9e226fe23d7ce1f2.zip
Merge pull request #13843 from teto/notif_provider
[RDY] Notification provider
Diffstat (limited to 'runtime/lua/vim/lsp/log.lua')
-rw-r--r--runtime/lua/vim/lsp/log.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua
index b6e91e37b9..4e8d2d4202 100644
--- a/runtime/lua/vim/lsp/log.lua
+++ b/runtime/lua/vim/lsp/log.lua
@@ -10,13 +10,7 @@ local log = {}
-- Can be used to lookup the number from the name or the name from the number.
-- Levels by name: 'trace', 'debug', 'info', 'warn', 'error'
-- Level numbers begin with 'trace' at 0
-log.levels = {
- TRACE = 0;
- DEBUG = 1;
- INFO = 2;
- WARN = 3;
- ERROR = 4;
-}
+log.levels = vim.log.levels
-- Default log level is warn.
local current_log_level = log.levels.WARN