fx-compat: Scaffold: Fix indentation using spaces
This commit is contained in:
parent
dc96c1a175
commit
916627b590
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
});
|
||||
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue