Commit graph

6 commits

Author SHA1 Message Date
ObserverOfTime
9e5a34c2b9 feat(gitattributes): add locals queries 2023-11-18 19:03:19 -05:00
Pham Huy Hoang
107e61afb7 refactor: Remove all (ERROR) @error captures
As discussed in PR#5421, capturing `@error` is inconsistent, requiring
deep nesting (or priority) in order to correctly have red backgrounds to
it.

Some queries has this capture, some don't. For consistency purposes,
removing all of them is more preferable.

For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)`
to your custom queries.
2023-10-25 18:18:50 +02:00
Pham Huy Hoang
78b54eb7f6 chore(injections)!: update injection syntax to 0.9
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter

- update health check
- update doc
2023-08-12 17:34:15 +02:00
ObserverOfTime
54ca5ae2f0 highlights(gitattributes): fix captures 2022-11-26 13:17:51 +02:00
ObserverOfTime
0bfeb5484e test(gitattributes): add tests for highlights 2022-10-15 08:44:41 -07:00
ObserverOfTime
721251dbfc feat: add tree-sitter-gitattributes 2022-09-09 09:46:54 +02:00