mirror of
https://github.com/iofq/nvim-treesitter-main.git
synced 2026-01-23 09:25:17 -06:00
Compare commits
No commits in common. "cfc655da9d08a2cc07fa0f06614cf5c0ba81b9c9" and "d7acb39fda2dca5f861bc81fb065ff173fe100ae" have entirely different histories.
cfc655da9d
...
d7acb39fda
2 changed files with 1 additions and 26 deletions
25
.github/workflows/update.yaml
vendored
25
.github/workflows/update.yaml
vendored
|
|
@ -1,25 +0,0 @@
|
||||||
---
|
|
||||||
name: update treesitter grammars
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 3 * * 0"
|
|
||||||
jobs:
|
|
||||||
update:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
|
||||||
- uses: DeterminateSystems/flakehub-cache-action@main
|
|
||||||
- run: nix flake update
|
|
||||||
- run: nix develop --command "generate-parsers"
|
|
||||||
- uses: peter-evans/create-pull-request@v7
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.PAT }}
|
|
||||||
branch: ci/update
|
|
||||||
commit-message: "chore: update flake inputs + generated.nix"
|
|
||||||
title: "chore: update flake inputs + generated.nix"
|
|
||||||
body: "This PR is auto-generated."
|
|
||||||
|
|
@ -58,7 +58,7 @@ overlays = [
|
||||||
f: p: {
|
f: p: {
|
||||||
nvim-treesitter = p.nvim-treesitter.withAllGrammars; # or withPlugins...
|
nvim-treesitter = p.nvim-treesitter.withAllGrammars; # or withPlugins...
|
||||||
# also redefine nvim-treesitter-textobjects (any other plugins that depend on nvim-treesitter)
|
# also redefine nvim-treesitter-textobjects (any other plugins that depend on nvim-treesitter)
|
||||||
nvim-treesitter-textobjects = p.nvim-treesitter-textobjects.overrideAttrs {
|
nvim-treesitter-textobjects = p.nvim-treesitter-textobjects.override {
|
||||||
dependencies = [ f.nvim-treesitter ];
|
dependencies = [ f.nvim-treesitter ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue