From 7ab0c189b4241b673c68b9ce7e56dbad7fbaf206 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Tue, 19 Nov 2024 10:08:17 +0100 Subject: [PATCH] feat(helix): add python lsp and formatter --- common/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/home.nix b/common/home.nix index 1e3528d..0f4d1fd 100644 --- a/common/home.nix +++ b/common/home.nix @@ -95,6 +95,7 @@ jdt-language-server bash-language-server marksman + python3Packages.python-lsp-server ]; languages.language = [ { @@ -122,6 +123,11 @@ auto-format = true; formatter.command = "${pkgs.rustfmt}/bin/rustfmt"; } + { + name = "python"; + auto-format = true; + formatter.command = "${pkgs.yapf}/bin/yapf"; + } ]; };