dotfiles/config/nvim/lua/lsp.lua

17 lines
441 B
Lua

-- Elixir shenanigans
local lspdir = '~/.local/share/lsp-servers'
local capabilities = require('cmp_nvim_lsp').default_capabilities()
require'lspconfig'.elixirls.setup {
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'
}
}