feat(nvim): disable elixir lsp if not in PATH
This commit is contained in:
parent
fb0490a269
commit
6125c37e2a
1 changed files with 2 additions and 2 deletions
|
|
@ -10,11 +10,11 @@
|
||||||
|
|
||||||
elixir.setup {
|
elixir.setup {
|
||||||
nextls = {
|
nextls = {
|
||||||
enable = true,
|
enable = vim.fn.exepath("nextls") ~= "",
|
||||||
cmd = vim.fn.exepath("nextls"),
|
cmd = vim.fn.exepath("nextls"),
|
||||||
},
|
},
|
||||||
elixirls = {
|
elixirls = {
|
||||||
enable = true,
|
enable = vim.fn.exepath("elixir-ls") ~= "",
|
||||||
cmd = vim.fn.exepath("elixir-ls"),
|
cmd = vim.fn.exepath("elixir-ls"),
|
||||||
settings = elixirls.settings {
|
settings = elixirls.settings {
|
||||||
dialyzerEnabled = true,
|
dialyzerEnabled = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue