neo2005/config/plugins/lang/elixir.nix

21 lines
411 B
Nix

{ pkgs, ... }:
{
plugins = {
lsp.servers.elixirls.enable = true;
lsp.servers.nextls.enable = true; # idk probably needed for elixirls
conform-nvim.settings = {
formatters_by_ft = {
elixir = [ "mix" ];
};
};
# TODO use credo to lint
#lint = {
# lintersByFt.elixir = [ "elixir" ];
# linters.elixir.cmd = "${pkgs.elixir}/bin/mix deps.get";
#};
};
}