annotate runtime/syntax/limits.vim @ 17678:723ec38d521e v8.1.1836

patch 8.1.1836: inaccurate memory estimate for Amiga-like OS commit https://github.com/vim/vim/commit/a9ab391a3a5283754ef216daacbaac446f1f9077 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 10 14:54:20 2019 +0200 patch 8.1.1836: inaccurate memory estimate for Amiga-like OS Problem: Inaccurate memory estimate for Amiga-like OS. Solution: Adjust #ifdef for AvailMem(). (Ola S?der, closes https://github.com/vim/vim/issues/4797)
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Aug 2019 15:00:06 +0200
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