annotate runtime/ftplugin/context.vim @ 389:4fe8e1a7758e v7.0102

updated for version 7.0102
author vimboss
date Mon, 04 Jul 2005 22:49:24 +0000
parents f14cbd913415
children 1f3b1021f002
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
2 " Language: ConTeXt typesetting engine
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
3 " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
4 " Latest Revision: 2005-07-04
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("b:did_ftplugin")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9 let b:did_ftplugin = 1
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
14 let b:undo_ftplugin = "setl com< cms< def< inc< sua< fo<"
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
15
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
16 setlocal comments=:%,b:%D,b:%C,b:%M commentstring=%\ %s formatoptions+=tcroql
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
17
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 let &l:define='\\\%([egx]\|char\|mathchar\|count\|dimen\|muskip\|skip\|toks\)\='
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \ . 'def\|\\font\|\\\%(future\)\=let'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20 \ . '\|\\new\%(count\|dimen\|skip\|muskip\|box\|toks\|read\|write'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
21 \ . '\|fam\|insert\|if\)'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
22
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
23 let &l:include = '^\s*\%(input\|component\)'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
24
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
25 setlocal suffixesadd=.tex
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27 if exists("loaded_matchit")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 let b:match_ignorecase = 0
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29 let b:match_skip = 'r:\\\@<!\%(\\\\\)*%'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
30 let b:match_words = '(:),\[:],{:},\\(:\\),\\\[:\\],' .
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31 \ '\\start\(\a\+\):\\stop\1'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32 endif " exists("loaded_matchit")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
36 unlet s:cpo_save