mirror of
https://github.com/vim/vim
synced 2025-03-15 22:37:52 +01:00
13 lines
382 B
VimL
13 lines
382 B
VimL
" Vim support file to switch on loading indent files for file types
|
|
"
|
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
" Last Change: 2001 Sep 12
|
|
|
|
if exists("did_indent_on")
|
|
finish
|
|
endif
|
|
let did_indent_on = 1
|
|
|
|
augroup filetypeindent
|
|
au FileType * if expand("<amatch>") != "" | if exists("b:did_indent") | unlet b:did_indent | endif | runtime! indent/<amatch>.vim | endif
|
|
augroup END
|