qword 1.1.4 → 1.1.5

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.5
2
+
3
+ fix:
4
+ - 08c2671 indent revert
5
+
1
6
  2026.09.05, v1.1.4
2
7
 
3
8
  fix:
package/client/options.js CHANGED
@@ -1,8 +1,7 @@
1
1
  import {keymap} from '@codemirror/view';
2
- import {javascriptLanguage} from '@codemirror/lang-javascript';
3
- import {jsonLanguage} from '@codemirror/lang-json';
4
- import {htmlLanguage} from '@codemirror/lang-html';
5
- import {indentOnInput} from '@codemirror/language';
2
+ import {javascript} from '@codemirror/lang-javascript';
3
+ import {json} from '@codemirror/lang-json';
4
+ import {html} from '@codemirror/lang-html';
6
5
  import {vim} from '@replit/codemirror-vim';
7
6
  import {nord} from '@uiw/codemirror-theme-nord';
8
7
  import {
@@ -34,13 +33,13 @@ export function languageExtension(mode) {
34
33
  const name = typeof mode === 'object' ? mode?.name : mode;
35
34
 
36
35
  if (name === 'javascript' || name === 'js')
37
- return [javascriptLanguage, indentOnInput()];
36
+ return javascript();
38
37
 
39
38
  if (name === 'json')
40
- return [jsonLanguage, indentOnInput()];
39
+ return json();
41
40
 
42
41
  if (name === 'html')
43
- return [htmlLanguage, indentOnInput()];
42
+ return html();
44
43
 
45
44
  return [];
46
45
  }