Yaml language injections based on comments in block #15115
Unanswered
kjuulh
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, sometimes you've got blocks of stuff in yaml, I've got some injections enabled, and thought it might be useful for others. Though it might not be general enough to add as standard to helix injections upstream.
However, that string can be hard to read, as it has no highlighting.
So I've added an injection to my own $HELIX_RUNTIME/queries/yaml/injections.scm
should now highlight the item as having a rust code block.
Enjoy!
Beta Was this translation helpful? Give feedback.
All reactions