annotate runtime/syntax/limits.vim @ 11099:613d9bcd7a52 v8.0.0437

patch 8.0.0437: packadd test does not fully work commit https://github.com/vim/vim/commit/644df41c44cbdfacdedbba55ef77a6c6031eccd8 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 9 13:58:02 2017 +0100 patch 8.0.0437: packadd test does not fully work Problem: The packadd test does not create the symlink correctly and does not test the right thing. Solution: Create the directory and symlink correctly.
author Christian Brabandt <cb@256bit.org>
date Thu, 09 Mar 2017 14:00:06 +0100
parents 1218c5353e2b
children
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
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: limits(5) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
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