neo2005/config/plugins/lang/elixir.nix

28 lines
519 B
Nix
Raw Normal View History

{ 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";
#};
treesitter.settings.ensure_installed = [
"eex"
"elixir"
"erlang"
"heex"
];
};
}