dotfiles/config/nvim/lua/lsp.lua

12 lines
335 B
Lua
Raw Normal View History

-- Elixir shenanigans
local lspdir = '~/.local/share/lsp-servers'
2024-12-04 11:15:03 +02:00
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').default_capabilities()
require'lspconfig'.elixirls.setup {
2024-12-04 11:15:03 +02:00
cmd = { vim.fn.expand(lspdir .. '/elixir-ls/language_server.sh') },
capabilities = capabilities,
}