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
I also need a way to extract {{...}} from within injections and parse them in the parent syntax to display interpolation. I'm not sure what the best way to go about this is - I could set the language to just, but I'm not sure how to make that interact with locals.scm.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I am working on improving injections for justfiles but struggling a bit. Without injections, I have the following trees
Which comes from the following
That all looks fine. The problem comes when I want to add the below injection:
Something gets messed up in the highlighting. Triple backticks now get highlighted incorrectly
Relevant portions of the grammar are here:
A link to the full tree is at https://github.com/tgross35/tree-sitter-just/tree/6a37a75cbd1e49bf24fc53595b462e6766cc209c
I also need a way to extract
{{...}}
from within injections and parse them in the parent syntax to display interpolation. I'm not sure what the best way to go about this is - I could set the language tojust
, but I'm not sure how to make that interact withlocals.scm
.Beta Was this translation helpful? Give feedback.
All reactions