expandtab
parent
3b91c6782d
commit
6ea5f2c675
|
|
@ -53,12 +53,19 @@ func editFile(p filetree.Path) string {
|
|||
smartIndent: true,
|
||||
indentUnit: 3,
|
||||
tabSize: 3,
|
||||
indentWithTabs: false,
|
||||
lineWrapping: true,
|
||||
autofocus: true,
|
||||
dragDrop: false,
|
||||
spellcheck: true,
|
||||
autocorrect: false,
|
||||
autocapitalize: false,
|
||||
extraKeys: {
|
||||
Tab: (cm) => {
|
||||
var spaces = Array(cm.getOption("indentUnit") + 1).join(" ");
|
||||
cm.replaceSelection(spaces);
|
||||
},
|
||||
},
|
||||
})
|
||||
} else {
|
||||
console.log(navigator.userAgent)
|
||||
|
|
|
|||
Loading…
Reference in New Issue