Skip to content

Commit

Permalink
Fix support for editorconfig with indent style = 'tab'
Browse files Browse the repository at this point in the history
Replace non-existant config with editorConfigOptions
  • Loading branch information
db6edr committed Sep 12, 2014
1 parent 7c8d13a commit 7c56d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beautify.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 7c56d84

Please sign in to comment.