sleuth.vim : Heuristically set buffer options
| script karma
Downloaded by 714
Comments, bugs, improvements
script versions (upload new version)
|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 (vimscript #1171). I wrote this because I wanted something fully automatic. My goal is that by installing this plugin, you can remove all indenting related configuration from your vimrc.
|Extract in ~/.vim (~\vimfiles on Windows).|
Click on the package to download.
ip used for rating: 220.127.116.11
||Support custom tabstop in pure tabs files.
Fix performance issue with globbing for other files.
Skip over POD comments.