Commit graph

2587 commits

Author SHA1 Message Date
qvalentin
dfd047d15f feat(gotmpl,helm): add fold queries 2024-07-22 12:33:22 +02:00
Tyler Miller
2883d0c03f
fix(lua): use @property for keys in table literals (#6956)
`@property` should be used for key-value pairs, while `@variable.member`
is used for field-access/index-expressions. Using different captures
also provides the benefit of allowing the two to be highlighted
differently.
2024-07-21 18:12:27 -07:00
Jonas Dujava
002537a3e3 feat(latex): simplify captures of font changing
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-07-22 00:07:52 +02:00
Oliver Thomas
733fa85db2 feat(snakemake): add wildcard flag 2024-07-21 11:15:51 +02:00
Jonáš Dujava
625e7e58d0
feat(latex): capture & as @punctuation.delimiter
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-07-21 10:53:59 +02:00
Tyler Miller
e8d74461da fix(gitignore): hl/capture non-special pattern chars
Capture regular, non-special characters (as `@string.special.path`)
allowing them to be highlighted.
2024-07-20 10:32:01 +02:00
Omar Valdez
b3c54c3188
feat(bash): readline injections (#6947)
* feat(bash): Readline injections

* Update queries/bash/injections.scm

Co-authored-by: Riley Bruins <ribru17@hotmail.com>

---------

Co-authored-by: Riley Bruins <ribru17@hotmail.com>
2024-07-19 21:53:27 -07:00
Jonas Dujava
4e387dd478 feat(latex): capture placeholder as variable
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-07-19 17:20:44 +02:00
Jonas Dujava
d9ea5035d4 feat(latex): add additional include highlights
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
2024-07-19 14:53:39 +02:00
Christian Clason
35fa869b53 feat(latex): injections for luacode, asy{def} environments 2024-07-18 17:46:01 +02:00
John-Philip Taylor
355af0c8ce
feat: add vhdl parser and queries 2024-07-18 08:46:12 +02:00
Riley Bruins
14dff71d38 feat(wit): add folds, missing highlights
References:

https://github.com/liamwh/tree-sitter-wit/blob/main/grammar.js
79f3646325/crates/extension_api/wit/since_v0.0.4/extension.wit
436ad58923/wit/mqtt.wit
a068bfe064/crates/wasi-nn/wit/wasi-nn.wit
2024-07-17 09:48:23 +02:00
Vladimir Levin
067415e971
feat: add nginx 2024-07-17 09:47:59 +02:00
Dennis van den Berg
0d5e1214a5 feat: add indentation queries for angular 2024-07-17 09:52:47 +09:00
Dennis van den Berg
276c343b6b feat!: update angular parser to new major
BREAKING CHANGE: This changes the capture groups for all Control Flow
statements.
2024-07-17 09:52:47 +09:00
Bryan Kenote
3076b9a98a
fix(facility): add highlight for event keyword 2024-07-16 19:03:58 +02:00
Riley Bruins
4836c1df65 fix(lua): indent functions before they are closed
Fixes #6786
2024-07-16 13:17:36 +02:00
Grace Petryk
f16a775830
feat(python): Improved python indentation (#6859)
* feat: improve python indentation

* use lua-match

* revert concatenated_string changes, handle function def hanging indents

* lint

* add delimiters to param query

* add test cases
2024-07-16 20:13:41 +09:00
Vincent Rischmann
a8c1f36d2c
feat(templ): add folds 2024-07-16 10:19:41 +02:00
zhaown
656ac24233
feat(goctl): add indents 2024-07-10 18:36:01 +02:00
DragonBillow
d5969c481e
feat(idl): update parser and queries (#6901)
Signed-off-by: DragonBillow <DragonBillow@outlook.com>
2024-07-10 14:05:13 +02:00
nvim-treesitter-bot[bot]
c1ad655b6a bot(lockfile): update c_sharp, liquid, mlir, tsx, typescript 2024-07-09 07:28:58 +00:00
再生花
53c79ddc28
fix(php): do not indent after class/enum decl 2024-07-09 10:12:29 +09:00
Wadii Hajji
ebdffa78bd
fix(ruby): highlight "&." as @punctuation.delimiter (#6887) 2024-07-08 06:58:24 -07:00
nvim-treesitter-bot[bot]
66ec1b3c4e bot(lockfile): update editorconfig, fortran, hare, idl, mlir, nim, php, php_only, python, squirrel, tlaplus 2024-07-08 08:51:38 +00:00
Karl Yngve Lervåg
64f6f0ab4e fix(hurl): multiline injection query needs injection.combined
fixes: #6882, https://github.com/pfeiferj/tree-sitter-hurl/issues/10
2024-07-07 18:42:25 +02:00
Liam Woodleigh-Hardinge
b7c0dbbe7d
fix(wit): highlight <> as brackets (#6879) 2024-07-07 08:57:06 -07:00
zhaown
f9aa4f060e
feat: add goctl parser and queries 2024-07-07 17:27:21 +02:00
Pete Matsyburka
ad43c7f19e
feat(ruby): highlights for special methods (#6735) 2024-07-08 00:24:57 +09:00
Riley Bruins
a8c082b4f5
feat(jsx): apply HTML-based highlight improvements (#6867) 2024-07-05 22:46:34 +09:00
Phạm Huy Hoàng
74dc34a7fa fix(go): narrow down } usage 2024-07-05 22:35:19 +09:00
Riley Bruins
55a13862cd feat(nix): indentation queries 2024-07-05 15:13:25 +02:00
nvim-treesitter-bot[bot]
ee29084ce6 bot(lockfile): update editorconfig, javascript, wit 2024-07-05 07:33:32 +00:00
Riley Bruins
f7c05e3e05
fix(html): correct the link label highlight (#6866)
Unlike the `href` attribute, the inner text of the `a` tag is the label
of the link, not the actual URL.
2024-07-05 11:09:26 +09:00
Riley Bruins
f0dbe18000 feat(jsdoc): add missing highlights 2024-07-04 19:54:22 -04:00
Omar Valdez
5d1646893a
feat: editorconfig parser and queries 2024-07-04 20:23:44 +03:00
Riley Bruins
fa611f612a
fix(ecma): indent single-line if statements (#6846)
Fixes #5898.
2024-07-04 11:13:16 +09:00
DragonBillow
fe5c581ed5
feat(idl): update idl parser and queries (#6854) 2024-07-03 12:00:51 +02:00
Christian Clason
7adae51ff3 fix(turtle): update parser and queries
also update changed user names
2024-07-03 10:20:49 +02:00
Kai Moschcau
f1a4a75005
feat(gotmpl,helm): raise highlight priorities (#6712) 2024-07-03 16:59:18 +09:00
Derek Gustafson
0209151fd2
feat(elm): add folds queries 2024-07-03 09:49:13 +02:00
Stefano Volpe
6cd4ce6cab
feat: add prolog and problog parser and queries (#6810) 2024-07-02 16:57:30 +02:00
Omar Valdez
e0d6c7643d feat(diff): Highlight comments 2024-07-02 09:08:51 +02:00
DragonBillow
ffd7725102 feat(idl): add indents
Signed-off-by: DragonBillow <DragonBillow@outlook.com>
2024-07-01 16:25:07 +02:00
Bruno BELANYI
699766a0b9
feat(bp): update parser and queries (#6843) 2024-07-01 14:19:08 +00:00
DragonBillow
1e546c0f5e feat(idl): update highlight
Signed-off-by: DragonBillow <DragonBillow@outlook.com>
2024-07-01 11:37:38 +02:00
Vladimir Levin
acea74c514
feat: robots.txt support 2024-06-30 11:12:36 +03:00
Riley Bruins
f0e3b5c5fe fix(r): resolve highlight regressions 2024-06-29 09:26:53 +02:00
Phạm Huy Hoàng
3e535e826d fix(r): adapt indent queries
- Anchor parameter query. There's no need for multiple indent.align
  captures
- Narrow down binary_operator indent.begin. From tree-sitter-r corpus
  and highlight tests, this seems to be appropriate.
2024-06-28 18:13:12 +02:00
ObserverOfTime
ec6307e5b0 refactor(python): merge docstring queries 2024-06-28 10:06:52 +02:00