| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
Breaking change: `(condition_bool)` renamed to `(condition_bool_legacy)`
|
| |
|
|
| |
Breaking change: `(bit_string_*)` renamed to `(bit_array_*)`
|
| | |
|
| |
|
|
|
| |
Added all builtin annotations, constants, methods
and types as of godot commit : 10c7cb8
|
| |
|
|
|
|
| |
Problem: `@type` currently captures function calls but fails to
capture CTE names.
Solution: Don't capture types in invocations. Add pattern for `cte`.
|
| | |
|
| |
|
|
|
|
| |
- Bash does not have boolean values and the builtin `true`
and `false` commands are already covered by another capture.
- The grammar has a `number` node and it's already captured.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Problem: Gitlab has too frequent outages, which break automation.
Solution: Drop all Gitlab-hosted parsers (two of which have been
unmaintained for years).
|
| |
|
|
| |
Breaking change: `(do_loop_statement)` renamed to `(do_loop)`
|
| | |
|
| |
|
|
|
| |
Highlights the dollar symbol properly in multi-symbol contexts, like `$3.some.properties`.
There was already a fix for a similar issue on #8067, but it only addressed `$.some.properties`, but not the variant with the argument number in it.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* use uniform scope node instead of literal matching
This avoids the need to refactor if other scope types are added. Maybe
helps performance as well.
* add method expression highlight
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: These patterns were impossible, since children need to be children of
every subtype of a supertype to be captured in this way. As subtypes
could appear as children themselves, the query code silently "skipped
over" the supertype restriction in the pattern. This was fixed in
tree-sitter v0.26.0, which now (correctly) flags these patterns as
"impossible".
Solution: Add the appropriate child nodes explicitly.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: These patterns were impossible, since children need to be children of
every subtype of a supertype to be captured in this way. As subtypes
could appear as children themselves, the query code silently "skipped
over" the supertype restriction in the pattern. This was fixed in
tree-sitter v0.26.0, which now (correctly) flags these patterns as
"impossible".
Solution: Add the appropriate child nodes explicitly.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
`trace32_hll_variable` has been removed from the grammar. The
queries are now capturing `symbol` instead. `symbol` is highlighted
as variable or constant.
|
| | |
|
| | |
|
| |
|
|
|
| |
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Co-authored-by: Tayfun Bocek <tayfunbocek@live.ca>
|
| | |
|
| | |
|
| |
|
|
| |
This change does not break existing injections that currently ship with nvim-treesitter, but instead allows additional injections to be defined by users, like those found in the Max/MSP Jitter XML Shader format.
|
| |
|
| |
Switch parser to https://github.com/airblast-dev/tree-sitter-gdshader
|
| | |
|
| |
|
|
|
|
|
| |
sync locals queries with upstream
---------
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
|
| |
|
|
|
|
| |
Apex codebases commonly use Javadoc-style comments, similar to Java (Apex is Salesforce's object-oriented language).
This updates the injection query to capture javadoc nodes instead of the generic comment for better highlighting and parsing accuracy.
|
| |
|
| |
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
|
| |
|
| |
also deduplicate bracket rules
|
| | |
|
| |
|
|
|
| |
Some queries don't add a colon after the `inherits` keyword, which nvim
could handle but `ts_query_ls` could not, causing it to give incomplete
diagnostics.
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Update to Julia 1.12 (sync with upstream)
|
| | |
|
| | |
|
| |
|
|
|
| |
Changes them from `@comment` to `@punctuation.special`, which is how
they are in other languages.
|
| |
|
|
|
|
| |
Breaking changes:
- Nodes `(variable_name)`, `(expr_variable_name)`, `(variable_name_short)`, are exposed as `(name)`.
|
| |
|
|
|
|
|
|
|
|
| |
Breaking changes:
- Node `(variable)` was renamed to `(expr_double_quotes)`.
- Node `(variable_raw)` was renamed to `(expr_single_quotes)`.
- Node `(string)` was renamed to `(str_double_quotes)`.
- Node `(raw_string)` was renamed to `(str_single_quotes)`.
- Node `(raw_string_quote)` was removed.
|
| |
|
|
|
|
|
|
| |
Commit 9d7ed4 of the Inko tree-sitter grammar introduces support for
pattern matching in `let` expressions. This requires some corresponding
changes to the "local" queries to correctly define local variables. This
is done by simply defining locals for all "identifier_pattern" nodes,
instead of only doing this for "define_variable" nodes.
|
| | |
|
| |
|
|
| |
Breaking change: node `(static_member_expression)` was removed
|