feat(helix): use nixd and mypy for pylsp

This commit is contained in:
Giulio De Pasquale 2024-07-17 00:41:43 +01:00
parent f571e82c28
commit 8d80114fe8

View File

@ -17,6 +17,8 @@ let
python-lsp-ruff
pylsp-rope
rope
mypy
pylsp-mypy
]);
in
{
@ -26,7 +28,7 @@ in
helix
clang-tools
rust-analyzer
nil
nixd
texlab
nixpkgs-fmt
shellcheck
@ -74,10 +76,15 @@ in
[[language]]
name = "nix"
formatter = { command = "nixpkgs-fmt" }
language-servers = ["nixd"]
[language-server.nixd]
command = "nixd"
[language-server.pylsp.config.pylsp.plugins]
ruff = {enabled = true}
rope = {enabled = true}
mypy = {enabled = true}
[[language]]
name = "bash"