mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
nixvimConfigs/fiesta/setups/treesitter: add default set of installed tree-sitter grammars
This commit is contained in:
parent
0eef06d0ec
commit
d8597b8aab
@ -17,9 +17,30 @@ in
|
|||||||
# Install all of the grammars with Nix. We can easily replace it if we
|
# Install all of the grammars with Nix. We can easily replace it if we
|
||||||
# want to.
|
# want to.
|
||||||
nixGrammars = true;
|
nixGrammars = true;
|
||||||
ensureInstalled = "all";
|
|
||||||
nixvimInjections = true;
|
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.
|
# Enable all of its useful features.
|
||||||
folding = true;
|
folding = true;
|
||||||
indent = true;
|
indent = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user