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