for python change default editor tab to 4

This commit is contained in:
Ruben Fiszel
2023-01-25 20:40:40 +01:00
parent e149f727b8
commit 9dfe335789
+2 -1
View File
@@ -411,7 +411,8 @@
model.updateOptions(updateOptions)
editor = meditor.create(divEl as HTMLDivElement, {
...editorConfig(model, code, lang, automaticLayout, fixedOverflowWidgets)
...editorConfig(model, code, lang, automaticLayout, fixedOverflowWidgets),
tabSize: lang == 'python' ? 4 : 2
})
let timeoutModel: NodeJS.Timeout | undefined = undefined