You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, the runInOp is wrapped around the addNewLineAndIndent function so the new line ends up being created and moved to after we go into insert mode which is muddling things up. I just wrapped the enterInsertMode function in a timeout to push it to the next run loop so all the operations should have finished.