diff options
Diffstat (limited to 'vim/plugin/detect_indent.vim')
-rw-r--r-- | vim/plugin/detect_indent.vim | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vim/plugin/detect_indent.vim b/vim/plugin/detect_indent.vim deleted file mode 100644 index e75324ac..00000000 --- a/vim/plugin/detect_indent.vim +++ /dev/null @@ -1,23 +0,0 @@ -" -" detect_indent.vim: If 'expandtab' doesn't match the shape of the buffer's -" indents, switch it over, including a guess at 'shiftwidth' if switching it -" on. -" -" Author: Tom Ryder <tom@sanctum.geek.nz> -" License: Same as Vim itself -" -if exists('loaded_detect_indent') || &compatible || v:version < 700 - finish -endif -let loaded_detect_indent = 1 - -" Set up a user command in case the user wants to set this manually -command! -bar DetectIndent - \ call detect_indent#() - -" Add hook for FileType event; this should load *after* filetype plugins -augroup detect_indent - autocmd! - autocmd FileType * - \ DetectIndent -augroup END |