Provide :Sleuth

References https://github.com/tpope/vim-sleuth/issues/36
This commit is contained in:
Tim Pope 2017-03-28 15:01:24 -04:00
parent 62c4f26187
commit 5cc6548b2e
2 changed files with 5 additions and 0 deletions

View File

@ -14,4 +14,7 @@ otherwise insufficient, by looking at other files of the same type in the
current and parent directories. In lieu of adjusting 'softtabstop', current and parent directories. In lieu of adjusting 'softtabstop',
'smarttab' is enabled. 'smarttab' is enabled.
*:Sleuth*
:Sleuth Manually detect indentation.
vim:tw=78:et:ft=help:norl: vim:tw=78:et:ft=help:norl:

View File

@ -166,4 +166,6 @@ augroup sleuth
autocmd FileType * call s:detect() autocmd FileType * call s:detect()
augroup END augroup END
command! -bar -bang Sleuth call s:detect()
" vim:set et sw=2: " vim:set et sw=2: