mirror of
https://github.com/esm7/obsidian-vimrc-support.git
synced 2026-07-22 05:00:25 +00:00
Fix to an error displayed on the console
This commit is contained in:
parent
5a23b758a3
commit
24044b3bf7
4 changed files with 7 additions and 3 deletions
|
|
@ -173,6 +173,9 @@ Relative line numbers work very nicely with [this](https://github.com/nadavspi/o
|
|||
|
||||
## Changelog
|
||||
|
||||
### 0.4.4
|
||||
- Fix to an error constantly displayed in the console.
|
||||
|
||||
### 0.4.3
|
||||
- Another fix to "fixed keyboard layout in Normal mode".
|
||||
- Added escape character backslash to surround command.
|
||||
|
|
|
|||
3
main.ts
3
main.ts
|
|
@ -85,7 +85,8 @@ export default class VimrcPlugin extends Plugin {
|
|||
|
||||
this.app.workspace.on('codemirror', (cm: CodeMirror.Editor) => {
|
||||
cm.on('vim-mode-change', (modeObj: any) => {
|
||||
this.logVimModeChange(modeObj);
|
||||
if (modeObj)
|
||||
this.logVimModeChange(modeObj);
|
||||
});
|
||||
this.defineFixedLayout(cm);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "obsidian-vimrc-support",
|
||||
"name": "Vimrc Support",
|
||||
"version": "0.4.3",
|
||||
"version": "0.4.4",
|
||||
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
||||
"author": "esm",
|
||||
"authorUrl": "",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "obsidian-vimrc-support",
|
||||
"version": "0.4.3",
|
||||
"version": "0.4.4",
|
||||
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue