Commit graph

10 commits

Author SHA1 Message Date
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
Amaan Qureshi
12453e0e3d
Update Capnp (#4713)
* feat(capnp): update queries from upstream changes

* test: add tests for capnp

* fix indent queries

* ci: fix capnp indent tests

---------

Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-05-07 00:12:49 +09:00
George Harker
cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00
George Harker
b4fcc61175 split delimiter into open_delimiter and close_delimiter 2023-03-24 13:07:53 -04:00
Amaan Qureshi
454876fc6d feat(capnp): improve queries 2023-02-23 08:35:27 +02:00
Amaan Qureshi
8546502163 fix(capnp): update highlights 2023-01-28 13:33:21 +01:00
Amaan Qureshi
d9d8f5eba4 feat(capnp, thrift): add folds, bump lockfile 2023-01-23 22:26:16 +01:00
Amaan Qureshi
f826b7af13 refactor(capnp, thrift): improve grammar & queries to stable for the foreseeable future 2023-01-23 22:26:16 +01:00
Amaan Qureshi
6cf93175bf
feat: add capnp (#4203) 2023-01-23 10:00:32 +02:00