Fix: unused statement

This commit is contained in:
eight 2018-10-14 02:58:49 +08:00
parent 39b11685b4
commit e93819deb4

View File

@ -238,9 +238,6 @@ preinit();
} }
})(); })();
prefs.subscribe(['editor.smartIndent'], (key, value) =>
CodeMirror.setOption('smartIndent', value));
function preinit() { function preinit() {
// preload the theme so that CodeMirror can calculate its metrics in DOMContentLoaded->setupLivePrefs() // preload the theme so that CodeMirror can calculate its metrics in DOMContentLoaded->setupLivePrefs()
new MutationObserver((mutations, observer) => { new MutationObserver((mutations, observer) => {