Install treesitter grammars manually

the nix one sucks
This commit is contained in:
GHOSCHT 2023-12-30 12:56:02 +01:00
parent abacd345af
commit d7d9bfcc74
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -92,7 +92,28 @@ in {
friendly-snippets
{
plugin = nvim-treesitter.withAllGrammars;
plugin = nvim-treesitter.withPlugins (p: [
p.vim
p.bash
p.lua
p.python
p.json
p.java
p.rust
p.cpp
p.css
p.csv
p.dockerfile
p.diff
p.gitignore
p.git_config
p.gitattributes
p.make
p.yaml
p.toml
p.typescript
p.xml
]);
config = builtins.readFile ./plugin/treesitter.lua;
type = "lua";
}