Fix incorrect setting of expandtab

This commit is contained in:
Tim Pope 2013-01-03 13:13:30 -05:00
parent dd0f3349a2
commit 4bae3d4618
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function! s:guess(lines) abort
if heuristics.hard && !heuristics.spaces
return {'expandtab': 0, 'shiftwidth': &tabstop}
elseif heuristics.soft != heuristics.hard
let options.expandtab = heuristics.soft > heuristics.spaces
let options.expandtab = heuristics.soft > heuristics.hard
if heuristics.hard
let options.tabstop = 8
endif