@monaco-neovim-wasm/wasm 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.
Files changed (3) hide show
  1. package/README.md +5 -0
  2. package/index.js +1 -1
  3. package/package.json +2 -3
package/README.md CHANGED
@@ -2,3 +2,8 @@
2
2
 
3
3
  Batteries-included package: ships `nvim.wasm` + `nvim-runtime.tar.gz` and re-exports `@monaco-neovim-wasm/lib` with defaults wired for SharedArrayBuffer input (COOP/COEP).
4
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,10 +14,10 @@ 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 ?? "shared",
18
19
  workerUrl: options.workerUrl ?? defaultWorkerUrl,
19
20
  wasmPath: options.wasmPath ?? defaultWasmPath,
20
21
  runtimePath: options.runtimePath ?? defaultRuntimePath,
21
22
  });
22
23
  }
23
-
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@monaco-neovim-wasm/wasm",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Batteries-included package: @monaco-neovim-wasm/lib + nvim.wasm + runtime (SharedArrayBuffer input).",
7
7
  "dependencies": {
8
- "@monaco-neovim-wasm/lib": "0.1.6"
8
+ "@monaco-neovim-wasm/lib": "0.1.7"
9
9
  },
10
10
  "peerDependencies": {
11
11
  "monaco-editor": "^0.44.0"
@@ -27,4 +27,3 @@
27
27
  "package.json"
28
28
  ]
29
29
  }
30
-