Skip to content

use the same token to change lexer modes #1984

Closed Answered by msujew
Yokozuna59 asked this question in Q&A
Discussion options

You must be logged in to vote

@Yokozuna59 You need to create two tokens for that. One push token and a pop token with the same pattern. Put the push token in the default mode and the pop token into the yaml mode.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Yokozuna59
Comment options

Answer selected by Yokozuna59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants