add elixir

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-14 09:02:49 +01:00
parent 236a1bf0cd
commit 464598e57f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -55,7 +55,7 @@ with lib; {
-- Setup all LSPs
local nvim_lsp = require'lspconfig'
local servers = {'rust_analyzer', 'rnix', 'clangd', 'pyright', 'dhall_lsp_server'}
local servers = {'rust_analyzer', 'rnix', 'clangd', 'pyright', 'dhall_lsp_server', 'elixirls'}
for _, s in ipairs(servers) do
nvim_lsp[s].setup({
on_attach = on_attach,
@ -98,6 +98,7 @@ with lib; {
lsp_extensions-nvim
lsp-status-nvim
dhall-vim
vim-elixir
];
output.path.path = with pkgs; [
@ -119,6 +120,9 @@ with lib; {
# This wrapper script fixes that.
${pyright}/bin/pyright-langserver $@
'')
'')
# Elixir
elixir_ls
];
}