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
Gives foo a face of tree-sitter-hl-face:function.method which isn't correct (it should be variable or similar). I poked around a bit and my guess would be the ((identifier) @function.method (#is-not? local)) highlight rule is matching too much suggesting the locals stuff isn't working (?).
I'm guessing it is an issue here vs tree-sitter-ruby, but I'm really not sure.
The text was updated successfully, but these errors were encountered:
To clarify, is it the lack of support for the .is-not? predicate or the lack of support for local as mentioned in #94?
Also, again to clarify, you are suggesting we could mitigate this lack of support by rewriting the highlighting rules to not rely on .is-not? and local?
To clarify, is it the lack of support for the .is-not? predicate or the lack of support for local as mentioned in #94?
Both: additional predicates in general, and local information to support a particular type of predicate. The former is relatively straightforward. The latter is difficult to make efficient.
Also, again to clarify, you are suggesting we could mitigate this lack of support by rewriting the highlighting rules to not rely on .is-not? and local?
The below ruby code:
Gives
foo
a face oftree-sitter-hl-face:function.method
which isn't correct (it should bevariable
or similar). I poked around a bit and my guess would be the((identifier) @function.method (#is-not? local))
highlight rule is matching too much suggesting the locals stuff isn't working (?).I'm guessing it is an issue here vs tree-sitter-ruby, but I'm really not sure.
The text was updated successfully, but these errors were encountered: