Skip to content

Commit

Permalink
fix: support spyIDE
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric Halbronn committed Mar 25, 2024
1 parent 2eebc05 commit 796ef1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cursorless-neovim/src/neovimHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export async function updateTextEditor(): Promise<NeovimTextEditorImpl> {
} else if (ide_ instanceof NormalizedIDE) {
neovimIDE = ide_.original as NeovimIDE;
} else if (ide_ instanceof SpyIDE) {
neovimIDE = ide_.original as NeovimIDE;
const normalizedIDE = ide_.original as NormalizedIDE;
neovimIDE = normalizedIDE.original as NeovimIDE;
} else {
throw Error("updateTextEditor(): ide() is not NeovimIDE");
}
Expand Down

0 comments on commit 796ef1b

Please sign in to comment.