Commit graph

18 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
80aee02921 fix(gleam): update queries from upstream changes 2023-08-02 23:02:54 +02:00
Alex Manning
f84de0d6cd
fix(gleam): minor indent fixes 2023-06-04 10:39:20 +09:00
Amaan Qureshi
754b509f26
chore: update Gleam 2023-05-29 11:13:36 -04: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
Amaan Qureshi
c8c083e8ce fix(gleam): update highlights from upstream 2023-03-10 02:41:45 -05:00
Amaan Qureshi
5a87bc98da feat: add @comment.documentation where applicable 2023-03-05 17:15:32 -05:00
ObserverOfTime
276627849b highlights(gleam): use more specific groups 2022-11-26 13:17:51 +02:00
Christian Clason
4d75800991 fix(gleam): update parser and queries 2022-02-27 18:19:51 +01:00
Connor Lay (Clay)
00dce44780 Gleam highlight tests 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
b62750e328 Gleam indentation tests 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
4a5720332d Highlight Gleam bitstrings 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
49e1805e08 Add Gleam injections 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
da6132ebbe Add Gleam indents 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
ce7aaa6720 Add Gleam folds 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
eb4ccc65e9 Add Gleam locals 2022-02-15 19:01:02 +01:00
Connor Lay (Clay)
4e90279821 Add Gleam highlights 2022-02-15 19:01:02 +01:00