annotate runtime/ftplugin/context.vim @ 5746:798d83d15327

Added tag v7-4-217 for changeset 2f225a17c26b
author Bram Moolenaar <bram@vim.org>
date Tue, 25 Mar 2014 15:34:48 +0100
parents f4f8014d516e
children 07d2b5a3b7cc
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
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
4 " Latest Revision: 2008-07-09
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
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
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'
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
32 endif
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35 unlet s:cpo_save