chore: fix highlight cursor
This commit is contained in:
parent
8455114eef
commit
10d709c167
1 changed files with 1 additions and 1 deletions
|
|
@ -40,5 +40,5 @@ func (*HighlightParser) Match(tokens []*tokenizer.Token) (ast.Node, int) {
|
||||||
|
|
||||||
return &ast.Highlight{
|
return &ast.Highlight{
|
||||||
Content: tokenizer.Stringify(matchedToken[2:cursor]),
|
Content: tokenizer.Stringify(matchedToken[2:cursor]),
|
||||||
}, cursor + 1
|
}, cursor + 2
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue