lsp: elixir added nextls for it to work and also changed from custom to built in formatter
This commit is contained in:
parent
6fc3986e36
commit
7d2269c93d
|
@ -2,16 +2,11 @@
|
||||||
{
|
{
|
||||||
plugins = {
|
plugins = {
|
||||||
lsp.servers.elixirls.enable = true;
|
lsp.servers.elixirls.enable = true;
|
||||||
|
lsp.servers.nextls.enable = true; # idk probably needed for elixirls
|
||||||
|
|
||||||
conform-nvim.settings = {
|
conform-nvim.settings = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
elixir = [ "elixir" ];
|
elixir = [ "mix" ];
|
||||||
};
|
|
||||||
|
|
||||||
formatters = {
|
|
||||||
elixir = {
|
|
||||||
command = "${pkgs.elixir}/bin/mix format";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -23,4 +18,3 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue