Skip to content

Commit

Permalink
Bugfix: Never use multiple tabs for indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Foldi committed Dec 26, 2012
1 parent 0222d6c commit 42fe606
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/beautifier.vim
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ func! BeautifierEditorconfigHook(config)
let config["indent_char"] = ' '
elseif config["indent_style"] == 'tab'
let config["indent_char"] = '\t'
" When the indent_char is tab, we always want to use 1 tab
let config["indent_size"] = 1
endif
endif

Expand Down

0 comments on commit 42fe606

Please sign in to comment.