view runtime/indent.vim @ 46:46d39f2eff86 v7.0027

updated for version 7.0027
author vimboss
date Fri, 31 Dec 2004 21:01:02 +0000
parents 3fc0f57ecb91
children fca8a9b65afa
line wrap: on
line source

" 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