From 7d2269c93dc62211c25dcffbeb90536472c101d8 Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Sun, 19 Jan 2025 18:41:11 +0100 Subject: [PATCH] lsp: elixir added nextls for it to work and also changed from custom to built in formatter --- config/plugins/lang/elixir.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/config/plugins/lang/elixir.nix b/config/plugins/lang/elixir.nix index 5345b60..e440d88 100644 --- a/config/plugins/lang/elixir.nix +++ b/config/plugins/lang/elixir.nix @@ -2,16 +2,11 @@ { plugins = { lsp.servers.elixirls.enable = true; + lsp.servers.nextls.enable = true; # idk probably needed for elixirls conform-nvim.settings = { formatters_by_ft = { - elixir = [ "elixir" ]; - }; - - formatters = { - elixir = { - command = "${pkgs.elixir}/bin/mix format"; - }; + elixir = [ "mix" ]; }; }; @@ -23,4 +18,3 @@ }; } -