diff --git a/doc/sleuth.txt b/doc/sleuth.txt index d79a7fe..e187cc9 100644 --- a/doc/sleuth.txt +++ b/doc/sleuth.txt @@ -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', 'smarttab' is enabled. + *:Sleuth* +:Sleuth Manually detect indentation. + vim:tw=78:et:ft=help:norl: diff --git a/plugin/sleuth.vim b/plugin/sleuth.vim index df8bda4..276d9f7 100644 --- a/plugin/sleuth.vim +++ b/plugin/sleuth.vim @@ -166,4 +166,6 @@ augroup sleuth autocmd FileType * call s:detect() augroup END +command! -bar -bang Sleuth call s:detect() + " vim:set et sw=2: