mirror of
https://github.com/esm7/obsidian-vimrc-support.git
synced 2026-07-22 05:00:25 +00:00
Merge fadd5eb65d into 1ff5d97afc
This commit is contained in:
commit
e5b5011259
1 changed files with 1 additions and 0 deletions
1
main.ts
1
main.ts
|
|
@ -480,6 +480,7 @@ export default class VimrcPlugin extends Plugin {
|
|||
const editor = view.editor;
|
||||
const command = availableCommands[commandName];
|
||||
const {callback, checkCallback, editorCallback, editorCheckCallback} = command;
|
||||
editor.focus(); // editor callbacks expect focus
|
||||
if (editorCheckCallback)
|
||||
editorCheckCallback(false, editor, view);
|
||||
else if (editorCallback)
|
||||
|
|
|
|||
Loading…
Reference in a new issue