Commit graph

4732 commits

Author SHA1 Message Date
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
Riley Bruins
f5a839d1e8 fix(markdown): remove @none from code fences 2024-01-20 10:24:57 +01:00
GitHub
134a86f9ff Update parsers: bash 2024-01-20 10:21:53 +01:00
Riley Bruins
1eb22367b9 feat(html): comment injections 2024-01-20 12:54:01 +09:00
Zeb Nicholls
4a4dbe1cb1
fix(python): add support for typed (kw)args (PEP 484) (#5875) 2024-01-19 16:21:57 +00:00
GitHub
757b4f6afb Update parsers: printf, scala 2024-01-19 17:20:43 +01:00
ObserverOfTime
505a0e74cb fix(css): make the highlights more sensible 2024-01-19 16:58:37 +01:00
ObserverOfTime
fa38f4e6f9 fix(highlights): improve member/property distinction 2024-01-19 16:58:37 +01:00
ObserverOfTime
2f38c36294 fix(highlights): improve consistency 2024-01-19 16:58:37 +01:00
ObserverOfTime
4cd951d703 feat(git_config): add missing injections 2024-01-19 16:58:37 +01:00
Amaan Qureshi
8c629a9327 chore(rust): tweak injections, add json macro injection 2024-01-19 16:58:37 +01:00
Christian Clason
76b85583e1 docs: update CONTRIBUTING.md with formatting 2024-01-19 16:58:37 +01:00