qword 1.1.1 → 1.1.2

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/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.09.05, v1.1.2
2
+
3
+ feature:
4
+ - d6b691f qword: add indentWithTab and indentUnit support
5
+
1
6
  2026.09.05, v1.1.1
2
7
 
3
8
  fix:
package/client/create.js CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  foldGutter,
11
11
  codeFolding,
12
12
  syntaxHighlighting,
13
+ indentUnit,
13
14
  } from '@codemirror/language';
14
15
  import {highlightStyle} from './highlight.js';
15
16
  import {
@@ -53,6 +54,7 @@ export function createEditor(element, options = {}) {
53
54
  keymapCompartment.of(keymapExtension(keyMap)),
54
55
  langCompartment.of(languageExtension(mode)),
55
56
  syntaxHighlighting(highlightStyle),
57
+ indentUnit.of(' '),
56
58
  ...lineNumbers
57
59
  ? [
58
60
  lineNumbersExtension(),
package/client/options.js CHANGED
@@ -15,9 +15,9 @@ export function keymapExtension(name) {
15
15
  return vim();
16
16
 
17
17
  if (name === 'emacs')
18
- return keymap.of(emacsStyleKeymap);
18
+ return keymap.of([...emacsStyleKeymap, indentWithTab]);
19
19
 
20
- return keymap.of(defaultKeymap);
20
+ return keymap.of([...defaultKeymap, indentWithTab]);
21
21
  }
22
22
 
23
23
  export function themeExtension(name) {