Try forcing filetype indent after sleuth
This commit is contained in:
parent
e3e5adfeaa
commit
b6347df737
@ -157,10 +157,6 @@ endfunction
|
||||
|
||||
setglobal smarttab
|
||||
|
||||
if !exists('g:did_indent_on')
|
||||
filetype indent on
|
||||
endif
|
||||
|
||||
function! SleuthIndicator() abort
|
||||
if &expandtab
|
||||
return 'sw='.&shiftwidth
|
||||
@ -180,4 +176,9 @@ augroup END
|
||||
|
||||
command! -bar -bang Sleuth call s:detect()
|
||||
|
||||
if exists('g:did_indent_on')
|
||||
filetype indent off
|
||||
endif
|
||||
filetype indent on
|
||||
|
||||
" vim:set et sw=2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user