Commit graph

2340 commits

Author SHA1 Message Date
再生花
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
Wu Zhenyu
e4a1cc6e8e feat: add the muttrc parser 2024-02-15 09:39:10 +01:00
gi1242
69e4b99f13
fix(latex): update bibstyle queries (#6102)
Match grammar.js from commit 0d598bb95ffe3ba63403979d0d32158210974ca5 in
latex-lsp/tree-sitter-latex

Co-authored-by: gi1242 <gi1242+nvim-treesitter@gmail.com>
2024-02-15 07:59:28 +00:00
Riley Bruins
d96bf9d522
fix(python): better try-except indentation (#6097) 2024-02-15 00:39:59 +07:00
Wu Zhenyu
5a5cabd712 feat: add the hlsplaylist parser 2024-02-14 16:06:13 +01:00
Gartox
7e9139db68 feat(lalrpop): highlight annotation macros
Lalrpop support putting annotation like `#[precedence(level = "1")]`.
This commit aims to highlight `precedence` with the `function.macro`
highlight group, like rust does with its proc macros.
2024-02-13 18:13:53 -05:00
Phạm Huy Hoàng
1c72e797ba fix(yuck): comment out start-of-line parens 2024-02-13 17:58:36 +01:00
Jaehwang Jung
2b6020247d fix(cpp): add back comment injection 2024-02-13 13:16:00 +01:00
Sean Boult
10e8dffb79
feat(jsx): spell check text nodes (#6083) 2024-02-12 06:51:12 +07:00
Amaan Qureshi
05962ae14a chore(bash): update parser and highlights 2024-02-10 06:58:38 -05:00
Ananda Umamil
baf4581159 feat(ecma): highlight decorator and destructuring 2024-02-10 10:02:27 +01:00