feat(nvim): disable elixir lsp if not in PATH

This commit is contained in:
Moritz Böhme 2025-08-01 20:27:20 +02:00
parent fb0490a269
commit 6125c37e2a
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9

View file

@ -10,11 +10,11 @@
elixir.setup {
nextls = {
enable = true,
enable = vim.fn.exepath("nextls") ~= "",
cmd = vim.fn.exepath("nextls"),
},
elixirls = {
enable = true,
enable = vim.fn.exepath("elixir-ls") ~= "",
cmd = vim.fn.exepath("elixir-ls"),
settings = elixirls.settings {
dialyzerEnabled = true,