fast72 commited on
Commit
79f75e0
·
verified ·
1 Parent(s): d6cd6d0

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +3 -5
public/index.html CHANGED
@@ -29,12 +29,10 @@
29
  legacyModes: { javascript },
30
  matchBrackets,
31
  specialChars,
32
- multipleSelections,
33
- indentWithTab,
34
- basicSetup
35
  } = CodeMirror;
36
 
37
- let mode = legacyMode({mode: javascript({indentUnit: 2}, {})})
38
 
39
  let isMac = /Mac/.test(navigator.platform)
40
  let state = EditorState.create({doc: `"use strict";
@@ -49,7 +47,7 @@ readFile("package.json", "utf8", (err, data) => {
49
  multipleSelections(),
50
  mode,
51
  matchBrackets(),
52
- keymap.of([indentWithTab]),
53
  keymap({
54
  "Mod-z": undo,
55
  "Mod-Shift-z": redo,
 
29
  legacyModes: { javascript },
30
  matchBrackets,
31
  specialChars,
32
+ multipleSelections
 
 
33
  } = CodeMirror;
34
 
35
+ let mode = legacyMode({mode: javascript({indentUnit: 4}, {})})
36
 
37
  let isMac = /Mac/.test(navigator.platform)
38
  let state = EditorState.create({doc: `"use strict";
 
47
  multipleSelections(),
48
  mode,
49
  matchBrackets(),
50
+ //keymap.of([indentWithTab]),
51
  keymap({
52
  "Mod-z": undo,
53
  "Mod-Shift-z": redo,