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
nvim-treesitter-bot[bot]
06611c75fe
bot(lockfile): update nix, nu, r, teal
2024-11-15 06:59:36 +00:00
nvim-treesitter-bot[bot]
6389ceb175
bot(lockfile): update gren, typst, v
2024-11-14 06:55:27 +00:00
zetashift
e1e3108cd2
feat(unison): inject markdown for doc blocks
2024-11-13 09:09:53 +01:00
zetashift
88ed26a7e6
feat(unison): add fold queries
2024-11-13 09:09:53 +01:00
zetashift
c5be87ad3e
refactor(unison): update to latest treesitter grammar
2024-11-13 09:09:53 +01:00
nvim-treesitter-bot[bot]
fba111f707
bot(lockfile): update dtd, mlir, nix, v, vhdl, xml
2024-11-13 06:52:44 +00:00
nvim-treesitter-bot[bot]
7646c1c12a
bot(lockfile): update bash, cpp, go, html, idl, latex, sway, swift, t32, templ
2024-11-12 07:27:23 +00:00
nvim-treesitter-bot[bot]
bb06afa3f1
bot(lockfile): update agda, bash, c, c_sharp, cpp, css, editorconfig, embedded_template, foam, go, haskell, html, java, javascript, jsdoc, json, julia, mlir, ocaml, ocaml_interface, php, php_only, python, ql, query, regex, ruby, rust, scala, t32, templ, tsx, typescript, xresources
2024-11-11 07:52:02 +00:00
Christian Clason
d105f2cb7b
feat(julia): update parser and queries
2024-11-11 08:40:34 +01:00
Riley Bruins
a069bb62a8
fix: formatter idempotency for nested groupings ( #7345 )
...
Currently, for something like `(((((node))))) @cap`, the formatter will
produce `((node)) @cap`, and then after another pass it will produce
`(node) @cap`. This commit makes it so that all extraneous parentheses
are removed on the first pass.
2024-11-11 11:59:21 +09:00
nvim-treesitter-bot[bot]
8e40904e49
bot(lockfile): update bash, c_sharp, cpp, earthfile, editorconfig, embedded_template, go, html, java, javascript, jsdoc, json, nix, nu, python, regex, rust, t32
2024-11-10 10:14:46 +00:00
nvim-treesitter-bot[bot]
0603b3e3d2
bot(lockfile): update desktop, earthfile, mlir, nix, nu, v, xresources
2024-11-09 06:52:07 +00:00
nvim-treesitter-bot[bot]
425b589683
bot(lockfile): update inko, nu, udev
2024-11-08 07:07:56 +00:00
Riley Bruins
eab2005cb5
fix(regex): more accurate highlights for named backreferences
...
Highlight both surrounding angle brackets, and only apply the operator
highlight to the actual \k operator.
2024-11-07 22:06:35 +01:00
nvim-treesitter-bot[bot]
c91122d201
bot(lockfile): update nu, runescript, superhtml, swift
2024-11-07 10:25:39 +00:00
nvim-treesitter-bot[bot]
0722f23886
bot(readme): update
2024-11-06 22:15:19 +00:00
Christian Clason
98b3825999
docs(parser): mark julia as unmaintained
2024-11-06 23:05:20 +01:00
ganhaque
ea3a37a975
fix(wgsl): indent call expression params ( #7309 )
2024-11-06 10:09:14 -08:00