fix: satisfy arrow ligature type checks

This commit is contained in:
lucaronin
2026-04-23 22:14:20 +02:00
parent 4ed0289989
commit 65a421215a
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ function buildSaveKeymap(callbacks: { current: CodeMirrorCallbacks }) {
function buildArrowLigaturesExtension() {
let literalAsciiCursor: number | null = null
return EditorView.inputHandler.of((view, from, to, text) => {
return EditorView.inputHandler.of((view, from, _to, text) => {
const beforeText = view.state.doc.sliceString(Math.max(0, from - 2), from)
const resolution = resolveArrowLigatureInput({
beforeText,