nvim-treesitter-bot[bot]
894cb3cebb
bot(lockfile): update nu, t32, typespec
2024-12-07 09:14:04 +00:00
nvim-treesitter-bot[bot]
53e20aa728
bot(readme): update
2024-12-06 17:51:03 +00:00
Alexandr Martirosyan
be17791f86
feat(circom): add parser and queries
2024-12-06 18:41:37 +01:00
nvim-treesitter-bot[bot]
c56507f6a1
bot(lockfile): update c_sharp, powershell, t32
2024-12-06 06:55:44 +00:00
Fredrik Ekre
acada1a685
fix(julia): fix incorrect documentation query
...
This patch fixes an inprecise `@string.documentation` query introduced
in https://github.com/nvim-treesitter/nvim-treesitter/pull/7391 . The
pattern `(string_literal) . (call_expression)` matches also for example
`"hello"` in `foo("hello", bar())`. Similarly to
https://github.com/nvim-treesitter/nvim-treesitter/pull/7436 , this patch
limits the pattern to top-level statements.
2024-12-05 15:04:15 +01:00
nvim-treesitter-bot[bot]
046b8e9361
bot(lockfile): update python, starlark, teal
2024-12-05 06:56:11 +00:00
Yorick Peterse
0aaf146590
feat(inko): highlight the "copy" keyword
...
This keyword is added as part of the upcoming 0.18.0 release.
2024-12-04 15:39:04 +01:00
Fredrik Ekre
b0fc560c75
fix(julia): fix incorrect documentation query
...
This patch fixes an inprecise `@string.documentation` query introduced
in https://github.com/nvim-treesitter/nvim-treesitter/pull/7391 .
Specifically, the pattern `(string_literal) . (identifier)` matches also
for example `"hello"` in
```julia
foo("hello", world)
@info "hello" world
```
To fix this, this patch limits the pattern to top-level statements.
2024-12-04 11:59:55 +01:00
nvim-treesitter-bot[bot]
3edea87978
bot(lockfile): update dtd, inko, powershell, xml, yaml
2024-12-04 06:55:09 +00:00
nvim-treesitter-bot[bot]
b31188671d
bot(lockfile): update apex, sflog, soql, sosl, superhtml, swift, t32, toml, vhdl
2024-12-03 06:58:27 +00:00
nvim-treesitter-bot[bot]
69170c9314
bot(lockfile): update apex, editorconfig, elixir, ledger, markdown, markdown_inline, sflog, soql, sosl, styled, swift, xresources
2024-12-02 07:45:02 +00:00
Riley Bruins
2444c8052f
feat(gomod): punctuation, toolchain highlights
...
Reference file:
```gomod
module github.com/klauspost/reedsolomon
go 1.21
require github.com/klauspost/cpuid/v2 v2.2.8
require golang.org/x/sys v0.24.0 // indirect
retract (
v1.12.2 // https://github.com/klauspost/reedsolomon/pull/283
v1.11.6 // https://github.com/klauspost/reedsolomon/issues/240
[v1.11.3, v1.11.5] // https://github.com/klauspost/reedsolomon/pull/238
v1.11.2 // https://github.com/klauspost/reedsolomon/pull/229
)
```
2024-12-02 08:38:30 +01:00
nvim-treesitter-bot[bot]
70d44dad70
bot(lockfile): update editorconfig, swift, t32
2024-12-01 06:56:14 +00:00
Riley Bruins
454354e599
fix(nu): highlight all occurrences of "use"
2024-11-30 09:29:45 +01:00
nvim-treesitter-bot[bot]
f6f159a293
bot(lockfile): update fortran, mlir, nix, nu, typespec
2024-11-30 06:54:48 +00:00
flippette
427a90ae70
feat(rust): highlight "gen" and "raw" keywords ( #7419 )
2024-11-29 19:38:12 +01:00
Fredrik Ekre
60b4c15e7c
feat(julia): highlight interpolation operator
...
This patch adds `$` to the `@punctuation.special` capture group within
`(string_interpolation)` (e.g. `"hello $name"`) and
`(interpolation_expression)` (e.g. `:(hello $name)`) nodes.
2024-11-29 08:12:56 +01:00
nvim-treesitter-bot[bot]
a0a1d7bb50
bot(lockfile): update nu, sql, typespec
2024-11-29 06:55:21 +00:00
Yorick Peterse
4d035005d3
feat(inko): highlight "inline" keyword
...
The parser added support for the "inline" keyword in a few places. This
ensures a highlight is present for the keyword.
2024-11-28 17:52:02 +01:00
AtomToast
02f8777252
feat(zig): add locals queries ( #7401 )
2024-11-28 08:28:51 +01:00
nvim-treesitter-bot[bot]
afa0d2a9d0
bot(lockfile): update solidity, sql
2024-11-28 06:57:28 +00:00
JoranHonig
8d4fdc5e47
fix(solidity): remove spurious operators in highlight queries ( #7412 )
2024-11-27 11:04:28 +01:00
nvim-treesitter-bot[bot]
cc292c869f
bot(lockfile): update t32
2024-11-27 06:54:45 +00:00
nvim-treesitter-bot[bot]
28591731d8
bot(lockfile): update gleam, scala
2024-11-26 06:55:02 +00:00
nvim-treesitter-bot[bot]
d14bc4bd15
bot(lockfile): update c_sharp, editorconfig, go, nu, rust, templ, xresources
2024-11-25 06:56:02 +00:00
zhangwwpeng
7930b5f983
fix(verilog): update queries ( #7400 )
...
1. Add "string" as a keyword
2. Fix issue where non-type.builtin fields are captured when using (data_type) as type.builtin
3. Add generate label
2024-11-24 10:44:23 +01:00
nvim-treesitter-bot[bot]
b3752a311a
bot(lockfile): update c_sharp, chatito, gpg, hoon, nasm, pem, poe_filter
2024-11-24 06:52:20 +00:00
Christian Clason
efb2e9c607
docs(parser): add maintainer for julia
2024-11-23 11:24:39 +01:00
Fredrik Ekre
3f377c0739
fix(julia): treat :: as operator in type contexts
...
This patch captures `::` as `@operator` within
`(unary_typed_expression)` and `(typed_expression)`. These should be the
only two cases that the parser can emit when encountering `::` in the
source, but as a fallback it is still captured as `@punctuation` in all
other cases.
The reasons for capturing `::` as an operator are i) the close relation
with the other type-operators `<:` and `>:` and ii) the fact that it is
treated as an operator by the Julia parser, just like `<:` and `>:`.
2024-11-23 11:10:05 +01:00
net-solution
94853ae932
fix(astro): highlight self-closing component tags
2024-11-23 10:43:46 +01:00
nvim-treesitter-bot[bot]
305c265bdb
bot(lockfile): update fortran, nu, r
2024-11-23 09:41:10 +00:00
Fredrik Ekre
e05c280659
fix(julia): misc fixes to type highlighting
...
This patch fixes two issues related to `@type` capturing (split out from
https://github.com/nvim-treesitter/nvim-treesitter/pull/7392 ):
- Capture the RHS of `<:` and `>:` as `@type` in `(unary_expression)`s
similarly to what is already done for `(binary_expression)`s with
these operators.
- Capture children of `(curly_expression)`s inside of
`(where_expression)`s as `@type` similarly how they are handled in
`(parametrized_type_expression)`.
2024-11-23 10:40:13 +01:00
Fredrik Ekre
28a5dc06a8
fix(julia): fix macro identifier highlight query
...
This fixes the macro identifier highlight query after the breaking
changes in https://github.com/tree-sitter/tree-sitter-julia/pull/153 .
See also
https://github.com/tree-sitter/tree-sitter-julia/pull/158/commits/9f2fb3b9a8c73ef0d2ec005c97f91274b492d48d .
2024-11-22 23:48:19 +01:00
Tomas Sandven
731fbe9ac3
feat(robot): highlight query improvements
...
- Highlight "ELSE" in inline_if_statement
- Use @string.documentation for "Documentation" settings
- Add `@spell` capture to "Documentation" settings
2024-11-22 23:19:26 +01:00
Fredrik Ekre
fcd2a5fea9
fix(julia): capture docstrings in more cases
...
This patch enables `@string.documentation` capturing, and markdown
injection, for strings attached to `(call_expression)` and
`(identifier)` nodes. For example
```julia
"docs"
foo(::Int, ::Float64)
"docs"
bar
```
2024-11-22 14:07:51 +01:00
Fredrik Ekre
2d816bb49e
fix(julia): fix injection queries
...
This patch fixes the julia `(string_literal)` injection queries after
the breaking changes in
https://github.com/tree-sitter/tree-sitter-julia/pull/153 . The queries
are simplified by the fact that string content is now directly available
as a separate `(content)` child node.
2024-11-22 13:33:54 +01:00
Riley Bruins
2d5c122af9
feat(http): more comprehensive highlights
2024-11-22 08:56:14 +01:00
nvim-treesitter-bot[bot]
eff88f4e8b
bot(lockfile): update nu, perl, robot, scala, sql, teal
2024-11-22 06:56:44 +00:00
Riley Bruins
1249b4cfce
fix(jsdoc): only highlight slashes in paths ( #7387 )
...
Otherwise the final slash in a doc comment `*/` will also be
highlighted.
2024-11-21 17:00:11 -08:00
Omar Valdez
8a74ac9aea
feat(python): highlight modules
2024-11-21 16:48:16 +01:00
Omar Valdez
fb12c7f8a3
feat(bash): highlight redirections
2024-11-21 16:47:55 +01:00
Omar Valdez
cd2acc803b
feat(vim): highlight prepend operator
2024-11-21 09:02:13 +01:00
nvim-treesitter-bot[bot]
14f5b15ef9
bot(lockfile): update ledger, nu, robot
2024-11-21 06:55:47 +00:00
nvim-treesitter-bot[bot]
a3a732107f
bot(lockfile): update arduino, just, ledger, mlir, nu, php, php_only, r, sql
2024-11-20 06:54:48 +00:00
nvim-treesitter-bot[bot]
c50981479e
bot(lockfile): update desktop, editorconfig, just, nu, v, xresources
2024-11-19 07:58:31 +00:00
PrestonKnopp
37427012d1
feat(gdscript): add new export annotations
2024-11-18 08:26:49 +01:00
nvim-treesitter-bot[bot]
20b86032f0
bot(lockfile): update editorconfig, gdscript, json, just, nu, pug, templ, vhdl, xresources
2024-11-18 06:56:40 +00:00
nvim-treesitter-bot[bot]
1c0cbdef44
bot(lockfile): update dart, julia, nu, ocaml, ocaml_interface, perl, sql, xresources
2024-11-17 06:53:40 +00:00
nvim-treesitter-bot[bot]
20e10ca691
bot(lockfile): update julia, sql
2024-11-16 06:52:24 +00:00
Yi Ming
13c7caf8a6
fix(zig): begin indent at struct_declaration
2024-11-15 10:09:16 +01:00