@monaco-neovim-wasm/wasm-async 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/index.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
# @monaco-neovim-wasm/wasm-async
|
|
2
2
|
|
|
3
3
|
Batteries-included package: ships asyncify `nvim.wasm` + `nvim-runtime.tar.gz` and re-exports `@monaco-neovim-wasm/lib` with defaults wired for postMessage input (no COOP/COEP).
|
|
4
|
+
|
|
5
|
+
Defaults:
|
|
6
|
+
- `searchHighlights: true` (pass `false` to disable)
|
|
7
|
+
- `wrappedLineMotions: true` (pass `false` to disable)
|
|
8
|
+
- `scrollMotions: true` (pass `false` to disable)
|
|
9
|
+
- `syncScrolloff: true` (pass `false` to disable)
|
package/index.js
CHANGED
|
@@ -14,6 +14,7 @@ export const defaultRuntimePath = new URL("./nvim-runtime.tar.gz", import.meta.u
|
|
|
14
14
|
export function createMonacoNeovim(editor, options = {}) {
|
|
15
15
|
return createMonacoNeovimBase(editor, {
|
|
16
16
|
...options,
|
|
17
|
+
searchHighlights: options.searchHighlights ?? true,
|
|
17
18
|
inputMode: options.inputMode ?? "message",
|
|
18
19
|
workerUrl: options.workerUrl ?? defaultWorkerUrlAsyncify,
|
|
19
20
|
wasmPath: options.wasmPath ?? defaultWasmPath,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monaco-neovim-wasm/wasm-async",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Batteries-included package: @monaco-neovim-wasm/lib + asyncify nvim.wasm + runtime (postMessage input; no COOP/COEP).",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@monaco-neovim-wasm/lib": "0.1.
|
|
8
|
+
"@monaco-neovim-wasm/lib": "0.1.7"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
11
|
"monaco-editor": "^0.44.0"
|