2024-12-19 22:41:52 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
plugins = {
|
|
|
|
lsp.servers.elixirls.enable = true;
|
2025-01-19 18:41:11 +01:00
|
|
|
lsp.servers.nextls.enable = true; # idk probably needed for elixirls
|
2024-12-19 22:41:52 +01:00
|
|
|
|
|
|
|
conform-nvim.settings = {
|
|
|
|
formatters_by_ft = {
|
2025-01-19 18:41:11 +01:00
|
|
|
elixir = [ "mix" ];
|
2024-12-19 22:41:52 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# TODO use credo to lint
|
|
|
|
#lint = {
|
|
|
|
# lintersByFt.elixir = [ "elixir" ];
|
|
|
|
# linters.elixir.cmd = "${pkgs.elixir}/bin/mix deps.get";
|
|
|
|
#};
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|