mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-22 13:53:23 +08:00
Expose Vim editor extension object for user scripting
This commit is contained in:
parent
164aaa2eb6
commit
b7fabe17b8
1 changed files with 4 additions and 1 deletions
|
@ -8,9 +8,12 @@ import RemoteUser from "./live_editor/remote_user";
|
|||
import { replacedSuffixLength } from "../../lib/text_utils";
|
||||
import { settingsStore } from "../../lib/settings";
|
||||
import Doctest from "./live_editor/doctest";
|
||||
import { initVimMode } from "monaco-vim";
|
||||
import { initVimMode, VimMode } from "monaco-vim";
|
||||
import { EmacsExtension, unregisterKey } from "monaco-emacs";
|
||||
|
||||
// Expose the Vim extension for customization
|
||||
window.unstable_monacoExtensions = { VimMode };
|
||||
|
||||
/**
|
||||
* Mounts cell source editor with real-time collaboration mechanism.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue