aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* feat(rust): highlight "gen" and "raw" keywords (#7419)flippette2024-11-291-0/+2
|
* feat(julia): highlight interpolation operatorFredrik Ekre2024-11-291-0/+9
| | | | | | This patch adds `$` to the `@punctuation.special` capture group within `(string_interpolation)` (e.g. `"hello $name"`) and `(interpolation_expression)` (e.g. `:(hello $name)`) nodes.
* bot(lockfile): update nu, sql, typespecnvim-treesitter-bot[bot]2024-11-291-3/+3
|
* feat(inko): highlight "inline" keywordYorick Peterse2024-11-282-3/+4
| | | | | The parser added support for the "inline" keyword in a few places. This ensures a highlight is present for the keyword.
* feat(zig): add locals queries (#7401)AtomToast2024-11-281-0/+95
|
* bot(lockfile): update solidity, sqlnvim-treesitter-bot[bot]2024-11-281-2/+2
|
* fix(solidity): remove spurious operators in highlight queries (#7412)JoranHonig2024-11-271-2/+0
|
* bot(lockfile): update t32nvim-treesitter-bot[bot]2024-11-271-1/+1
|
* bot(lockfile): update gleam, scalanvim-treesitter-bot[bot]2024-11-261-2/+2
|
* bot(lockfile): update c_sharp, editorconfig, go, nu, rust, templ, xresourcesnvim-treesitter-bot[bot]2024-11-251-7/+7
|
* fix(verilog): update queries (#7400)zhangwwpeng2024-11-241-1/+9
| | | | | 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
* bot(lockfile): update c_sharp, chatito, gpg, hoon, nasm, pem, poe_filternvim-treesitter-bot[bot]2024-11-241-7/+7
|
* docs(parser): add maintainer for juliaChristian Clason2024-11-232-1/+2
|
* fix(julia): treat :: as operator in type contextsFredrik Ekre2024-11-232-3/+11
| | | | | | | | | | | | 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 `>:`.
* fix(astro): highlight self-closing component tagsnet-solution2024-11-231-0/+4
|
* bot(lockfile): update fortran, nu, rnvim-treesitter-bot[bot]2024-11-232-4/+4
|
* fix(julia): misc fixes to type highlightingFredrik Ekre2024-11-231-1/+10
| | | | | | | | | | | | 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)`.
* fix(julia): fix macro identifier highlight queryFredrik Ekre2024-11-221-1/+3
| | | | | | | 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.
* feat(robot): highlight query improvementsTomas Sandven2024-11-221-0/+50
| | | | | | - Highlight "ELSE" in inline_if_statement - Use @string.documentation for "Documentation" settings - Add `@spell` capture to "Documentation" settings
* fix(julia): capture docstrings in more casesFredrik Ekre2024-11-222-0/+4
| | | | | | | | | | | | | | 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 ```
* fix(julia): fix injection queriesFredrik Ekre2024-11-221-16/+16
| | | | | | | | 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.
* feat(http): more comprehensive highlightsRiley Bruins2024-11-223-2/+68
|
* bot(lockfile): update nu, perl, robot, scala, sql, tealnvim-treesitter-bot[bot]2024-11-221-6/+6
|
* fix(jsdoc): only highlight slashes in paths (#7387)Riley Bruins2024-11-211-1/+3
| | | | Otherwise the final slash in a doc comment `*/` will also be highlighted.
* feat(python): highlight modulesOmar Valdez2024-11-212-2/+21
|
* feat(bash): highlight redirectionsOmar Valdez2024-11-211-1/+4
|
* feat(vim): highlight prepend operatorOmar Valdez2024-11-211-0/+1
|
* bot(lockfile): update ledger, nu, robotnvim-treesitter-bot[bot]2024-11-211-3/+3
|
* bot(lockfile): update arduino, just, ledger, mlir, nu, php, php_only, r, sqlnvim-treesitter-bot[bot]2024-11-201-9/+9
|
* bot(lockfile): update desktop, editorconfig, just, nu, v, xresourcesnvim-treesitter-bot[bot]2024-11-192-10/+14
|
* feat(gdscript): add new export annotationsPrestonKnopp2024-11-181-2/+3
|
* bot(lockfile): update editorconfig, gdscript, json, just, nu, pug, templ, ↵nvim-treesitter-bot[bot]2024-11-181-9/+9
| | | | vhdl, xresources
* bot(lockfile): update dart, julia, nu, ocaml, ocaml_interface, perl, sql, ↵nvim-treesitter-bot[bot]2024-11-171-8/+8
| | | | xresources
* bot(lockfile): update julia, sqlnvim-treesitter-bot[bot]2024-11-161-2/+2
|
* fix(zig): begin indent at `struct_declaration`Yi Ming2024-11-151-0/+1
|
* bot(lockfile): update nix, nu, r, tealnvim-treesitter-bot[bot]2024-11-151-4/+4
|
* bot(lockfile): update gren, typst, vnvim-treesitter-bot[bot]2024-11-141-3/+3
|
* feat(unison): inject markdown for doc blockszetashift2024-11-131-0/+3
|
* feat(unison): add fold querieszetashift2024-11-131-0/+10
|
* refactor(unison): update to latest treesitter grammarzetashift2024-11-133-23/+33
|
* bot(lockfile): update dtd, mlir, nix, v, vhdl, xmlnvim-treesitter-bot[bot]2024-11-131-6/+6
|
* bot(lockfile): update bash, cpp, go, html, idl, latex, sway, swift, t32, templnvim-treesitter-bot[bot]2024-11-121-10/+10
|
* bot(lockfile): update agda, bash, c, c_sharp, cpp, css, editorconfig, ↵nvim-treesitter-bot[bot]2024-11-111-34/+34
| | | | 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
* feat(julia): update parser and queriesChristian Clason2024-11-114-165/+145
|
* fix: formatter idempotency for nested groupings (#7345)Riley Bruins2024-11-111-0/+1
| | | | | | 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.
* bot(lockfile): update bash, c_sharp, cpp, earthfile, editorconfig, ↵nvim-treesitter-bot[bot]2024-11-101-18/+18
| | | | embedded_template, go, html, java, javascript, jsdoc, json, nix, nu, python, regex, rust, t32
* bot(lockfile): update desktop, earthfile, mlir, nix, nu, v, xresourcesnvim-treesitter-bot[bot]2024-11-091-7/+7
|
* bot(lockfile): update inko, nu, udevnvim-treesitter-bot[bot]2024-11-082-4/+4
|
* fix(regex): more accurate highlights for named backreferencesRiley Bruins2024-11-071-1/+2
| | | | | Highlight both surrounding angle brackets, and only apply the operator highlight to the actual \k operator.
* bot(lockfile): update nu, runescript, superhtml, swiftnvim-treesitter-bot[bot]2024-11-071-4/+4
|