mirror of
https://github.com/iofq/nvim-treesitter-main.git
synced 2026-01-23 09:25:17 -06:00
push built grammars to cachix
This commit is contained in:
parent
976859670c
commit
920cebbd36
2 changed files with 24 additions and 0 deletions
18
README.md
18
README.md
|
|
@ -69,6 +69,24 @@ overlays = [
|
|||
|
||||
If you need the unpatched `nvim-treesitter` plugin without any parsers/queries bundled, even after you overlay it, you can use the `nvim-treesitter-unwrapped` output of this overlay.
|
||||
|
||||
## Cache
|
||||
|
||||
Add our `cachix` repo to avoid needing to build grammars locally.
|
||||
|
||||
```nix
|
||||
nix = {
|
||||
settings = {
|
||||
substituters = [
|
||||
"https://nvim-treesitter-main.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nvim-treesitter-main.cachix.org-1:cbwE6blfW5+BkXXyeAXoVSu1gliqPLHo2m98E4hWfZQ="
|
||||
];
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
## Updating
|
||||
|
||||
To update the list of parsers in `generated.nix`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue