Provide :Sleuth
References https://github.com/tpope/vim-sleuth/issues/36
This commit is contained in:
parent
62c4f26187
commit
5cc6548b2e
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user