Commit graph

18 commits

Author SHA1 Message Date
Phạm Huy Hoàng
77e298e4de chore: format queries 2024-01-21 23:55:02 +09:00
ObserverOfTime
fa38f4e6f9 fix(highlights): improve member/property distinction 2024-01-19 16:58:37 +01:00
Pham Huy Hoang
57a8acf0c4 chore: query formatting 2024-01-19 16:58:37 +01:00
Christian Clason
5b90ea2aba feat(locals)!: switch to upstream captures 2024-01-19 16:58:37 +01: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
ShellCode33
d9e75a1736 queries/*/highlights.scm : remove @spell for strings 2023-08-07 16:39:40 +01: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
Pham Huy Hoang
e42a077fdf Partially revert json highlight updates 2023-01-22 10:34:19 +02:00
ObserverOfTime
da6dc214dd highlights(json): conceal escaped quote 2023-01-21 23:06:10 +01:00
Lewis Russell
2a63ea5665 feat(spell): upstream spell queries from spellsitter 2022-09-06 12:44:19 +01:00
Stephan Seitz
a5728b36e4 highlights(json): highlight ":"
Fixes #2703
2022-04-10 12:51:09 +02:00
Stephan Seitz
cd4d802175 highlights: conceal " in JSON
Fixes #645
2022-03-26 18:36:49 +01:00
Santos Gallegos
34fdacc0e9 Json: update folds
Allow to fold mappings.
2021-02-13 21:29:37 +01:00
elianiva
9184cf3953 feat: added more indent queries 2021-01-14 14:43:04 +01:00
Brian Shu
39968ca258 added query enhancements
added toml

added alternation
2021-01-12 07:21:11 +01:00
elianiva
842077acf7 feat: added more fold queries 2021-01-04 11:51:23 +01:00
Steven Sojka
ac14bad7a8 fix(highlights): add array strings 2020-07-17 16:09:24 +02:00
Steven Sojka
7bc746f3f0 feat(lang): add json highlights 2020-06-15 15:24:05 -05:00