This commit is contained in:
Barna Máté 2025-01-29 18:40:08 +01:00
commit 209cc1a81b
2 changed files with 10 additions and 8 deletions

View file

@ -21,6 +21,13 @@
desc = "Format Buffer";
};
}
{
# Trouble diagnostics
mode = "n";
key = "<leader>td";
action = "<cmd>Trouble diagnostics<cr>";
}
];
}

View file

@ -1,8 +1,9 @@
{ pkgs, ... }:
{ ... }:
{
plugins = {
lsp.servers.nextls.enable = true;
lsp.servers.elixirls.enable = true;
lsp.servers.nextls.enable = true; # idk probably needed for elixirls
conform-nvim.settings = {
formatters_by_ft = {
@ -10,12 +11,6 @@
};
};
# TODO use credo to lint
#lint = {
# lintersByFt.elixir = [ "elixir" ];
# linters.elixir.cmd = "${pkgs.elixir}/bin/mix deps.get";
#};
treesitter.settings.ensure_installed = [
"eex"
"elixir"