Fix support for editorconfig with indent style = 'tab'
Replace non-existant config with editorConfigOptions
This commit is contained in:
parent
7c8d13a296
commit
7c56d84385
|
@ -253,7 +253,7 @@ beautify = ->
|
||||||
editorConfigOptions.indent_char = "\t"
|
editorConfigOptions.indent_char = "\t"
|
||||||
editorConfigOptions.indent_with_tabs = true
|
editorConfigOptions.indent_with_tabs = true
|
||||||
if (editorConfigOptions.tab_width)
|
if (editorConfigOptions.tab_width)
|
||||||
editorConfigOptions.indent_size = config.tab_width
|
editorConfigOptions.indent_size = editorConfigOptions.tab_width
|
||||||
|
|
||||||
# Get all options in configuration files from this directory upwards to root
|
# Get all options in configuration files from this directory upwards to root
|
||||||
projectOptions = []
|
projectOptions = []
|
||||||
|
|
Loading…
Reference in New Issue