Remove unnecessary code

This commit is contained in:
Adria Navarro 2025-02-11 15:47:16 +01:00
parent 5d12cc3b7e
commit cb41ee81c6
1 changed files with 0 additions and 19 deletions

View File

@ -357,25 +357,6 @@ export const insertBinding = (
})
}
export const insertSnippet = (
view: EditorView,
from: number,
to: number,
text: string
) => {
let cursorPos = from + text.length
view.dispatch({
changes: {
from,
to,
insert: text,
},
selection: {
anchor: cursorPos,
},
})
}
// TODO: typing in this function isn't great
export const bindingsToCompletions = (
bindings: any,