Fixed
- Bundled fork not recognized by other plugins — ecosystem plugins that check
window.CodeMirrorAdapter.Vim(e.g. Outliner, obsidian-vimrc-support) could miss the bundled fork due to plugin load order or Obsidian overwriting the property after the bridge was installed. The bridge now uses a property descriptor (getter) instead of a plain assignment, so reads always return the fork's Vim singleton regardless of timing. The bridge is also installed beforeregisterEditorExtension()for earlier availability, and properly cleaned up on plugin unload. (#17) Vim.enterInsertMode(cm)missing from fork API — ecosystem plugins (Outliner, obsidian-lineage) callVim.enterInsertMode(cm)to transition the editor into insert mode after custom actions. Obsidian's built-invim.jsexposes this method but upstream@replit/codemirror-vimdoes not. The fork now exportsenterInsertMode(cm)on theVimsingleton, matching Obsidian's API surface. Without this, plugins using the bundled fork would getTypeError: vim.enterInsertMode is not a function. (#17)
Changed
- Fork test count — 1630 fork tests passing (up from 1628). Added
api_enterInsertModetest verifying the new public API method.
Documentation
DIFFERENCES.md(fork): added "enterInsertModeAPI exposure" section documenting the Obsidian-specific API addition
Full Changelog: 0.14.0...0.15.0