27 lines
456 B
Nix
27 lines
456 B
Nix
{ pkgs, ... }:
|
|
{
|
|
plugins = {
|
|
lsp.servers.elixirls.enable = true;
|
|
|
|
conform-nvim.settings = {
|
|
formatters_by_ft = {
|
|
elixir = [ "elixir" ];
|
|
};
|
|
|
|
formatters = {
|
|
elixir = {
|
|
command = "${pkgs.elixir}/bin/mix format";
|
|
};
|
|
};
|
|
};
|
|
|
|
# TODO use credo to lint
|
|
#lint = {
|
|
# lintersByFt.elixir = [ "elixir" ];
|
|
# linters.elixir.cmd = "${pkgs.elixir}/bin/mix deps.get";
|
|
#};
|
|
|
|
};
|
|
}
|
|
|