Tags: tpope/vim-sleuth
Tags
sleuth.vim 2.0 * Set endofline, fileformat, fileencoding, bomb from EditorConfig. * Set filetype from modeline and EditorConfig. * Set softtabstop to -1, always. * Drop autocmd neighbor detection in favor of simple extension matching. * Enable disabling heuristics on a per-filetype basis. * Bug fixes and assorted tweaks.
sleuth.vim 1.3 * Support EditorConfig and modelines. * Detect 'textwidth' and 'fixendofline' in EditorConfig and modelines. * Show reason for each option in :verbose Sleuth. * Assorted performance improvements. * Use most common indent increment, rather than smallest, as 'shiftwidth'. * Leverage 'shiftwidth' of 0 to delegate to 'tabstop'. * Limit neighbor detection to containing and parent directory. * Fix neighbor detection for *.h files. * Skip over heredocs in shell scripts, Perl, PHP, and Ruby. * Limit supported 'shiftwidth' values to 2, 3, and multiples of 4. * Provide option to opt out of :filetype indent on.
sleuth.vim 1.2 * Add option to limit number of other files checked, defaulting to 20. * Add global and local options to disable automatic detection. * Provide :Sleuth for manual detection. * Add indicator for flagship.vim. * Skip over Python style triple quoted strings. * Skip over XML/HTML style comments. * Skip over backtick quoted strings in Go files only. * Avoid activating on help buffers. * Check vimrc when sleuthing under Vim filetype. * Disallow odd 'shiftwidth' values greater than 3.