Compare commits

...

2 commits

Author SHA1 Message Date
7accc54935 fix(helix): java formatter 2024-11-19 10:08:26 +01:00
7ab0c189b4 feat(helix): add python lsp and formatter 2024-11-19 10:08:17 +01:00

View file

@ -95,6 +95,7 @@
jdt-language-server jdt-language-server
bash-language-server bash-language-server
marksman marksman
python3Packages.python-lsp-server
]; ];
languages.language = [ languages.language = [
{ {
@ -115,13 +116,21 @@
{ {
name = "java"; name = "java";
auto-format = true; auto-format = true;
formatter.command = "${pkgs.google-java-format}/bin/google-java-format"; formatter = {
command = "${pkgs.google-java-format}/bin/google-java-format";
args = [ "-" ];
};
} }
{ {
name = "rust"; name = "rust";
auto-format = true; auto-format = true;
formatter.command = "${pkgs.rustfmt}/bin/rustfmt"; formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
} }
{
name = "python";
auto-format = true;
formatter.command = "${pkgs.yapf}/bin/yapf";
}
]; ];
}; };