Merge pull request #88 from db6edr/fix_beautify_with_editorconfig

Fix support for editorconfig with indent style = 'tab'
This commit is contained in:
Glavin Wiechert 2014-09-12 07:44:54 -03:00
commit 93afb3c6f8
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []