expandtab

master
Bel LaPointe 2021-03-19 21:18:05 -05:00
parent 3b91c6782d
commit 6ea5f2c675
1 changed files with 7 additions and 0 deletions

View File

@ -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)