28 lines
519 B
Nix
28 lines
519 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";
|
|
#};
|
|
|
|
treesitter.settings.ensure_installed = [
|
|
"eex"
|
|
"elixir"
|
|
"erlang"
|
|
"heex"
|
|
];
|
|
|
|
};
|
|
}
|