Skip to content

Commit

Permalink
Update config to use NextLS for Elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
giodamelio committed Oct 8, 2024
1 parent 2fde514 commit 7bb4a5d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/packages/_neovim_lua/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ lspconfig.emmet_ls.setup({
-- lspconfig.elixirls.setup({
-- cmd = { os.getenv('ELIXIRLS_CMD') },
-- })
-- lspconfig.nextls.setup({
-- cmd = { os.getenv('NEXTLS_CMD'), '--stdio' },
-- })
lspconfig.rust_analyzer.setup({
settings = {
['rust-analyzer'] = {
Expand Down
12 changes: 11 additions & 1 deletion src/packages/_neovim_lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,17 @@ require('neotest').setup({

-- Elixir Tools
require('elixir').setup({
nextls = { enable = true },
nextls = {
enable = true,
cmd = os.getenv('NEXTLS_CMD'),
init_options = {
experimental = {
completions = {
enable = true,
},
},
},
},
elixirls = { enable = false },
projectionist = { enable = true },
})
Expand Down

0 comments on commit 7bb4a5d

Please sign in to comment.