annotate runtime/syntax/limits.vim @ 5580:6fdb1d6646b6 v7.4.137

updated for version 7.4.137 Problem: Cannot use IME with Windows 8 console. Solution: Change the user of ReadConsoleInput() and PeekConsoleInput(). (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Fri, 10 Jan 2014 13:51:42 +0100
parents 1f3b1021f002
children 1218c5353e2b
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 syntax file
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
2 " Language: limits(5) configuration file
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 375
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 375
diff changeset
4 " Latest Revision: 2006-04-19
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:current_syntax")
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
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 set cpo&vim
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
12
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13 syn keyword limitsTodo contained TODO FIXME XXX NOTE
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
14
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
15 syn region limitsComment display oneline start='^\s*#' end='$'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16 \ contains=limitsTodo,@Spell
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
17
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 syn match limitsBegin display '^'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \ nextgroup=limitsUser,limitsDefault,limitsComment
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20 \ skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
21
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
22 syn match limitsUser contained '[^ \t#*]\+'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
23 \ nextgroup=limitsLimit,limitsDeLimit skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
24
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
25 syn match limitsDefault contained '*'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26 \ nextgroup=limitsLimit,limitsDeLimit skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 syn match limitsLimit contained '[ACDFMNRSTUKLP]' nextgroup=limitsNumber
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29 syn match limitsDeLimit contained '-'
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
30
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
31 syn match limitsNumber contained '\d\+\>' nextgroup=limitsLimit skipwhite
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33 hi def link limitsTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
34 hi def link limitsComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
35 hi def link limitsUser Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
36 hi def link limitsDefault Macro
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
37 hi def link limitsLimit Identifier
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
38 hi def link limitsDeLimit Special
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
39 hi def link limitsNumber Number
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
40
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
41 let b:current_syntax = "limits"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
42
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
43 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
44 unlet s:cpo_save