NTBBloodbath
c4e0f290d7
feat(http): switch to new parser version
...
fix(http): use `@variable.member` for fields
fix(http): keep the comment injection
fix(http): keep `method` capture as `@function.method`
docs(README.md): update HTTP parser maintainers list
feat(http): remove redundant captures
cleanup(http): remove unneedeed highlighting captures
2024-03-18 00:46:59 +02:00
Caleb White
143ca5ce17
feat(php): improve indents in return statements & chained methods
2024-03-16 20:50:13 -04:00
Luckas
df3e6a24ac
feat(hyprlang): add bash injections
2024-03-16 20:47:03 -04:00
Riley Bruins
3c7a0e9d94
feat(rust): move pub to @keyword.modifier
...
Also consolidates most of the captures
2024-03-16 20:45:29 -04:00
ObserverOfTime
5b8458c5aa
fix(htmldjango): update highlights
2024-03-16 14:40:59 +00:00
Jaehwang Jung
f5062ebc8d
feat(verilog): @keyword.modifier for lifetime
2024-03-16 20:51:16 +08:00
Jaehwang Jung
8f5513a1f2
feat(rust,lalrpop): @attribute for lifetimes
...
`@keyword` is only for language-defined keywords.
2024-03-16 20:51:16 +08:00
Jaehwang Jung
5d75359a9a
feat(highlights)!: remove non-keyword @type.qualifier
...
* blueprint: Don't specially highlight template_name_qualifier. This is
similar to inheritance base class. Other languages don't highlight
them specially.
* eds: `@type` for all `*Type` keys
* chatito: `@attribute` for variation
2024-03-16 20:51:16 +08:00
Jaehwang Jung
dccf31f9b1
feat(highlights)!: @keyword.storage → @keyword.modifier
2024-03-16 20:51:16 +08:00
Jaehwang Jung
998b230a77
feat(highlights)!: keyword @type.qualifier → @keyword.modifier
2024-03-16 20:51:16 +08:00
Luckas
904f373fc4
feat(dot): add indents queries
...
* feat(dot): add indents queries
* add: tests
* fix: test
2024-03-15 09:18:33 +09:00
Christian Clason
3ae78f376c
fix(vimdoc): adapt to breaking Neovim change
...
Problem:
cb46f6e467 (diff-edf997b0c2d42d31828800641ac1f5a46487fe24a0d46ccf70bcd58a14f3868f)
introduced a regression on how `#set!` behaves with several matches in a
single pattern, breaking conceals in, e.g., taglinks.
Solution: Separate taglink etc. patterns into concealed marker and
contents. Also add URL support for concealed markdown links.
2024-03-14 18:54:22 +08:00
Mark Skelton
35c1a32b26
* feat(ecma): styled injection for css and keyframes
2024-03-13 23:02:55 +09:00
ObserverOfTime
6576041660
feat(vimdoc): highlight modeline
2024-03-13 11:09:54 +08:00
再生花
e73c775aa9
feat(swift): add init/deinit indents
...
Signed-off-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
2024-03-13 11:09:42 +08:00
Tobias S
9d39f00a95
fix(php): highlight property access using nullsafe operator, move @property to @variable.member
2024-03-11 18:07:15 -04:00
Chad Condon
b781fd0582
fix(c): improve doxygen comment matching ( #6278 )
2024-03-11 19:02:53 +02:00
Christian Clason
b4553bef58
fix(nickel): update highlights to grammar change
2024-03-08 12:38:27 +01:00
Kai Moschcau
9775d5d7c7
fix(luadoc): @nospell identifiers and keywords
2024-03-07 12:52:02 +02:00
Riley Bruins
a0f18ee98c
feat(markdown): highlight link label delimiter
2024-03-07 12:50:12 +02:00
Dennis van den Berg
212b7a504c
fix(angular): typo in capture name ( #6249 )
2024-03-04 13:05:53 +00:00
Charles
e479db627c
fix(sourcepawn) update queries to grammar change ( #6247 )
2024-03-04 09:33:25 +00:00
Phạm Huy Hoàng
63ca90eaa3
feat(swift): add will/didSet indent
...
Fixes CI error in PR.6237
2024-03-04 00:05:45 +09:00
Christian Clason
3d08cdd741
fix(comment): remove duplicate 'FIXME'
2024-03-03 16:03:26 +01:00
qvalentin
9e1f3c3369
feat: add gotemplate and helm parser support
2024-03-03 13:09:20 +01:00
Omar Valdez
00bd760a0e
feat(csharp): highlight excape sequences ( #6229 )
2024-03-03 11:24:46 +01:00
Christian Clason
99ddf57353
feat(highlights)!: enforce documented captures ( #6232 )
...
Problem: Allowing undocumented "secret" (sub)captures makes it harder
to write comprehensive colorschemes and catch inconsistent captures.
Solution: Only allow captures listed in CONTRIBUTING.md. Add useful
(cross-language) subcaptures and drop language-specific or too niche
ones.
Follow-up: Adding further `*.builtin` captures and changing queries to
use them.
Language-specific subcaptures should instead be added in user config or
a custom language plugin.
2024-03-03 11:00:11 +01:00
Christian Clason
ada920f2a4
feat(vue): switch to new parser ( #6233 )
...
* feat(vue): switch to new parser
---------
Co-authored-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
2024-03-02 16:54:16 +01:00
Riley Bruins
8e349b1ea9
feat(gitcommit): highlight overflow in commit body
2024-03-01 08:30:00 +01:00
Phạm Huy Hoàng
62b0bb4f24
feat(format): extra newline after modeline
2024-02-29 23:05:30 +09:00
GodOfAvacyn
06b5fda797
feat: add support for gdshader ( #6153 )
...
Godot shading language
---------
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-02-29 11:30:33 +01:00
Christian Clason
c5b19f66e0
fix(typst): adapt queries to breaking parser update
2024-02-28 20:01:01 +01:00
Phạm Huy Hoàng
15d521c923
fix(purescript): comment out utf-8 char
2024-02-28 15:55:15 +01:00
Riley Bruins
18aa5ae3fd
feat(c): local label highlights
2024-02-26 07:41:41 -05:00
Amaan Qureshi
6f1f407d71
feat(rust): add more regex injection queries
2024-02-25 09:05:08 -05:00
Preston Knopp
9896ef5f70
feat(gdscript): update parsers and queries. ( #6176 )
...
* feat(gdscript): add highlight for (pattern_guard "when")
* feat(gdscript): update (type) highlights and support typed array
* feat(gdscript): add highlight to attribute subscript ident
* feat(gdscript): only apply @ constructor to init ident
* feat(gdscript): replace greedy (parameters) match with independent match
* feat(gdscript): add (typed_default_parameter) highlight
* feat(gdscript): add (constructor_definition) indent
* feat(gdscript): update big wall of built-in identifiers
2024-02-25 02:21:19 +09:00
ObserverOfTime
e105b5e67d
feat(properties): update parser & queries
2024-02-23 17:37:22 +02:00
再生花
31641d72a4
feat(format-scripts): linewrap predicates
...
"format-ignore".kick()
2024-02-23 10:42:01 +02:00
Karl Hiner
a29058fe8b
feat(faust): better highlighting of function calls, built-in variables, and member access
2024-02-23 15:41:28 +09:00
巢鹏
a8d2b54e28
feat: add fidl parser
2024-02-23 11:57:07 +09:00
JD Rudie
19bf991be2
feat(c-sharp): add enum member declaration highlight query
2024-02-22 16:53:11 +01:00
ObserverOfTime
ebf0532d42
feat(chatito): update queries
2024-02-21 23:25:11 +02:00
gbprod
ca46eb3ac9
fix(highlights): highlight @type in phpdoc
...
Currently, phpdoc types that are not union type are not highlighted, this change
allows to apply `@type` group to all types.
2024-02-21 15:47:01 +01:00
Alexei Mozaidze
7d1bab6546
feat(fennel)!: switch to maintained parser ( #6132 )
...
Change the Fennel parser to a simpler and more consistent one, along with updating all the queries.
2024-02-21 13:44:01 +00:00
Wu Zhenyu
d1484a1507
feat: improve queries/muttrc/highlights.scm
2024-02-21 10:51:20 +01:00
Riley Bruins
455f6586ba
feat(query): indents that reflect the formatter ( #6154 )
...
* feat(query): indents that reflect the formatter
Indentation queries that reflect the query formatter. Only applicable if `lispoptions=expr:1`
2024-02-21 18:47:09 +09:00
Stephan Seitz
01cdcfb216
highlights(slang): add support for where
2024-02-21 07:59:09 +01:00
LamprosPitsillos
6bd108a6f1
feat(typst): add raw block injections
...
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2024-02-20 08:46:58 -05:00
Riley Bruins
7eeb26e69c
feat(ecma): folding for function arguments
2024-02-20 07:47:26 -05:00
Christian Clason
ea3ddedd83
fix(meson): adapt to renamed node
2024-02-20 10:10:11 +01:00