nvim-treesitter/queries/julia
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
..
folds.scm chore: query formatting 2024-01-19 16:58:37 +01:00
highlights.scm fix(julia): treat :: as operator in type contexts 2024-11-23 11:10:05 +01:00
indents.scm fix(julia): adapt queries to grammar changes (#6429) 2024-04-14 14:23:46 +02:00
injections.scm fix(julia): capture docstrings in more cases 2024-11-22 14:07:51 +01:00
locals.scm feat(julia): update parser and queries 2024-11-11 08:40:34 +01:00