Commit 804ec551 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: remove buggy autoIndent: true

true is not an allowed value, causing a visible problem tabSize to be
ignored on empty documents and using 4 for python.
parent 8c0070e4
......@@ -29,7 +29,6 @@
context.editor = editor = monaco.editor.create(
this.element.querySelector('.monaco-container'),
{
autoIndent: true,
automaticLayout: window.ResizeObserver ? true : false,
stickyScroll: {
enabled: true,
......
......@@ -122,7 +122,6 @@ $script.onload = function() {
{
value: $textarea.value,
language: mode,
autoIndent: true,
experimental: {
stickyScroll: {
enabled: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment