mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/lsp: add ast-grep language server
This commit is contained in:
parent
e2e7258267
commit
b12d81c69a
2 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,14 @@ with lib; let
|
||||||
package = pkgs.ansible-language-server;
|
package = pkgs.ansible-language-server;
|
||||||
cmd = cfg: ["${cfg.package}/bin/ansible-language-server" "--stdio"];
|
cmd = cfg: ["${cfg.package}/bin/ansible-language-server" "--stdio"];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "ast-grep";
|
||||||
|
description = ''
|
||||||
|
ast-grep(sg) is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
|
||||||
|
ast-grep LSP only works in projects that have `sgconfig.y[a]ml` in their root directories.
|
||||||
|
'';
|
||||||
|
serverName = "ast_grep";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "astro";
|
name = "astro";
|
||||||
description = "astrols for Astro";
|
description = "astrols for Astro";
|
||||||
|
|
|
@ -104,6 +104,7 @@
|
||||||
|
|
||||||
servers = {
|
servers = {
|
||||||
ansiblels.enable = true;
|
ansiblels.enable = true;
|
||||||
|
ast-grep.enable = true;
|
||||||
astro.enable = true;
|
astro.enable = true;
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
beancount.enable = true;
|
beancount.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue