Commit graph

13 commits

Author SHA1 Message Date
Amaan Qureshi
85330918f0 perf: remove match where possible 2023-04-21 18:24:17 -04:00
Amaan Qureshi
47615a947a feat(perl): update queries from upstream changes 2023-03-27 13:49:44 -04:00
Stephan Seitz
d6a2ecb8b7 highlights: create subscoping for ternary operator
After https://github.com/nvim-treesitter/nvim-treesitter/issues/470,
we decided to use `@conditional` for ternary operator instead of
operator despite `@conditional` is documented for keywords only.
A sub-scoping can make it easier for people to highlight this operator
group differently.

Also unify the usage of `@conditional...` across languages.
2022-12-02 21:42:11 +01:00
ObserverOfTime
9018fb26cc injections: add more regex injections 2022-11-27 17:35:10 +01:00
ObserverOfTime
9b43ab819c highlights: use @preproc where appropriate 2022-10-15 08:49:01 -07:00
Lewis Russell
2a63ea5665 feat(spell): upstream spell queries from spellsitter 2022-09-06 12:44:19 +01:00
lfenzo
c784720917 Split func/method definition from calls in several programming language queries 2022-08-03 12:05:30 -07:00
Paul "LeoNerd" Evans
3533721282 Initial attempt at queries/perl/folds.scm 2022-02-22 14:13:48 +01:00
Paul "LeoNerd" Evans
09ea6ccd1d Add many perl keywords; highlight on those in preference to structural elements 2022-02-22 14:13:48 +01:00
Lucas Crownover
ec31c7efab "::" should be of type "operator"
swap constant for operator per treesitter recommendation
2021-09-21 01:08:32 +02:00
delphinus
2f37720c8a Separate special variables to catch up master 2021-09-21 01:08:32 +02:00
delphinus
0aaf937802 Use @string.regex to highlight regex's 2021-09-21 01:08:32 +02:00
delphinus
ae9a9d60f1 Add minimum implementation for highlights 2021-09-21 01:08:32 +02:00