feat: tree-sitter grammar for nushell

This commit is contained in:
Zhongheng Liu 2024-12-07 19:21:52 +02:00
commit 03a2702281
Signed by: steven
GPG key ID: 805A28B071DAD84B
2 changed files with 8 additions and 1 deletions

View file

@ -19,6 +19,8 @@
fsautocomplete.enable = true;
gopls.enable = true;
nushell.enable = true;
# For Nix
#nil_ls.enable = true;
nixd = {

View file

@ -1,10 +1,15 @@
{
{pkgs, ...}: {
plugins = {
treesitter = {
enable = true;
nixGrammars = true;
nixvimInjections = true; # enables language injection in nixvim
settings.indent.enable = true;
grammarPackages =
pkgs.vimPlugins.nvim-treesitter.passthru.allGrammars
++ [
pkgs.tree-sitter-grammars.tree-sitter-nu
];
};
treesitter-context.enable = true;
rainbow-delimiters.enable = true;