aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/rpc.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-11-30 03:55:42 -0500
committerGitHub <noreply@github.com>2021-11-30 09:55:42 +0100
commit04c7b550384b2246d37c1a893c0f858bc332cb8b (patch)
treeb52d661a976ad6321942033f98f943fd48c48ea9 /runtime/lua/vim/lsp/rpc.lua
parentf5fb79733e30b6444e9637e9a1aa4bfcb2050ab5 (diff)
downloadrneovim-04c7b550384b2246d37c1a893c0f858bc332cb8b.tar.gz
rneovim-04c7b550384b2246d37c1a893c0f858bc332cb8b.tar.bz2
rneovim-04c7b550384b2246d37c1a893c0f858bc332cb8b.zip
fix(lsp): change rpc start notify level to warn (#16467)
This is less obtrusive, and does not require a confirmation to dismiss
Diffstat (limited to 'runtime/lua/vim/lsp/rpc.lua')
-rw-r--r--runtime/lua/vim/lsp/rpc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/rpc.lua b/runtime/lua/vim/lsp/rpc.lua
index de03427bf7..1fb75ddeb7 100644
--- a/runtime/lua/vim/lsp/rpc.lua
+++ b/runtime/lua/vim/lsp/rpc.lua
@@ -329,7 +329,7 @@ local function start(cmd, cmd_args, dispatchers, extra_spawn_params)
else
msg = msg .. string.format(" with error message: %s", pid)
end
- vim.notify(msg, vim.log.levels.ERROR)
+ vim.notify(msg, vim.log.levels.WARN)
return
end
end