plugins/lsp: Add statix (#1105)

* plugins/lsp: Add statix

* plugins/lsp-config: remove redundant attribute

Default is already defined by name

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* plugins/lsp-config: Simplify description

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
James Taranto 2024-02-16 20:50:43 +11:00 committed by GitHub
parent dcbe894bea
commit b784e73ad3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View file

@ -83,6 +83,7 @@ in {
"rust-analyzer" "rust-analyzer"
"solargraph" "solargraph"
"sourcekit" "sourcekit"
"statix"
"svelte" "svelte"
"tailwindcss" "tailwindcss"
"taplo" "taplo"

View file

@ -563,6 +563,10 @@ with lib; let
description = "sourcekit language server for Swift and C/C++/Objective-C"; description = "sourcekit language server for Swift and C/C++/Objective-C";
package = pkgs.sourcekit-lsp; package = pkgs.sourcekit-lsp;
} }
{
name = "statix";
description = "statix for Nix";
}
{ {
name = "svelte"; name = "svelte";
description = "svelte language server for Svelte"; description = "svelte language server for Svelte";

View file

@ -151,6 +151,7 @@
# As of 2023-12-13, sourcekit-lsp is broken # As of 2023-12-13, sourcekit-lsp is broken
# TODO: re-enable this test when fixed # TODO: re-enable this test when fixed
sourcekit.enable = false; sourcekit.enable = false;
statix.enable = true;
svelte.enable = true; svelte.enable = true;
tailwindcss.enable = true; tailwindcss.enable = true;
taplo.enable = true; taplo.enable = true;