aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua
index de0e3f02..a6dabd78 100644
--- a/lua/lspconfig/util.lua
+++ b/lua/lspconfig/util.lua
@@ -245,7 +245,7 @@ function M.server_per_root_dir_manager(_make_config)
.."See server documentation.", new_config.name))
return
elseif vim.fn.executable(new_config.cmd[1]) == 0 then
- print(string.format("Error, cmd [%q] is not executable.", new_config.cmd[1]))
+ vim.notify(string.format("cmd [%q] is not executable.", new_config.cmd[1]), vim.log.levels.Error)
return
end
new_config.on_exit = M.add_hook_before(new_config.on_exit, function()