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
Simply passing ignore_injected languages to the get_node call causes some other things to break. It's causing the node:parent() call to return null if not actually inside an injected language range. This seems like a treesitter bug but see if I can distinguish wether the cursor is inside an injected language or if I can detect when the node is "breaking out" of the injected language range.
See here for original report and attempted solution.
The text was updated successfully, but these errors were encountered:
Simply passing
ignore_injected
languages to the get_node call causes some other things to break. It's causing thenode:parent()
call to return null if not actually inside an injected language range. This seems like a treesitter bug but see if I can distinguish wether the cursor is inside an injected language or if I can detect when the node is "breaking out" of the injected language range.See here for original report and attempted solution.
The text was updated successfully, but these errors were encountered: