chore: fix highlight cursor

pull/2843/head
Steven 1 year ago
parent 8455114eef
commit 10d709c167

@ -40,5 +40,5 @@ func (*HighlightParser) Match(tokens []*tokenizer.Token) (ast.Node, int) {
return &ast.Highlight{
Content: tokenizer.Stringify(matchedToken[2:cursor]),
}, cursor + 1
}, cursor + 2
}

Loading…
Cancel
Save