aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/detect_indent.vim
blob: fef4b65e0f04410f358ae3f28c4fec713fa11b28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
if exists('loaded_detect_indent') || &compatible
  finish
endif
let loaded_detect_indent = 1

command! -bar DetectIndent
      \ call detect_indent#()

augroup detect_indent
  autocmd!
  autocmd FileType *
        \ DetectIndent
augroup END