aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/user_indent.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/plugin/user_indent.vim')
-rw-r--r--vim/plugin/user_indent.vim24
1 files changed, 0 insertions, 24 deletions
diff --git a/vim/plugin/user_indent.vim b/vim/plugin/user_indent.vim
deleted file mode 100644
index 01596bdb..00000000
--- a/vim/plugin/user_indent.vim
+++ /dev/null
@@ -1,24 +0,0 @@
-"
-" user_indent.vim: When switching filetypes, look for a b:undo_user_indent
-" variable and use it in much the same way the core's indent.vim does
-" b:undo_indent in Vim >= 7.0. This allows you to undo your own indent files
-" the same way you can the core ones.
-"
-if exists('g:loaded_user_indent')
- \ || !has('autocmd')
- \ || &compatible
- finish
-endif
-let g:loaded_user_indent = 1
-
-function! s:LoadUserIndent()
- if exists('b:undo_user_indent')
- execute b:undo_user_indent
- unlet b:undo_user_indent
- endif
-endfunction
-
-augroup user_indent
- autocmd!
- autocmd FileType * call s:LoadUserIndent()
-augroup END