2 " Language: limits(5) configuration file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-04-19
6 if exists("b:current_syntax")
13 syn keyword limitsTodo contained TODO FIXME XXX NOTE
15 syn region limitsComment display oneline start='^\s*#' end='$'
16 \ contains=limitsTodo,@Spell
18 syn match limitsBegin display '^'
19 \ nextgroup=limitsUser,limitsDefault,limitsComment
22 syn match limitsUser contained '[^ \t#*]\+'
23 \ nextgroup=limitsLimit,limitsDeLimit skipwhite
25 syn match limitsDefault contained '*'
26 \ nextgroup=limitsLimit,limitsDeLimit skipwhite
28 syn match limitsLimit contained '[ACDFMNRSTUKLP]' nextgroup=limitsNumber
29 syn match limitsDeLimit contained '-'
31 syn match limitsNumber contained '\d\+\>' nextgroup=limitsLimit skipwhite
33 hi def link limitsTodo Todo
34 hi def link limitsComment Comment
35 hi def link limitsUser Keyword
36 hi def link limitsDefault Macro
37 hi def link limitsLimit Identifier
38 hi def link limitsDeLimit Special
39 hi def link limitsNumber Number
41 let b:current_syntax = "limits"