lsp: elixir added nextls for it to work and also changed from custom to built in formatter

This commit is contained in:
Barna Máté 2025-01-19 18:41:11 +01:00
parent 6fc3986e36
commit 7d2269c93d

View file

@ -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 @@
};
}