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 cc56669 commit b76d014Copy full SHA for b76d014
web_src/js/features/codeeditor.ts
@@ -240,7 +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
- opts.tabSize = Number(ec.tab_width) || Number(ec.indent_size) || 4;
+ opts.tabSize = Number(ec.indent_size) || Number(ec.tab_width) || 4;
244
245
if ('max_line_length' in ec) {
246
opts.rulers = [Number(ec.max_line_length)];
0 commit comments