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
Ilya Ilyinykh
e7ea07e42c
fix(go): fix eq to any-of
2024-02-01 19:21:09 +01:00
Ilya Ilyinykh
f2119df35c
feat(go): printf injections
...
https://pkg.go.dev/fmt#pkg-index
https://pkg.go.dev/fmt#Fscanf
https://pkg.go.dev/fmt#Appendf
https://pkg.go.dev/fmt#Sscanf
https://pkg.go.dev/testing#T.Skipf
https://pkg.go.dev/testing#F.Logf
The problem covered here:
https://github.com/nvim-treesitter/nvim-treesitter/issues/2917
2024-02-01 19:21:09 +01:00
Levi Frandsen
7e4e92432d
fix(svelte): correct formatting
2024-02-01 23:35:57 +07:00
Levi Frandsen
129f8b9742
fix(svelte): correct indents, add key block
...
resolves #6028
2024-02-01 23:35:57 +07:00
Amaan Qureshi
5fca7ae496
chore(bicep): update highlights
2024-02-01 04:10:16 -05:00
Amaan Qureshi
515b00598a
chore(qmljs): temporarily remove the ecma inherit
2024-01-31 22:31:50 -05:00
Amaan Qureshi
90327d9e73
chore(typescript,tsx): update parser and queries
2024-01-31 22:31:50 -05:00
Amaan Qureshi
6da205148f
chore(ecma,jsx): update parser and queries
2024-01-31 22:31:50 -05:00
Phạm Huy Hoàng
5f950cdcb8
fix(format): handle list with 300 nodes
2024-01-30 22:59:27 +07:00
Murtaza
d4dac523d2
feat(groovy)!: switch to more complete parser ( #5957 )
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-01-28 22:17:50 +01:00
Dennis van den Berg
2fb2100fed
feat(angular)!: switch to parser supporting v17 ( #5779 )
2024-01-27 12:17:25 +01:00
Riley Bruins
e0edcbb1d2
fix(make): highlight order-only prerequisite pipe
2024-01-26 19:07:19 -05:00
Amaan Qureshi
ed82d82b77
chore(Odin): update highlights
2024-01-26 12:52:24 -05:00
Dai López
ffb19d5dee
feat(gnuplot): added gnuplot parser and queries ( #5594 )
...
* feat(gnuplot): added gnuplot parser and queries
---------
Co-authored-by: Pham Huy Hoang <hoangtun0810@gmail.com>
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-01-26 13:30:43 +02:00
Amaan Qureshi
4bc1f9a4eb
feat(kconfig): add new operator
2024-01-26 03:15:41 -05:00
Amaan Qureshi
b7fd3d1db4
fix(lua): inject luadoc into comments immediately beginning with a |
2024-01-26 02:14:15 -05:00
Riley Bruins
0b697429c9
fix(git_config): highlight parent relative path
2024-01-26 00:58:05 -05:00
Jongwook Choi
cb79d24461
feat(python): allow comments before module docstring
...
Example:
```python
#!/usr/bin/env/python
# some comment before module docstring
# Copyright (c) LICENSE foo bar
"""module docstring."""
```
Python indeed recognizes it:
```
$ python -c 'import testfile; print(testfile.__doc__)'
module docstring.
```
2024-01-25 23:28:11 +01:00
Christian Clason
cc908cfcd7
fix(dart): replace slow indent with simpler strategy
...
Pattern for dedenting else blocks is painfully slow (~20% of total test
time), so replace with `@indent.auto` for the whole `if_statement` for
now.
2024-01-25 13:12:53 +01:00
Christian Clason
22025469b5
fix: bump phpdoc parser and query
2024-01-25 09:47:20 +01:00
Riley Bruins
314fe31dc7
fix(jsx): proper tag and builtin tag distinction
2024-01-25 09:11:48 +01:00
Amaan Qureshi
1d83fc08d4
fix: format disassembly
2024-01-25 10:00:01 +09:00
Colin Kennedy
4362b04a29
feat: add tree-sitter-disassembly
2024-01-24 19:25:40 -05:00
Miles Frain
2c1eb02e92
feat(bash) Highlight concatenated words as strings
2024-01-25 00:15:02 +01:00
Amaan Qureshi
10903b13d8
chore(luau): update highlights and parser
2024-01-24 18:14:03 -05:00
ObserverOfTime
1bee80469d
feat(vim): highlight keycodes
2024-01-24 20:19:55 +01:00
ObserverOfTime
8166080035
feat(yuck): add missing injections
...
And builtin variable highlights
2024-01-24 13:47:19 +01:00
ObserverOfTime
d23192fb17
fix(godot_resource): improve highlights
...
And add a comment injection
2024-01-24 13:47:19 +01:00