Link expansion with unmatched [[]

Steps to reproduce

Start with [[keyw] and do an autocomplete after w.

Expected result

[[keyword]] completes closing brackets correctly

Actual result

[[keyword]]] has one extra ]

Somehow this happens a lot.

Environment

  • Operating system: osx 11.0.1
  • Obsidian version: 0.9.22

Additional information

I don’t understand, You purposely start with [[keyw] go back to the w and then autocomplete?

Not really on purpose, but whatever I mash into the keyboard in vi mode ends up getting me into this state more frequently than I like. The intent is clear though, so I think it should be doing the obviously correct thing.

See if you can better handle VIM mode.
I don’t see this as bug.