fixing elixir lsp

This commit is contained in:
Siina Mashek 2024-12-04 11:15:03 +02:00
parent 05935ec4e0
commit 6725b33edd

View file

@ -1,16 +1,11 @@
-- Elixir shenanigans
local lspdir = '~/.local/share/lsp-servers'
local capabilities = require('cmp_nvim_lsp').default_capabilities()
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').default_capabilities()
require'lspconfig'.elixirls.setup {
cmd = { vim.fn.expand(lspdir .. '/elixir-ls/language_server.sh') },
capabilities = capabilities,
capabilities = { lspdir .. '/elixir-ls/language_server.sh' }
}
local elixir = require('elixir')
local elixirls = require('elixir.elixirls')
elixir.setup {
elixirls = {
cmd = lspdir .. '/elixir-ls/language_server.sh'
}
}