nixvimConfigs/fiesta/setups/treesitter: add default set of installed tree-sitter grammars

This commit is contained in:
Gabriel Arazas 2024-02-12 17:41:26 +08:00
parent 0eef06d0ec
commit d8597b8aab
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -17,9 +17,30 @@ in
# Install all of the grammars with Nix. We can easily replace it if we
# want to.
nixGrammars = true;
ensureInstalled = "all";
nixvimInjections = true;
# We'll just use the common languages out of the bat.
grammarPackages = with pkgs.tree-sitter-grammars; [
tree-sitter-bash
tree-sitter-c
tree-sitter-cpp
tree-sitter-css
tree-sitter-dockerfile
tree-sitter-go
tree-sitter-graphql
tree-sitter-html
tree-sitter-http
tree-sitter-javascript
tree-sitter-json
tree-sitter-json5
tree-sitter-nix
tree-sitter-rust
tree-sitter-toml
tree-sitter-tsx
tree-sitter-typescript
tree-sitter-yaml
];
# Enable all of its useful features.
folding = true;
indent = true;