We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76d014 commit f9ac1e0Copy full SHA for f9ac1e0
web_src/js/features/codeeditor.ts
@@ -240,6 +240,7 @@ function getEditorConfigOptions(ec: EditorConfig | null): MonacoOpts {
240
const opts: MonacoOpts = {};
241
opts.detectIndentation = !('indent_style' in ec) || !('indent_size' in ec);
242
243
+ // we use indentSize='tabSize' so these numbers always match
244
opts.tabSize = Number(ec.indent_size) || Number(ec.tab_width) || 4;
245
246
if ('max_line_length' in ec) {
0 commit comments