Commit graph

5 commits

Author SHA1 Message Date
db10520755 Align queries with 'nvim-treesitter'
Some checks failed
ci/woodpecker/push/check Pipeline failed
I fear the upstream queries may be broken, somehow, as they don't work
with `--apply-all-captures` which should match the "last query wins"
matching behaviour of `nvim-treesitter`.

I also removed `locals.scm`, as `tree-sitter` and `nvim-treesitter` don't
agree on how to write it, and I don't really care about it.

It does mean that the highlights can't tell the difference between `int`
the built-in and `int` the type alias anymore, but that's a small
edge-case (and `nvim-treesitter` didn't support it anyway).
2025-03-13 22:02:59 +00:00
2917939176 Ignore comments and strings folding
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 10:15:25 +01:00
984e3c09d0 Add record type folds
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-13 13:05:50 +02:00
2e08482c67 Add object-oriented folds 2022-06-04 21:52:39 +02:00
2bd24cceb4 Add folds
Unfortunately it seems like this is not really testable with the
'tree-sitter' tooling.

If I want to check that this is working correctly, I should explore how
to make use of, e.g., neovim to automate testing.
2022-06-04 10:43:35 +02:00