Christian Clason
efda19a54a
feat(tests): allow check-queries to take list of parsers
...
`./scripts/check-queries.lua foo bar baz`
2024-01-26 13:32:10 +01: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
GitHub
7b9973fca9
Update parsers: kconfig, php, php_only, wing
2024-01-26 08:40:38 +01: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
Leftas
ce4adf11cf
Fix find_usages
2024-01-25 19:24:18 +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
GitHub
fb91060f59
Update parsers: cpp, csv, disassembly, elixir, kconfig, luau, matlab, php, php_only, psv, tsv, wing
2024-01-25 10:00: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
ObserverOfTime
aa0c60ca5a
fix(highlights): clean up tag highlights
2024-01-24 13:47:19 +01:00
Riley Bruins
c62874656e
feat(latex): operator highlights for _ and ^
2024-01-24 13:25:42 +01:00
Riley Bruins
f72d9169f2
fix(latex): better environment precedence
2024-01-24 13:25:42 +01:00
Christian Clason
023a8ee9a2
ci: bump cache to v4
2024-01-24 10:30:08 +01:00
Amaan Qureshi
ae7ceaadad
chore(c_sharp): highlight tweaks
2024-01-24 01:45:42 -05:00
Amaan Qureshi
a938e98cb4
chore(luadoc): update parser & highlights
2024-01-24 01:30:11 -05:00
Amaan Qureshi
527eb602ff
chore(rust): update highlights
2024-01-24 01:29:48 -05:00
Amaan Qureshi
55562407b6
chore(python): update member lua pattern
2024-01-24 15:21:39 +09:00
Jędrzej Boczar
37c808b8ce
fix(devicetree): Adapt to upstream node changes ( #5961 )
2024-01-24 13:33:52 +09:00
Phạm Huy Hoàng
41128a7724
fix(rust): Follow upstream injections
...
tree-sitter-rust and helix both have `injection.include-children` for
the pattern in this PR. So it's best to changed to match the intended
results
2024-01-24 12:18:32 +09:00
Riley Bruins
177a775fd8
feat(git_config): shell command alias injections
2024-01-23 12:10:49 +02:00
GitHub
ab23464393
Update parsers: c, html, luadoc, php, php_only, rust, swift, wing
2024-01-23 17:32:52 +09:00
James Trew
cd4e090994
fix(locals): index matches with split capture names
2024-01-22 17:09:27 +01:00
GitHub
97997c928b
Update parsers: phpdoc, templ, wing, zathurarc
2024-01-22 16:13:48 +09:00
wzy
94bd4bcc5b
feat: add the zathurarc parser ( #5948 )
2024-01-21 19:42:30 +02:00
Phạm Huy Hoàng
e0420e73c9
fix(wgsl_bevy): Correct formatter mistake
...
Old version of `format-queries` incorrectly took away a space, creating
a wrong capture.
This is a fixup for that.
2024-01-22 00:49:31 +09:00
Phạm Huy Hoàng
77e298e4de
chore: format queries
2024-01-21 23:55:02 +09:00
Phạm Huy Hoàng
76ca66db38
fix(format-scripts): remove parens if possible
2024-01-21 23:55:02 +09:00
Sergey Slipchenko
051193acba
fix(jsdoc): add nospell to type and tag_name
2024-01-21 16:04:34 +02:00
Christian Clason
6806d7a783
docs(contributing): typos and examples
2024-01-21 12:04:42 +01:00
Veesh Goldman
5d5eba78a7
feat(perl): add more highlights
2024-01-21 10:53:32 +01:00
GitHub
4e0d1dd91f
Update parsers: gleam, perl, templ, wing
2024-01-21 16:21:14 +09:00
Christian Clason
5cc5627487
fix(comments)!: consolidate note captures
...
Distinguishing `hint` and `info` is too confusing; it's enough to have
`error`, `warning`, `todo`, and `note`.
2024-01-20 17:52:50 +01:00
tk-shirasaka
64b3d5e569
feat: add the php_only parser included in tree-sitter-php ( #5876 )
...
Add parser `php_only` for PHP files without HTML embedded.
Make queries for combined parser `php` inherit from `php_only` (no extensions needed).
---------
Co-authored-by: shirasaka <tk.shirasaka@gmail>
2024-01-20 12:34:49 +00:00
Christian Clason
a8fa3047b5
fix(highlights): use markup.raw.delimiter for fences
2024-01-20 13:04:29 +01:00
Phạm Huy Hoàng
aeed349c04
feat: folds for git config files
2024-01-20 19:46:45 +09:00
Riley Bruins
88261266de
fix(markdown_inline): prioritize link URI ( #5935 )
2024-01-20 19:00:37 +09:00
Amaan Qureshi
1ce6000a95
fix(rust): add const_item to folds
2024-01-20 18:50:31 +09:00
Pham Huy Hoang
c41d38b70e
fix(rust): Add back 1 indent for macro rules ( #5834 )
2024-01-20 18:50:31 +09:00
Jędrzej Boczar
6548bb64c1
feat(meson): add indents.scm
2024-01-20 10:48:56 +01:00
Phạm Huy Hoàng
d198a75e2c
Fixup format ( #5934 )
...
* fix(format): newline between top-level field defs
* fixup: newline between node and comment
* fixup: optimize pattern
2024-01-20 18:47:56 +09:00