Commit graph

5040 commits

Author SHA1 Message Date
nvim-treesitter-bot[bot]
a2d6678bb2 bot(lockfile): update c, cuda, glsl, hlsl, javascript, python, rust, slang, tlaplus, typst, v, wing 2024-04-06 12:10:58 +02:00
David Guevara
e6cd337e30
fix(bash): fix printf injection queries (#6405) 2024-04-05 10:01:19 +02:00
Christian Clason
00debd1fb1 feat(lua): add exec_lua injection for nvim tests 2024-04-05 09:20:31 +02:00
nvim-treesitter-bot[bot]
8183bfa75e bot(lockfile): update c, cpp, latex, rust, wing 2024-04-05 09:00:32 +02:00
ganhaque
1b050206e4
fix(rust): indentation in multi-line tuple pattern (#6402)
* fix(rust): indentation in multi-line tuple pattern

* test(indent): rust - add test for tuple pattern indent
2024-04-04 15:12:31 +00:00
Omar Zeghouani
8f444c9fcb chore: update downstream fish highlights 2024-04-04 12:22:50 +02:00
ganhaque
5489e2150f fix(rust): indentation in multi-line for expression
Fix indentation when the for loop expression is on multiple lines

Example:

previous:

```rust
for (
    abc,
    def
) in thing.iter() {
        // ...
    }
```
new:

```rust
for (
    abc,
    def
) in thing.iter() {
    // ...
}
```
2024-04-04 09:50:27 +02:00
ganhaque
4d4b63692f fix(rust): indentation in tuple type patterns 2024-04-04 09:50:27 +02:00
nvim-treesitter-bot[bot]
bf80e253a8 bot(lockfile): update angular, gitcommit, nix, roc, rst, templ, tlaplus, v, wing 2024-04-04 09:49:26 +02:00
Stephan Seitz
cc0e29727a highlights(cuda): add support for __managed__
See https://github.com/tree-sitter-grammars/tree-sitter-cuda/pull/68
2024-04-03 11:11:01 +02:00
nvim-treesitter-bot[bot]
be4d6e858f bot(lockfile): update cuda, dtd, fish, glsl, hlsl, markdown, markdown_inline, slang, solidity, templ, tlaplus, wing, xml, yaml 2024-04-03 09:58:47 +02:00
nvim-treesitter-bot[bot]
54cf9180a3 bot(lockfile): update commonlisp, dart, glsl, godot_resource, roc, slang, v, wgsl_bevy, wing 2024-04-02 03:00:59 -04:00
Mitchell Hanberg
d31eb5442d feat(elixir): add stab_clause to folds 2024-04-01 16:49:49 -04:00
nvim-treesitter-bot[bot]
30492e7e1c bot(lockfile): update cuda, hlsl, latex, roc 2024-04-01 14:30:58 +00:00
Christian Clason
c51d503868 docs(readme): update roadmap link 2024-04-01 15:06:16 +02:00
Christian Clason
e4ba167af0 fix(latex)!: adjust to dropped parser.c 2024-04-01 14:52:14 +02:00
Jonas Hietala
25ed904c75
feat(djot): update queries (#6375)
- Adjust some highlights to fit context better
- Conceal inline content
- Add locals
- Add folds
2024-04-01 13:42:12 +02:00
Riley Bruins
0bfa0be5e4 fix(nix): highlight ellipsis as builtin parameter
This maintains consistency with a lot of other languages that also have
ellipses as parameter types, which we typically highlight as
`@variable.parameter.builtin`
2024-04-01 11:39:38 +02:00
Riley Bruins
3c996dc9fa feat(nix): misc. operator/punctuation highlights 2024-04-01 11:39:38 +02:00
nvim-treesitter-bot[bot]
ee2785ba6a bot(lockfile): update gdscript, rst, swift, v 2024-04-01 11:20:03 +02:00
nat-418
905fedfa28 feat(roc): add new parser tree-sitter-roc 2024-04-01 11:19:45 +02:00
nvim-treesitter-bot[bot]
1d1d92e94a bot(lockfile): update djot, snakemake, v 2024-03-31 14:32:41 +00:00
Seb Tomasini
ff79725428
fix(uninstall): use correct path separator on windows (#6369) 2024-03-31 11:37:53 +02:00
Oliver Thomas
6e0b031ebb feat(snakemake): add indentation queries 2024-03-30 12:46:43 +01:00
nvim-treesitter-bot[bot]
5127a84407 bot(lockfile): update beancount, liquid, ocaml, ocaml_interface, v, vento, wing 2024-03-30 11:16:35 +00:00
vsajko
c65413f2ac
fix(python): add staticmethod to builtin decorators 2024-03-30 01:30:13 +02:00
Hank Jackson
f84887230a
feat(liquid): add new parser tree-sitter-liquid (#6359)
(templating language)
2024-03-29 09:47:26 +01:00
nvim-treesitter-bot[bot]
29f176c257 bot(lockfile): update mlir, v, wing 2024-03-29 09:45:25 +01:00
nvim-treesitter-bot[bot]
23ba63028c bot(lockfile): update elixir, groovy, tmux, wing, yaml 2024-03-28 08:27:27 +01:00
Jaehwang Jung
07a404570f fix(c): don't highlight preproc_arg
`preproc_arg` is used for the body of `#define` macro definition, which
is not appropriate to highlight with `@function.macro`. In addition,
this region has an injection to C, so it will get highlights anyway.
2024-03-27 14:48:11 +01:00
Caleb White
aa8d8bc600 fix(php): capture break as keyword.repeat 2024-03-27 08:29:44 +01:00
Caleb White
ac1742436c chore(php): move keywords to top of queries 2024-03-27 08:29:44 +01:00
Caleb White
4ebf4ca4fa chore(php): trim down tests 2024-03-27 08:29:44 +01:00
Caleb White
7d938c1c72 fix(php): fix use_{as,instead_of}_clause highlights 2024-03-27 08:29:44 +01:00
Caleb White
1c9a94bd60 fix(php): add missing keyword highlights, fix static keyword 2024-03-27 08:29:44 +01:00
Caleb White
3400788705 feat(php): add highlight tests 2024-03-27 08:29:44 +01:00
nvim-treesitter-bot[bot]
68ba579eb6 bot(lockfile): update djot, hlsplaylist, html, meson, muttrc, query, svelte, tlaplus, tmux, v, vue, wing, zathurarc 2024-03-27 08:26:44 +01:00
Christian Degnbol Madsen
839dec615a feat(julia): broadcast pipe
Add support for capturing function call after a broadcasted pipe.
Currently works for unbroadcasted pipe.
There might be a better more complicated way to do this, since this will capture the broadcasting dot as part of the `@_pipe` capture.
2024-03-26 22:57:50 -04:00
Amaan Qureshi
3d473a4d5d fix(rust): indentation in tuple struct patterns 2024-03-26 22:34:53 -04:00
Riley Bruins
7f31793159
feat(markdown): yaml, toml metadata highlights (#6360) 2024-03-26 17:19:51 +02:00
nvim-treesitter-bot[bot]
1c3fb9eac2 bot(lockfile): update djot, dtd, hyprlang, perl, tlaplus, v, wing, xml 2024-03-26 08:26:08 +01:00
Wojciech Kulik
aa31b8d4cc fix(swift): highlights 2024-03-25 18:49:52 +01:00
nvim-treesitter-bot[bot]
20042941df bot(readme): update 2024-03-25 13:43:42 +00:00
Christian Clason
cf737c341d fix(smali): move to github mirror 2024-03-25 14:36:17 +01:00
datwaft
965f2e7239 style: format query 2024-03-25 10:57:51 +02:00
datwaft
7051a72755 feat(lua): add injections for vim.filetype.add 2024-03-25 10:57:51 +02:00
Joshua Haas
33c9db832b
fix(install): remove extra space during cd (#6355)
breaks xonsh
2024-03-25 08:40:35 +01:00
nvim-treesitter-bot[bot]
8d9736cf3e bot(lockfile): update arduino, djot, haskell, mlir, norg, v, wing 2024-03-25 08:38:49 +01:00
michaelPotter
aa6323e834 feat(bash): align substitutions with expansions
The bash manual[1] considers command and process substitutions to be
forms of expansions, so they should be highlighted the same as other
expansions. This is traditionally how they have been highlighted in the
past too.

[1] https://www.gnu.org/software/bash/manual/html_node/Shell-Expansions.html
2024-03-24 20:53:58 -04:00
nvim-treesitter-bot[bot]
5e4f959d59 bot(lockfile): update d, djot, hurl, java, markdown, markdown_inline, ocaml, ocaml_interface, swift, t32, v, vimdoc 2024-03-24 17:12:18 +09:00