Commit graph

11 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
Jaehwang Jung
9567185621 feat: @spell on comments 2023-09-12 17:34:58 +02:00
Damir Vandic
46dee161d3
fix: HEEx partial expression injections
Fixes #5296
2023-08-21 17:22:34 -04:00
dvic
11d79aa0f7 Fix HEEx directive injections 2023-08-15 11:13:33 +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
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
Clay
083aee0873 Support HEEx slots 2022-01-31 09:19:01 +01:00
Clay
9e90866bce Upgrade to HEEx parser 0.3.0 2022-01-24 08:29:42 +01:00
Clay
7e82ea4e7b Disable combined injections for HEEx 2021-08-18 14:07:59 +02:00
Clay
92fe58ca83 Add doctype highlights 2021-08-18 14:07:59 +02:00
Clay
57c2081e3f Add HEEx language support, add missing commentstrings 2021-08-18 14:07:59 +02:00