Fix support for editorconfig with indent style = 'tab'

Replace non-existant config with editorConfigOptions
This commit is contained in:
Dirk Raeder 2014-09-12 08:34:26 +02:00
parent 7c8d13a296
commit 7c56d84385
1 changed files with 1 additions and 1 deletions

View File

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