Lines 35-40
Link Here
|
35 |
syntax region crontabCmd start="\S" end="$" nextgroup=crontabCmnt skipwhite contained contains=crontabCmnt,crontabCmdSpecial keepend |
35 |
syntax region crontabCmd start="\S" end="$" nextgroup=crontabCmnt skipwhite contained contains=crontabCmnt,crontabCmdSpecial keepend |
36 |
syntax match crontabCmnt /#.*/ |
36 |
syntax match crontabCmnt /#.*/ |
37 |
|
37 |
|
|
|
38 |
syntax match crontabVar /^[A-Za-z][A-Za-z0-9\-\_]*/ nextgroup=crontabVarEq skipwhite |
39 |
syntax match crontabVarEq contained /=/ nextgroup=CrontabVarValQ,CrontabVarVal skipwhite |
40 |
syntax match crontabVarValQ contained /\(["']\).*\1/ skipwhite |
41 |
syntax match crontabVarVal contained /["']\@!\S\+/ skipwhite |
42 |
|
38 |
" Define the default highlighting. |
43 |
" Define the default highlighting. |
39 |
" For version 5.7 and earlier: only when not done already |
44 |
" For version 5.7 and earlier: only when not done already |
40 |
" For version 5.8 and later: only when an item doesn't have highlighting yet |
45 |
" For version 5.8 and later: only when an item doesn't have highlighting yet |
Lines 66-71
Link Here
|
66 |
HiLink crontabCmd Type |
71 |
HiLink crontabCmd Type |
67 |
HiLink crontabCmdSpecial Special |
72 |
HiLink crontabCmdSpecial Special |
68 |
|
73 |
|
|
|
74 |
HiLink crontabVar Identifier |
75 |
HiLink crontabVarEq Special |
76 |
HiLink crontabVarVal Constant |
77 |
HiLink crontabVarValQ String |
78 |
|
69 |
HiLink crontabCmnt Comment |
79 |
HiLink crontabCmnt Comment |
70 |
|
80 |
|
71 |
delcommand HiLink |
81 |
delcommand HiLink |