Install treesitter grammars manually
the nix one sucks
This commit is contained in:
parent
abacd345af
commit
d7d9bfcc74
1 changed files with 22 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue