feat: use helix editor alongside neovim

This commit is contained in:
Zhongheng Liu 2025-05-29 19:03:57 +03:00
commit 20f6439cc7
Signed by: steven
GPG key ID: 805A28B071DAD84B
2 changed files with 45 additions and 13 deletions

View file

@ -0,0 +1,30 @@
{ pkgs }: [
{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
}
{
name = "python";
auto-format = true;
formatter.command = "${pkgs.black}/bin/black";
}
{
name = "rust";
auto-format = true;
formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
}
{
name = "java";
auto-format = true;
formatter.command = "${pkgs.jdt-language-server}/bin/jdtls";
}
{
name = "c";
auto-format = true;
formatter.command = "${pkgs.astyle}/bin/astyle --squeeze-ws --style=c";
}
# { }
# { }
# { }
]