From 88fc362777d3a20d5257edf2c4a2864462ef74e4 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 7 Apr 2025 01:40:47 +0300 Subject: [PATCH] feat: basedpyright --- modules/common/helix.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/modules/common/helix.nix b/modules/common/helix.nix index a7b1ddd..b9292bc 100644 --- a/modules/common/helix.nix +++ b/modules/common/helix.nix @@ -68,6 +68,12 @@ in { formatter.command = "alejandra"; } + { + name = "python"; + auto-format = true; + language-servers = [ "basedpyright" ]; + } + { name = "rust"; @@ -207,6 +213,8 @@ in { alejandra nil + # PYTHON + basedpyright # RUST rust-analyzer-nightly @@ -221,16 +229,5 @@ in { # ZIG zls ; - - inherit (pkgs.python311Packages) - # PYTHON - # TODO: Replace with basedpyright. - python-lsp-server - ; - - inherit (pkgs.nodePackages_latest) - # HTML - prettier - ; }; }