From 7c56d84385e91798556ed534e1dfc4129a107d4b Mon Sep 17 00:00:00 2001 From: Dirk Raeder Date: Fri, 12 Sep 2014 08:34:26 +0200 Subject: [PATCH] Fix support for editorconfig with indent style = 'tab' Replace non-existant config with editorConfigOptions --- lib/beautify.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/beautify.coffee b/lib/beautify.coffee index 2e8592be6..4965b9217 100644 --- a/lib/beautify.coffee +++ b/lib/beautify.coffee @@ -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 = []