fx-compat: Scaffold: Fix indentation using spaces

This commit is contained in:
Abe Jellinek 2022-07-11 13:03:48 -04:00
parent dc96c1a175
commit 916627b590
2 changed files with 2 additions and 4 deletions

View file

@ -58,6 +58,8 @@
minimap: { enabled: false },
// Clicking links doesn't actually work, so disable them (for now)
links: false,
insertSpaces: false,
detectIndentation: false,
...params
});

View file

@ -271,10 +271,6 @@ var Scaffold = new function () {
this.initCodeEditor = async function () {
let monaco = _editors.codeGlobal, editor = _editors.code;
editor.getModel().updateOptions({
insertSpaces: false
});
editor.updateOptions({
lineNumbers: num => num + _linesOfMetadata - 1,
});