Commit graph

2350 commits

Author SHA1 Message Date
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
wzy
e04ce8bcec
feat: add tmux parser 2024-02-19 14:26:32 -05:00
dundargoc
9bc21966f2 fix: typos 2024-02-19 17:45:54 +01:00
Amaan Qureshi
3a7b5a9fb4 feat(svelte)!: switch upstream parser 2024-02-19 08:11:17 -05:00
Bruno BELANYI
d10e856c11 feat(beancount): add comment injection 2024-02-19 08:18:15 +09:00
Amaan Qureshi
8e1df60b13 chore(puppet): update queries 2024-02-18 10:10:55 -05:00
Phạm Huy Hoàng
fef26b5eee
fix(format): fix nested grouping indentation (#6128) 2024-02-18 23:13:39 +09:00
Raafat Turki
13e4e75079 fix(typst): remove unneeded (blob) @markup.raw capture 2024-02-18 06:22:47 -05:00
Raafat Turki
4640135fdf fix(typst): nest @markup.raw.block capture
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-02-18 06:22:47 -05:00
Raafat Turki
3f2f770aad fix(typst): nest @variable.member highlight capture
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-02-18 06:22:47 -05:00
Raafat Turki
bdff1ab16b style(typst): group fold clauses 2024-02-18 06:22:47 -05:00
Raafat Turki
9772dd19a5 style(typst): merge @punctuation.bracket clauses 2024-02-18 06:22:47 -05:00
Raafat Turki
097d6ffd5c fix(typst): move comment query to the bottom 2024-02-18 06:22:47 -05:00
Raafat Turki
f85b205e83 style(typst): format queries 2024-02-18 06:22:47 -05:00
Raafat Turki
06d575ead4 fix(typst): prevent highlighting entire function calls 2024-02-18 06:22:47 -05:00
Raafat Turki
c76e7e2a28 fix(typst): correct highlight captures 2024-02-18 06:22:47 -05:00
Raafat Turki
b3847b9551 feat(typst): add comment injection 2024-02-18 06:22:47 -05:00
Raafat Turki
4cb1595f5b feat(typst): add #show to fold and indent queries 2024-02-18 06:22:47 -05:00
Raafat Turki
2ba58a424c feat(typst): add highlight queries 2024-02-18 06:22:47 -05:00
Raafat Turki
87bc770e60 style: format queries 2024-02-18 06:22:47 -05:00
Raafat Turki
c920b668f8 feat: add typst queries 2024-02-18 06:22:47 -05:00
Riley Bruins
5d9e12ccf4 fix(bash): unordered concatenation highlights 2024-02-18 06:19:20 -05:00
Riley Bruins
42acc3f6e7 refactor(ecma): delimiter highlight consolidation 2024-02-17 21:47:19 -05:00
Christian Clason
17d68ac13c feat(rust): add doc comments 2024-02-17 13:24:12 +01:00
Riley Bruins
eb1914bb10 feat(latex): more text func highlights 2024-02-17 10:58:27 +01:00
Riley Bruins
504fe10432 feat(ecma): highlight label identifiers 2024-02-16 14:04:48 -05:00
Stephan Seitz
d49a8f82f1 highlights(slang): add support for associatedtype 2024-02-15 19:10:49 -05:00
Christian Clason
1ea4a0afd5 fix(haskell): comment out unsafe utf8 node 2024-02-15 09:16:29 +00:00