From 464598e57f383db704e7f4ef8e83e1ce02427383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 14 Sep 2022 09:02:49 +0100 Subject: [PATCH] add elixir --- config/programs/vim/modules/languages/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/programs/vim/modules/languages/default.nix b/config/programs/vim/modules/languages/default.nix index 195aa841..3bd18c45 100644 --- a/config/programs/vim/modules/languages/default.nix +++ b/config/programs/vim/modules/languages/default.nix @@ -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 ]; }