Compare commits

...

5 commits

Author SHA1 Message Date
cfc655da9d auto-update flake inputs
Some checks are pending
CI / build (push) Waiting to run
2025-10-12 21:00:00 -05:00
2a90b27b60
Merge pull request #7 from iofq/dev
auto-update generated.nix
2025-10-13 01:55:34 +00:00
0526fefb04 auto-update generated.nix 2025-10-12 20:55:14 -05:00
0690686f68
Fix reference to overrideAttrs in README
Some checks failed
CI / build (push) Has been cancelled
2025-10-09 13:02:45 -05:00
f99c66a95b
Merge pull request #5 from iofq/dev
Some checks are pending
CI / build (push) Waiting to run
bundle parsers with lua source
2025-10-09 03:17:06 +00:00
2 changed files with 26 additions and 1 deletions

25
.github/workflows/update.yaml vendored Normal file
View file

@ -0,0 +1,25 @@
---
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."

View file

@ -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.override { nvim-treesitter-textobjects = p.nvim-treesitter-textobjects.overrideAttrs {
dependencies = [ f.nvim-treesitter ]; dependencies = [ f.nvim-treesitter ];
}; };
} }