We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6580c22 commit afe28bdCopy full SHA for afe28bd
1 file changed
options.js
@@ -84,12 +84,13 @@ function set_file_editorconfig_opts(file, config) {
84
const eConfigs = editorconfig.parseSync(file);
85
if (eConfigs.indent_style === 'tab') {
86
config.indent_with_tabs = true;
87
+ config.indent_char = '\t';
88
} else if (eConfigs.indent_style === 'space') {
89
config.indent_with_tabs = false;
90
config.indent_char = ' ';
91
}
92
- if (eConfigs.indent_size) {
93
+ if (eConfigs.indent_size && eConfigs.indent_size !== 'tab') {
94
config.indent_size = eConfigs.indent_size;
95
96
0 commit comments