Commit graph

2320 commits

Author SHA1 Message Date
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
Riley Bruins
841dde702c fix(readline): more descriptive version number hl 2024-02-09 18:25:33 -05:00
Riley Bruins
8ec79c4785 fix(readline): proper indents while editing 2024-02-09 18:25:33 -05:00
Christian Clason
b8840a426e feat(tcl): add parser and queries 2024-02-09 18:29:39 +01:00
Charles
95036477c1
feat: add sourcepawn parser and queries (#5865) 2024-02-10 00:40:01 +09:00
Tobias Hunger
0f3183dda8
feat(slint)!: change to the official parser (#6027)
This change replaces the slint parser written and maintained by @jrmoulton
with the official one hosted in the slint-ui organization on github.

A huge thank you to @jrmoulton for all his work on the tree-sitter
parser!

---------

Co-authored-by: jrmoulton <jaredmoulton3@gmail.com>
2024-02-09 13:46:57 +00:00
Christian Clason
8812089919 fix(unison): adapt to breaking parser change 2024-02-09 11:10:00 +01:00
Luckas
bc07e58f42
feat: add hyprlang parser & queries (#5852)
Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2024-02-09 10:19:46 +01:00
wzy
cab95b2f96
feat: add tree-sitter-asm parser (#5946) 2024-02-09 09:50:46 +01:00
Amaan Qureshi
76700e147b feat(d)!: switch upstream parser to gdamore/tree-sitter-d 2024-02-08 18:59:04 -05:00
Riley Bruins
cbf0dfd92f
feat(readline): add parser tree-sitter-readline (#6058) 2024-02-08 21:03:21 +02:00
Karl Hiner
b444afa1da
feat(faust): add tree-sitter-faust (#6043) 2024-02-08 10:54:33 +01:00
Anthony Shi
5973b617a9
fix(kotlin): remove slow highlight and local pattern (#5954)
This is a parser bug that needs to be fixed; temporary workaround to
remove the ~0.5s delay on opening highlight and locals queries.
2024-02-06 13:51:50 +01:00
Dennis van den Berg
3722d5d772
fix(angular): nullish coalescing operator in Angular templates (#6052) 2024-02-06 10:30:01 +01:00
Riley Bruins
127cf25737 feat(latex): pre-compiled header highlights, tests
Also moves comment highlights to the very end to make them more
future-proof.
2024-02-06 10:29:09 +01:00
Riley Bruins
8d6192baa9 fix(latex): give comments higher precedence
This commit also moves things around to give text better precedence in
the case of `textit` and `textbf`.
2024-02-06 10:29:09 +01:00
Calum Smith
0d14299a9d highlight(jsx,tsx): character references (a.k.a. entities) 2024-02-05 18:37:12 +01:00
Ilia Ilinykh
1cda98132a
feat(java): inject printf in String.formatted (#6045)
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html#formatted(java.lang.Object...)
2024-02-02 20:00:03 +01:00
Michael Strobel
a536ecad57 fix(php): add missing spaceship operator <=> 2024-02-02 19:59:00 +02:00
Amaan Qureshi
8b99311ca1 chore(bicep): update queries and add scanner 2024-02-02 08:24:59 +01:00
Amaan Qureshi
d2b4563230 chore(kconfig): update highlights 2024-02-02 00:39:01 -05:00