Commit graph

5327 commits

Author SHA1 Message Date
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
nvim-treesitter-bot[bot]
d9aa422863 bot(lockfile): update angular, facility, idl, ocaml, ocaml_interface, templ 2024-07-16 07:50:46 +00:00
nvim-treesitter-bot[bot]
a6b2f4ecc8 bot(lockfile): update earthfile, python, swift 2024-07-15 07:08:37 +00:00
nvim-treesitter-bot[bot]
7f4ac67877 bot(lockfile): update erlang, groovy, typst 2024-07-13 09:07:25 +00:00
nvim-treesitter-bot[bot]
972aa544ef bot(lockfile): update http, idl, nim 2024-07-12 09:18:03 +00:00
nvim-treesitter-bot[bot]
465840f8c1 bot(lockfile): update idl, scfg 2024-07-11 08:07:11 +00:00
Christian Clason
4068e1c096 fix(scfg): switch to github mirror 2024-07-10 23:05:24 +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]
e9ec8b4658 bot(lockfile): update idl, swift 2024-07-10 07:39:34 +00:00
Christian Clason
a64ce9f989 feat(parser): register common short-hand as filetypes
Problem: Cannot use short-hands for @injection.language (e.g., `py` for
Python).

Solution: Register common short-hand as filetypes for some languages.

List taken from https://github.com/helix-editor/helix/blob/master/languages.toml

Also remove deprecation custom filetype->parser mapping.
2024-07-10 09:30:41 +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
nvim-treesitter-bot[bot]
55b30b908e bot(readme): update 2024-07-08 08:46:31 +00:00
Christian Clason
b149008257 fix(parsers): keep .git suffix for gitlab urls 2024-07-08 10:37:00 +02: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
nvim-treesitter-bot[bot]
adf6730dc5 bot(readme): update 2024-07-07 15:38:13 +00:00
Christian Clason
b32fb41284 fix(parsers): drop .git suffix from URLs 2024-07-07 17:29:49 +02: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
Abhinav Natarajan
2d917106d1 fix(indent): indent empty lines correctly
fix(indent):
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
Christian Clason
f197ce27d9 docs(readme): update outdated information 2024-07-05 09:30:49 +02: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
nvim-treesitter-bot[bot]
f2f828c5e9 bot(readme): update 2024-07-04 19:25:04 +02:00
Omar Valdez
5d1646893a
feat: editorconfig parser and queries 2024-07-04 20:23:44 +03:00
nvim-treesitter-bot[bot]
acc1708b96 bot(lockfile): update c_sharp, erlang 2024-07-04 06:47:34 +00:00
Riley Bruins
fa611f612a
fix(ecma): indent single-line if statements (#6846)
Fixes #5898.
2024-07-04 11:13:16 +09:00
Christian Clason
caf275382f fix(prolog): switch to github mirror 2024-07-03 13:31:26 +02:00
nvim-treesitter-bot[bot]
8a04f1aaa9 bot(lockfile): update idl, rbs, v 2024-07-03 10:11:53 +00: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
nvim-treesitter-bot[bot]
495c93b0d4 bot(lockfile): update git_rebase, gitcommit 2024-07-02 06:48:06 +00: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
nvim-treesitter-bot[bot]
4ee5fdd666 bot(readme): update 2024-07-01 12:09:54 +02:00
DragonBillow
020c5bc03f
fix(idl): fix author name (#6840) 2024-07-01 10:06:12 +00:00