From b3f2107cda334f194dd43ba2e19ec2dc8f133742 Mon Sep 17 00:00:00 2001 From: muon Date: Wed, 14 May 2025 08:12:26 +0000 Subject: [PATCH] Add python lsp --- modules/home/terminal/development.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/home/terminal/development.nix b/modules/home/terminal/development.nix index e9eab39..425f790 100644 --- a/modules/home/terminal/development.nix +++ b/modules/home/terminal/development.nix @@ -40,6 +40,8 @@ in { glsl_analyzer # wgsl_analyzer + # Python + black ]; programs.direnv = { @@ -99,6 +101,14 @@ in { name = "wgsl"; language-servers = [ "wgsl" ]; } + { + name = "python"; + auto-format = true; + formatter = { + command = "${pkgs.black}/bin/black"; + args = [ "-" "--quiet" "--line-length=79" ]; + }; + } ]; }; };