fixing elixir lsp
This commit is contained in:
parent
05935ec4e0
commit
6725b33edd
1 changed files with 5 additions and 10 deletions
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue