You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to write a highlights.scm query file for this parser so that it works with nvim-treesitter in-place of the current kotlin parser that is shipped with it. The edits needed for this would be:
Unhide the _line_str_escaped_char and _escape_seq, so that escape sequences can be queried
!is and ?. are not possible to be queried since they are locked behind the _not_is and _safe_nav rules, unlike is, ?:, in,!in and so on.
Separate the labels from labeled jump_expressions. Could be done by adding a simple_identifier child node to jump_expression
anonymous function parameters and return type are marked as ERROR nodes in the syntax tree
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to write a
highlights.scm
query file for this parser so that it works with nvim-treesitter in-place of the current kotlin parser that is shipped with it. The edits needed for this would be:_line_str_escaped_char
and_escape_seq
, so that escape sequences can be queried!is
and?.
are not possible to be queried since they are locked behind the_not_is
and_safe_nav
rules, unlikeis
,?:
,in
,!in
and so on.jump_expression
s. Could be done by adding asimple_identifier
child node tojump_expression
ERROR
nodes in the syntax treeThe text was updated successfully, but these errors were encountered: