Fix incorrect setting of expandtab
This commit is contained in:
parent
dd0f3349a2
commit
4bae3d4618
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue