annotate runtime/ftplugin/context.vim @ 9820:6882920b42da v7.4.2185

commit https://github.com/vim/vim/commit/71dd9744cf3842cd45295010d2e5692da1651537 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 8 22:42:04 2016 +0200 patch 7.4.2185 Problem: Test glob2regpat does not test much. Solution: Add a few more test cases. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Mon, 08 Aug 2016 22:45:06 +0200
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