nvim: add plugins to pylsp

This commit is contained in:
Artemis Tosini 2023-12-03 22:56:08 +00:00
parent df7f5a45da
commit 2fffaa31a6
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 16 additions and 10 deletions

View file

@ -224,11 +224,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1701433070, "lastModified": 1701609479,
"narHash": "sha256-Gf9JStfENaUQ7YWFz3V7x/srIwr4nlnVteqaAxtwpgM=", "narHash": "sha256-mcEnMz7XB3K57ZX16VXoEkswljSNGXdMuUu5+g8a8R8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4a8545f5e737a6338814a4676dc8e18c7f43fc57", "rev": "e504e8d01f950776c3a3160ba38c5957a1b89e66",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -245,11 +245,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1701524494, "lastModified": 1701633543,
"narHash": "sha256-dXNCIUWm8Z74PijQ/THFb3HXQtRc2VA6LJvT+VrjZoY=", "narHash": "sha256-8jSNtmM49sTw+VxzPsYpvW56avj3z6ZYv0ME0RDJV5c=",
"owner": "jovian-experiments", "owner": "jovian-experiments",
"repo": "jovian-nixos", "repo": "jovian-nixos",
"rev": "365027ec7dc32018b20d3fbe3abf645406651e4c", "rev": "02a0e03c78d6c21384c8fb3deb09604bf408e245",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -331,11 +331,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1701250978, "lastModified": 1701598471,
"narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=", "narHash": "sha256-kHdJ2qc4qKeMTzUIHEcP41ah/dBIhCgvWgrjllt2G78=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "8772491ed75f150f02552c60694e1beff9f46013", "rev": "a89745edd5f657e2e5be5ed1bea86725ca78d92e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -72,7 +72,13 @@ in {
java-language-server.enable = cfg.plugins.lsp.enable; java-language-server.enable = cfg.plugins.lsp.enable;
jsonls.enable = cfg.plugins.lsp.enable; jsonls.enable = cfg.plugins.lsp.enable;
nil_ls.enable = cfg.plugins.lsp.enable; nil_ls.enable = cfg.plugins.lsp.enable;
pylsp.enable = cfg.plugins.lsp.enable; pylsp = {
enable = cfg.plugins.lsp.enable;
settings.plugins = {
pylsp_mypy.enabled = true;
black.enabled = true;
};
};
texlab.enable = cfg.plugins.lsp.enable; texlab.enable = cfg.plugins.lsp.enable;
tsserver.enable = cfg.plugins.lsp.enable; tsserver.enable = cfg.plugins.lsp.enable;
typst-lsp.enable = cfg.plugins.lsp.enable; typst-lsp.enable = cfg.plugins.lsp.enable;