mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 05:38:06 +00:00
fix: enable auto-sort in Decoration.set avoiding not-in-order omitted delim set
This happens when a token was nested within another token. So, the closing delimiter of the nested within is ahead of both delimiters of the nested one (That closing should be the last in order).
This commit is contained in:
parent
53a1b1f593
commit
c56777cf42
1 changed files with 1 additions and 1 deletions
|
|
@ -68,6 +68,6 @@ export class DelimOmitter {
|
|||
}
|
||||
}
|
||||
}
|
||||
return Decoration.set(omittedRanges);
|
||||
return Decoration.set(omittedRanges, true);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue