feat(helix): add python lsp and formatter

This commit is contained in:
Ahurac 2024-11-19 10:08:17 +01:00
parent 72f7a0bba9
commit 7ab0c189b4

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 = [
{ {
@ -122,6 +123,11 @@
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";
}
]; ];
}; };