vim: update release.sh to vim 7.3
[msysgit/mtrensch.git] / share / vim / vim72 / ftplugin / context.vim
blob1c7d678375b711ed4066668d4d147880e97d64f9
1 " Vim filetype plugin file
2 " Language:         ConTeXt typesetting engine
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2008-07-09
6 if exists("b:did_ftplugin")
7   finish
8 endif
9 let b:did_ftplugin = 1
11 let s:cpo_save = &cpo
12 set cpo&vim
14 let b:undo_ftplugin = "setl com< cms< def< inc< sua< fo<"
16 setlocal comments=b:%D,b:%C,b:%M,:% commentstring=%\ %s formatoptions+=tcroql
18 let &l:define='\\\%([egx]\|char\|mathchar\|count\|dimen\|muskip\|skip\|toks\)\='
19         \ .     'def\|\\font\|\\\%(future\)\=let'
20         \ . '\|\\new\%(count\|dimen\|skip\|muskip\|box\|toks\|read\|write'
21         \ .     '\|fam\|insert\|if\)'
23 let &l:include = '^\s*\%(input\|component\)'
25 setlocal suffixesadd=.tex
27 if exists("loaded_matchit")
28   let b:match_ignorecase = 0
29   let b:match_skip = 'r:\\\@<!\%(\\\\\)*%'
30   let b:match_words = '(:),\[:],{:},\\(:\\),\\\[:\\],' .
31         \ '\\start\(\a\+\):\\stop\1'
32 endif
34 let &cpo = s:cpo_save
35 unlet s:cpo_save