Skip to content

Commit

Permalink
plugins/lsp: Add statix (#1105)
Browse files Browse the repository at this point in the history
* plugins/lsp: Add statix

* plugins/lsp-config: remove redundant attribute

Default is already defined by name

Co-authored-by: Gaétan Lepage <[email protected]>

* plugins/lsp-config: Simplify description

Co-authored-by: Gaétan Lepage <[email protected]>

---------

Co-authored-by: Gaétan Lepage <[email protected]>
  • Loading branch information
tarantoj and GaetanLepage authored Feb 16, 2024
1 parent dcbe894 commit b784e73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/lsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ in {
"rust-analyzer"
"solargraph"
"sourcekit"
"statix"
"svelte"
"tailwindcss"
"taplo"
Expand Down
4 changes: 4 additions & 0 deletions plugins/lsp/language-servers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ with lib; let
description = "sourcekit language server for Swift and C/C++/Objective-C";
package = pkgs.sourcekit-lsp;
}
{
name = "statix";
description = "statix for Nix";
}
{
name = "svelte";
description = "svelte language server for Svelte";
Expand Down
1 change: 1 addition & 0 deletions tests/test-sources/plugins/lsp/_lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
# As of 2023-12-13, sourcekit-lsp is broken
# TODO: re-enable this test when fixed
sourcekit.enable = false;
statix.enable = true;
svelte.enable = true;
tailwindcss.enable = true;
taplo.enable = true;
Expand Down

0 comments on commit b784e73

Please sign in to comment.