feat: tree-sitter grammar for nushell
This commit is contained in:
parent
08def86724
commit
03a2702281
2 changed files with 8 additions and 1 deletions
|
@ -19,6 +19,8 @@
|
|||
fsautocomplete.enable = true;
|
||||
gopls.enable = true;
|
||||
|
||||
nushell.enable = true;
|
||||
|
||||
# For Nix
|
||||
#nil_ls.enable = true;
|
||||
nixd = {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue