Clear out python + fix vim config

This commit is contained in:
Filippo Berto 2025-03-28 11:31:48 +01:00
parent 98ab0e1a4c
commit d5fb5ba07b
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
3 changed files with 4 additions and 2 deletions

View file

@ -75,7 +75,7 @@
../../modules/hm/development/latex.nix ../../modules/hm/development/latex.nix
../../modules/hm/development/markdown.nix ../../modules/hm/development/markdown.nix
../../modules/hm/development/nix.nix ../../modules/hm/development/nix.nix
../../modules/hm/development/python.nix # ../../modules/hm/development/python.nix
# ../../modules/hm/development/rust.nix # ../../modules/hm/development/rust.nix
../../modules/hm/development/web.nix ../../modules/hm/development/web.nix

View file

@ -13,6 +13,7 @@ in
[ [
py py
pyPkgs.black pyPkgs.black
pkgs.ruff
] ]
++ lib.optionals config.programs.helix.enable ( ++ lib.optionals config.programs.helix.enable (
(builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; }) (builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; })
@ -22,5 +23,4 @@ in
(builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; }) (builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; })
++ pyPkgs.python-lsp-server.optional-dependencies.all ++ pyPkgs.python-lsp-server.optional-dependencies.all
); );
programs.neovim.withPython3 = true;
} }

View file

@ -11,6 +11,8 @@ in
vimAlias = true; vimAlias = true;
vimdiffAlias = true; vimdiffAlias = true;
withPython3 = true;
plugins = [ plugins = [
vp.plenary-nvim vp.plenary-nvim