dotfiles/config/nvim/lua/lsp.lua
2024-12-04 11:15:03 +02:00

11 lines
335 B
Lua

-- Elixir shenanigans
local lspdir = '~/.local/share/lsp-servers'
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,
}