nix-config/modules/home-manager/neovim/config/plugins/treesitter.nix
2025-07-17 21:47:19 +01:00

48 lines
723 B
Nix

{ pkgs, ... }:
{
plugins = {
treesitter = {
enable = true;
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
bash
comment
css
csv
dockerfile
gitattributes
gitignore
go
html
javascript
json
kdl
lua
luadoc
make
markdown
markdown_inline
nix
php
phpdoc
query
rst
scss
sql
terraform
twig
typescript
vim
vimdoc
vue
xml
yaml
];
settings.highlight.enable = true;
};
treesitter-textobjects.enable = true;
};
}