feat: use helix editor alongside neovim
This commit is contained in:
parent
bab224d4d1
commit
20f6439cc7
2 changed files with 45 additions and 13 deletions
30
home-manager/stvnliu/helix-langs.nix
Normal file
30
home-manager/stvnliu/helix-langs.nix
Normal 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";
|
||||
}
|
||||
# { }
|
||||
# { }
|
||||
# { }
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue