Try forcing filetype indent after sleuth

This commit is contained in:
Tim Pope 2017-04-09 17:21:31 -04:00
parent e3e5adfeaa
commit b6347df737
1 changed files with 5 additions and 4 deletions

View File

@ -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: