aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/diagnostic.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-11-25 07:54:45 -0500
committerGitHub <noreply@github.com>2021-11-25 07:54:45 -0500
commit1a60580925865445efbe476931dd02ef1a3a8e7f (patch)
tree64fb35f610a1cc62b7e0cf5b18a4d8fba69122bd /runtime/lua/vim/lsp/diagnostic.lua
parent6ea5e80393dbcc6205ee8586c29a097e8a08ad53 (diff)
downloadrneovim-1a60580925865445efbe476931dd02ef1a3a8e7f.tar.gz
rneovim-1a60580925865445efbe476931dd02ef1a3a8e7f.tar.bz2
rneovim-1a60580925865445efbe476931dd02ef1a3a8e7f.zip
feat(lsp): use uv_spawn to check if server executable (#16430)
Previously, the built-in language server client checked if the first argument of cmd was executable via vim.fn.executable. This ignores PATH injected via cmd_env. Instead, we now start the client via uv.spawn, and handle the failure mode, reporting the error back to the user. Co-authored-by: Mathias Fußenegger <mfussenegger@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/lsp/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions