esm7 / obsidian-vimrc-support

A plugin for the Obsidian.md note-taking software
MIT License
1.07k stars 47 forks source link

VimRC plugin broken #221

Closed ianTevesAcc closed 5 months ago

ianTevesAcc commented 5 months ago

Please Review Before Posting!

Describe the bug: It just doesn't work anymore. I made a new obsidian vault and also tried turned off every plug in except vimrc support, but the vimrc support plugin doesn't work. All I know is that it's producing this error.

It worked fine before but I just noticed that it's suddenly stopped working. Maybe it's because of the new OB update that I just noticed has affected vimrc support plugin.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'off') at VimrcPlugin.eval (main.ts:152:13) at step (tslib.es6.js:100:23) at Object.eval [as next] (tslib.es6.js:81:53) at eval (tslib.es6.js:74:71) at new Promise () at __awaiter (tslib.es6.js:70:12) at VimrcPlugin.updateVimEvents (main.ts:141:2) at VimrcPlugin.eval (main.ts:103:9) at step (tslib.es6.js:100:23) at Object.eval [as next] (tslib.es6.js:81:53)

Environment (please complete the following information):

ianTevesAcc commented 5 months ago

Idk what happened... I didn't restart my computer, I just continued with my day and it fixed itself. Anyways. It works now. Sorry for the hassle