aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/log.lua
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-03-02 22:27:30 +0900
committerGitHub <noreply@github.com>2020-03-02 14:27:30 +0100
commitfbc4c4fd36bef6f10f75af675985167d5fab4699 (patch)
tree25c11029e62af90f787c6fb42cc5bae9c3e11967 /runtime/lua/vim/lsp/log.lua
parentd22fd58629c6aa93d808d74a7e6dee79e3246ae0 (diff)
downloadrneovim-fbc4c4fd36bef6f10f75af675985167d5fab4699.tar.gz
rneovim-fbc4c4fd36bef6f10f75af675985167d5fab4699.tar.bz2
rneovim-fbc4c4fd36bef6f10f75af675985167d5fab4699.zip
lsp: make showMessage and logMessage callbacks different (#11942)
According to the LSP specification, showMessage is what is displayed and logMessage is what is stored. Since these are different things, I devide the callback into those that match.
Diffstat (limited to 'runtime/lua/vim/lsp/log.lua')
-rw-r--r--runtime/lua/vim/lsp/log.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/log.lua b/runtime/lua/vim/lsp/log.lua
index 974eaae38c..c0db5e5485 100644
--- a/runtime/lua/vim/lsp/log.lua
+++ b/runtime/lua/vim/lsp/log.lua
@@ -13,7 +13,6 @@ log.levels = {
INFO = 2;
WARN = 3;
ERROR = 4;
- -- FATAL = 4;
}
-- Default log level is warn.