diff --git a/README.markdown b/README.markdown index 330c592..874844c 100644 --- a/README.markdown +++ b/README.markdown @@ -1,10 +1,10 @@ # sleuth.vim -This plugin automatically adjusts `'shiftwidth'` and `'tabstop'` heuristically -based on the current file, or, in the case the current file is new, blank, or -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. +This plugin automatically adjusts `'shiftwidth'` and `'expandtab'` +heuristically based on the current file, or, in the case the current file is +new, blank, or 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. Compare to [DetectIndent][]. I wrote this because I wanted something fully automatic. My goal is that by installing this plugin, you can remove all diff --git a/doc/sleuth.txt b/doc/sleuth.txt index 6307c68..d79a7fe 100644 --- a/doc/sleuth.txt +++ b/doc/sleuth.txt @@ -8,7 +8,7 @@ This plugin is only available if 'compatible' is not set. SUMMARY *sleuth* -This plugin automatically adjusts 'shiftwidth' and 'tabstop' heuristically +This plugin automatically adjusts 'shiftwidth' and 'expandtab' heuristically based on the current file, or, in the case the current file is new, blank, or otherwise insufficient, by looking at other files of the same type in the current and parent directories. In lieu of adjusting 'softtabstop',