Another fix to the previous commit

This commit is contained in:
Erez Shermer 2021-10-21 13:08:53 +03:00
parent 24044b3bf7
commit 8ab389c73e
4 changed files with 7 additions and 3 deletions

View file

@ -173,6 +173,9 @@ Relative line numbers work very nicely with [this](https://github.com/nadavspi/o
## Changelog
### 0.4.5
Apparently the fix in version 0.4.4 was not good enough. Hopefully we're done with this issue now.
### 0.4.4
- Fix to an error constantly displayed in the console.

View file

@ -129,7 +129,8 @@ export default class VimrcPlugin extends Plugin {
default:
break;
}
this.vimStatusBar.setText(this.currentVimStatus);
if (this.settings.displayVimMode)
this.vimStatusBar.setText(this.currentVimStatus);
}
onunload() {

View file

@ -1,7 +1,7 @@
{
"id": "obsidian-vimrc-support",
"name": "Vimrc Support",
"version": "0.4.4",
"version": "0.4.5",
"description": "Auto-load a startup file with Obsidian Vim commands.",
"author": "esm",
"authorUrl": "",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-vimrc-support",
"version": "0.4.4",
"version": "0.4.5",
"description": "Auto-load a startup file with Obsidian Vim commands.",
"main": "main.js",
"scripts": {