Merge pull request #88 from db6edr/fix_beautify_with_editorconfig
Fix support for editorconfig with indent style = 'tab'
This commit is contained in:
commit
93afb3c6f8
|
@ -253,7 +253,7 @@ beautify = ->
|
|||
editorConfigOptions.indent_char = "\t"
|
||||
editorConfigOptions.indent_with_tabs = true
|
||||
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
|
||||
projectOptions = []
|
||||
|
|
Loading…
Reference in New Issue