Mercurial > vim
annotate runtime/syntax/ratpoison.vim @ 32301:15352bf5c33e v9.0.1482
patch 9.0.1482: crash when textprop has a very large "padding" value
Commit: https://github.com/vim/vim/commit/2354b66ac52a8a9165e8bd0d642e19e757ba12c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 23 21:42:25 2023 +0100
patch 9.0.1482: crash when textprop has a very large "padding" value
Problem: Crash when textprop has a very large "padding" value. (Yegappan
Lakshmanan)
Solution: Avoid the "after" count to go negative.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Apr 2023 22:45:04 +0200 |
parents | 9f41bfdbc6fc |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
2 " Language: Ratpoison configuration/commands file ( /etc/ratpoisonrc ~/.ratpoisonrc ) | |
2788 | 3 " Maintainer: Magnus Woldrich <m@japh.se> |
4 " URL: http://github.com/trapd00r/vim-syntax-ratpoison | |
24468 | 5 " Last Change: 2021-04-12 13:46:04 |
2788 | 6 " Previous Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au> |
7 | 7 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
2788
diff
changeset
|
8 if exists("b:current_syntax") |
7 | 9 finish |
10 endif | |
11 | |
12 syn match ratpoisonComment "^\s*#.*$" contains=ratpoisonTodo | |
13 | |
14 syn keyword ratpoisonTodo TODO NOTE FIXME XXX contained | |
15 | |
16 syn case ignore | |
17 syn keyword ratpoisonBooleanArg on off contained | |
18 syn case match | |
19 | |
548 | 20 syn keyword ratpoisonCommandArg abort addhook alias banish chdir contained |
21 syn keyword ratpoisonCommandArg clrunmanaged cnext colon compat cother contained | |
22 syn keyword ratpoisonCommandArg cprev curframe dedicate definekey delete contained | |
23 syn keyword ratpoisonCommandArg delkmap describekey echo escape exec contained | |
24 syn keyword ratpoisonCommandArg fdump focus focusdown focuslast focusleft contained | |
25 syn keyword ratpoisonCommandArg focusprev focusright focusup frestore fselect contained | |
26 syn keyword ratpoisonCommandArg gdelete getenv getsel gmerge gmove contained | |
27 syn keyword ratpoisonCommandArg gnew gnewbg gnext gprev gravity contained | |
28 syn keyword ratpoisonCommandArg groups gselect help hsplit inext contained | |
29 syn keyword ratpoisonCommandArg info iother iprev kill lastmsg contained | |
30 syn keyword ratpoisonCommandArg license link listhook meta msgwait contained | |
31 syn keyword ratpoisonCommandArg newkmap newwm next nextscreen number contained | |
32 syn keyword ratpoisonCommandArg only other prev prevscreen prompt contained | |
33 syn keyword ratpoisonCommandArg putsel quit ratclick rathold ratrelwarp contained | |
34 syn keyword ratpoisonCommandArg ratwarp readkey redisplay redo remhook contained | |
35 syn keyword ratpoisonCommandArg remove resize restart rudeness sdump contained | |
36 syn keyword ratpoisonCommandArg select set setenv sfdump shrink contained | |
37 syn keyword ratpoisonCommandArg source sselect startup_message time title contained | |
38 syn keyword ratpoisonCommandArg tmpwm unalias undefinekey undo unmanage contained | |
39 syn keyword ratpoisonCommandArg unsetenv verbexec version vsplit warp contained | |
24468 | 40 syn keyword ratpoisonCommandArg windows framefmt infofmt contained |
7 | 41 |
42 syn match ratpoisonGravityArg "\<\(n\|north\)\>" contained | |
43 syn match ratpoisonGravityArg "\<\(nw\|northwest\)\>" contained | |
44 syn match ratpoisonGravityArg "\<\(ne\|northeast\)\>" contained | |
45 syn match ratpoisonGravityArg "\<\(w\|west\)\>" contained | |
46 syn match ratpoisonGravityArg "\<\(c\|center\)\>" contained | |
47 syn match ratpoisonGravityArg "\<\(e\|east\)\>" contained | |
48 syn match ratpoisonGravityArg "\<\(s\|south\)\>" contained | |
49 syn match ratpoisonGravityArg "\<\(sw\|southwest\)\>" contained | |
50 syn match ratpoisonGravityArg "\<\(se\|southeast\)\>" contained | |
51 syn case match | |
52 | |
53 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(F[1-9][0-9]\=\|\(\a\|\d\)\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
54 | |
55 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(space\|exclam\|quotedbl\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
56 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(numbersign\|dollar\|percent\|ampersand\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
57 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(apostrophe\|quoteright\|parenleft\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
58 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(parenright\|asterisk\|plus\|comma\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
59 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(minus\|period\|slash\|colon\|semicolon\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
60 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(less\|equal\|greater\|question\|at\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
61 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(bracketleft\|backslash\|bracketright\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
62 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(asciicircum\|underscore\|grave\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
63 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(quoteleft\|braceleft\|bar\|braceright\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
64 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(asciitilde\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
65 | |
66 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(BackSpace\|Tab\|Linefeed\|Clear\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
67 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Return\|Pause\|Scroll_Lock\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
68 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Sys_Req\|Escape\|Delete\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
69 | |
70 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Home\|Left\|Up\|Right\|Down\|Prior\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
71 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Page_Up\|Next\|Page_Down\|End\|Begin\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
72 | |
73 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Select\|Print\|Execute\|Insert\|Undo\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
74 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Redo\|Menu\|Find\|Cancel\|Help\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
75 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Break\|Mode_switch\|script_switch\|Num_Lock\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
76 | |
77 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Space\|Tab\|Enter\|F[1234]\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
78 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Home\|Left\|Up\|Right\|Down\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
79 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Prior\|Page_Up\|Next\|Page_Down\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
80 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(End\|Begin\|Insert\|Delete\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
81 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Equal\|Multiply\|Add\|Separator\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
82 syn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Subtract\|Decimal\|Divide\|\d\)\>" contained nextgroup=ratpoisonCommandArg skipwhite | |
83 | |
84 syn match ratpoisonHookArg "\<\(key\|switchwin\|switchframe\|switchgroup\|quit\|restart\)\>" contained | |
85 | |
86 syn match ratpoisonNumberArg "\<\d\+\>" contained nextgroup=ratpoisonNumberArg skipwhite | |
87 | |
88 syn keyword ratpoisonSetArg barborder contained nextgroup=ratpoisonNumberArg | |
89 syn keyword ratpoisonSetArg bargravity contained nextgroup=ratpoisonGravityArg | |
90 syn keyword ratpoisonSetArg barpadding contained nextgroup=ratpoisonNumberArg | |
91 syn keyword ratpoisonSetArg bgcolor | |
92 syn keyword ratpoisonSetArg border contained nextgroup=ratpoisonNumberArg | |
93 syn keyword ratpoisonSetArg fgcolor | |
24468 | 94 syn keyword ratpoisonSetArg framefmt contained nextgroup=ratpoisonWinFmtArg |
2788 | 95 syn keyword ratpoisonSetArg fwcolor |
24468 | 96 syn keyword ratpoisonSetArg framemsgwait contained nextgroup=ratpoisonNumberArg |
97 syn keyword ratpoisonSetArg gravity contained nextgroup=ratpoisonGravityArg | |
2788 | 98 syn keyword ratpoisonSetArg bwcolor |
24468 | 99 syn keyword ratpoisonSetArg gravity contained nextgroup=ratpoisonGravityArg |
2788 | 100 syn keyword ratpoisonSetArg historysize |
101 syn keyword ratpoisonSetArg historycompaction | |
102 syn keyword ratpoisonSetArg historyexpansion | |
24468 | 103 syn keyword ratpoisonSetArg infofmt contained nextgroup=ratpoisonWinFmtArg |
2788 | 104 syn keyword ratpoisonSetArg topkmap |
105 syn keyword ratpoisonSetArg barinpadding | |
7 | 106 syn keyword ratpoisonSetArg font |
107 syn keyword ratpoisonSetArg framesels | |
24468 | 108 syn keyword ratpoisonSetArg maxundos |
7 | 109 syn keyword ratpoisonSetArg inputwidth contained nextgroup=ratpoisonNumberArg |
110 syn keyword ratpoisonSetArg maxsizegravity contained nextgroup=ratpoisonGravityArg | |
24468 | 111 syn keyword ratpoisonSetArg msgwait contained nextgroup=ratpoisonNumberArg |
7 | 112 syn keyword ratpoisonSetArg padding contained nextgroup=ratpoisonNumberArg |
113 syn keyword ratpoisonSetArg resizeunit contained nextgroup=ratpoisonNumberArg | |
24468 | 114 syn keyword ratpoisonSetArg startup_message |
7 | 115 syn keyword ratpoisonSetArg transgravity contained nextgroup=ratpoisonGravityArg |
116 syn keyword ratpoisonSetArg waitcursor contained nextgroup=ratpoisonNumberArg | |
117 syn keyword ratpoisonSetArg winfmt contained nextgroup=ratpoisonWinFmtArg | |
118 syn keyword ratpoisonSetArg wingravity contained nextgroup=ratpoisonGravityArg | |
119 syn keyword ratpoisonSetArg winliststyle contained nextgroup=ratpoisonWinListArg | |
120 syn keyword ratpoisonSetArg winname contained nextgroup=ratpoisonWinNameArg | |
121 | |
122 syn match ratpoisonWinFmtArg "%[nstacil]" contained nextgroup=ratpoisonWinFmtArg skipwhite | |
24468 | 123 syn match ratpoisonFrameFmtArg "%[nstacil]" contained nextgroup=ratpoisonWinFmtArg skipwhite |
124 syn match ratpoisonInfoFmtArg "%[nstacil]" contained nextgroup=ratpoisonWinFmtArg skipwhite | |
7 | 125 |
126 syn match ratpoisonWinListArg "\<\(row\|column\)\>" contained | |
127 | |
128 syn match ratpoisonWinNameArg "\<\(name\|title\|class\)\>" contained | |
129 | |
130 syn match ratpoisonDefCommand "^\s*set\s*" nextgroup=ratpoisonSetArg | |
131 syn match ratpoisonDefCommand "^\s*defbarborder\s*" nextgroup=ratpoisonNumberArg | |
132 syn match ratpoisonDefCommand "^\s*defbargravity\s*" nextgroup=ratpoisonGravityArg | |
133 syn match ratpoisonDefCommand "^\s*defbarpadding\s*" nextgroup=ratpoisonNumberArg | |
134 syn match ratpoisonDefCommand "^\s*defbgcolor\s*" | |
135 syn match ratpoisonDefCommand "^\s*defborder\s*" nextgroup=ratpoisonNumberArg | |
136 syn match ratpoisonDefCommand "^\s*deffgcolor\s*" | |
137 syn match ratpoisonDefCommand "^\s*deffont\s*" | |
24468 | 138 syn match ratpoisonDefCommand "^\s*defframefmt\s*" nextgroup=ratpoisonWinFmtArg |
7 | 139 syn match ratpoisonDefCommand "^\s*defframesels\s*" |
140 syn match ratpoisonDefCommand "^\s*definputwidth\s*" nextgroup=ratpoisonNumberArg | |
141 syn match ratpoisonDefCommand "^\s*defmaxsizegravity\s*" nextgroup=ratpoisonGravityArg | |
142 syn match ratpoisonDefCommand "^\s*defpadding\s*" nextgroup=ratpoisonNumberArg | |
143 syn match ratpoisonDefCommand "^\s*defresizeunit\s*" nextgroup=ratpoisonNumberArg | |
144 syn match ratpoisonDefCommand "^\s*deftransgravity\s*" nextgroup=ratpoisonGravityArg | |
145 syn match ratpoisonDefCommand "^\s*defwaitcursor\s*" nextgroup=ratpoisonNumberArg | |
146 syn match ratpoisonDefCommand "^\s*defwinfmt\s*" nextgroup=ratpoisonWinFmtArg | |
147 syn match ratpoisonDefCommand "^\s*defwingravity\s*" nextgroup=ratpoisonGravityArg | |
148 syn match ratpoisonDefCommand "^\s*defwinliststyle\s*" nextgroup=ratpoisonWinListArg | |
149 syn match ratpoisonDefCommand "^\s*defwinname\s*" nextgroup=ratpoisonWinNameArg | |
150 syn match ratpoisonDefCommand "^\s*msgwait\s*" nextgroup=ratpoisonNumberArg | |
151 | |
152 syn match ratpoisonStringCommand "^\s*\zsaddhook\ze\s*" nextgroup=ratpoisonHookArg | |
153 syn match ratpoisonStringCommand "^\s*\zsalias\ze\s*" | |
154 syn match ratpoisonStringCommand "^\s*\zsbind\ze\s*" nextgroup=ratpoisonKeySeqArg | |
155 syn match ratpoisonStringCommand "^\s*\zschdir\ze\s*" | |
156 syn match ratpoisonStringCommand "^\s*\zscolon\ze\s*" nextgroup=ratpoisonCommandArg | |
548 | 157 syn match ratpoisonStringCommand "^\s*\zsdedicate\ze\s*" nextgroup=ratpoisonNumberArg |
7 | 158 syn match ratpoisonStringCommand "^\s*\zsdefinekey\ze\s*" |
159 syn match ratpoisonStringCommand "^\s*\zsdelkmap\ze\s*" | |
548 | 160 syn match ratpoisonStringCommand "^\s*\zsdescribekey\ze\s*" |
7 | 161 syn match ratpoisonStringCommand "^\s*\zsecho\ze\s*" |
162 syn match ratpoisonStringCommand "^\s*\zsescape\ze\s*" nextgroup=ratpoisonKeySeqArg | |
163 syn match ratpoisonStringCommand "^\s*\zsexec\ze\s*" | |
164 syn match ratpoisonStringCommand "^\s*\zsfdump\ze\s*" | |
165 syn match ratpoisonStringCommand "^\s*\zsfrestore\ze\s*" | |
166 syn match ratpoisonStringCommand "^\s*\zsgdelete\ze\s*" | |
167 syn match ratpoisonStringCommand "^\s*\zsgetenv\ze\s*" | |
168 syn match ratpoisonStringCommand "^\s*\zsgravity\ze\s*" nextgroup=ratpoisonGravityArg | |
169 syn match ratpoisonStringCommand "^\s*\zsgselect\ze\s*" | |
170 syn match ratpoisonStringCommand "^\s*\zslink\ze\s*" nextgroup=ratpoisonKeySeqArg | |
171 syn match ratpoisonStringCommand "^\s*\zslisthook\ze\s*" nextgroup=ratpoisonHookArg | |
172 syn match ratpoisonStringCommand "^\s*\zsnewkmap\ze\s*" | |
173 syn match ratpoisonStringCommand "^\s*\zsnewwm\ze\s*" | |
174 syn match ratpoisonStringCommand "^\s*\zsnumber\ze\s*" nextgroup=ratpoisonNumberArg | |
548 | 175 syn match ratpoisonStringCommand "^\s*\zsprompt\ze\s*" |
176 syn match ratpoisonStringCommand "^\s*\zsratwarp\ze\s*" | |
177 syn match ratpoisonStringCommand "^\s*\zsratrelwarp\ze\s*" | |
178 syn match ratpoisonStringCommand "^\s*\zsratclick\ze\s*" | |
179 syn match ratpoisonStringCommand "^\s*\zsrathold\ze\s*" | |
7 | 180 syn match ratpoisonStringCommand "^\s*\zsreadkey\ze\s*" |
181 syn match ratpoisonStringCommand "^\s*\zsremhook\ze\s*" nextgroup=ratpoisonHookArg | |
182 syn match ratpoisonStringCommand "^\s*\zsresize\ze\s*" nextgroup=ratpoisonNumberArg | |
183 syn match ratpoisonStringCommand "^\s*\zsrudeness\ze\s*" nextgroup=ratpoisonNumberArg | |
184 syn match ratpoisonStringCommand "^\s*\zsselect\ze\s*" nextgroup=ratpoisonNumberArg | |
185 syn match ratpoisonStringCommand "^\s*\zssetenv\ze\s*" | |
186 syn match ratpoisonStringCommand "^\s*\zssource\ze\s*" | |
548 | 187 syn match ratpoisonStringCommand "^\s*\zssselect\ze\s*" |
7 | 188 syn match ratpoisonStringCommand "^\s*\zsstartup_message\ze\s*" nextgroup=ratpoisonBooleanArg |
189 syn match ratpoisonStringCommand "^\s*\zstitle\ze\s*" | |
190 syn match ratpoisonStringCommand "^\s*\zstmpwm\ze\s*" | |
191 syn match ratpoisonStringCommand "^\s*\zsunalias\ze\s*" | |
192 syn match ratpoisonStringCommand "^\s*\zsunbind\ze\s*" nextgroup=ratpoisonKeySeqArg | |
548 | 193 syn match ratpoisonStringCommand "^\s*\zsundefinekey\ze\s*" |
7 | 194 syn match ratpoisonStringCommand "^\s*\zsunmanage\ze\s*" |
195 syn match ratpoisonStringCommand "^\s*\zsunsetenv\ze\s*" | |
196 syn match ratpoisonStringCommand "^\s*\zsverbexec\ze\s*" | |
197 syn match ratpoisonStringCommand "^\s*\zswarp\ze\s*" nextgroup=ratpoisonBooleanArg | |
198 | |
199 syn match ratpoisonVoidCommand "^\s*\zsabort\ze\s*$" | |
200 syn match ratpoisonVoidCommand "^\s*\zsbanish\ze\s*$" | |
201 syn match ratpoisonVoidCommand "^\s*\zsclrunmanaged\ze\s*$" | |
548 | 202 syn match ratpoisonVoidCommand "^\s*\zscnext\ze\s*$" |
203 syn match ratpoisonVoidCommand "^\s*\zscompat\ze\s*$" | |
204 syn match ratpoisonVoidCommand "^\s*\zscother\ze\s*$" | |
205 syn match ratpoisonVoidCommand "^\s*\zscprev\ze\s*$" | |
7 | 206 syn match ratpoisonVoidCommand "^\s*\zscurframe\ze\s*$" |
207 syn match ratpoisonVoidCommand "^\s*\zsdelete\ze\s*$" | |
208 syn match ratpoisonVoidCommand "^\s*\zsfocusdown\ze\s*$" | |
209 syn match ratpoisonVoidCommand "^\s*\zsfocuslast\ze\s*$" | |
210 syn match ratpoisonVoidCommand "^\s*\zsfocusleft\ze\s*$" | |
548 | 211 syn match ratpoisonVoidCommand "^\s*\zsfocusprev\ze\s*$" |
7 | 212 syn match ratpoisonVoidCommand "^\s*\zsfocusright\ze\s*$" |
548 | 213 syn match ratpoisonVoidCommand "^\s*\zsfocusup\ze\s*$" |
7 | 214 syn match ratpoisonVoidCommand "^\s*\zsfocus\ze\s*$" |
215 syn match ratpoisonVoidCommand "^\s*\zsfselect\ze\s*$" | |
548 | 216 syn match ratpoisonVoidCommand "^\s*\zsgetsel\ze\s*$" |
7 | 217 syn match ratpoisonVoidCommand "^\s*\zsgmerge\ze\s*$" |
218 syn match ratpoisonVoidCommand "^\s*\zsgmove\ze\s*$" | |
219 syn match ratpoisonVoidCommand "^\s*\zsgnewbg\ze\s*$" | |
220 syn match ratpoisonVoidCommand "^\s*\zsgnew\ze\s*$" | |
221 syn match ratpoisonVoidCommand "^\s*\zsgnext\ze\s*$" | |
222 syn match ratpoisonVoidCommand "^\s*\zsgprev\ze\s*$" | |
223 syn match ratpoisonVoidCommand "^\s*\zsgroups\ze\s*$" | |
224 syn match ratpoisonVoidCommand "^\s*\zshelp\ze\s*$" | |
225 syn match ratpoisonVoidCommand "^\s*\zshsplit\ze\s*$" | |
548 | 226 syn match ratpoisonVoidCommand "^\s*\zsinext\ze\s*$" |
7 | 227 syn match ratpoisonVoidCommand "^\s*\zsinfo\ze\s*$" |
548 | 228 syn match ratpoisonVoidCommand "^\s*\zsiother\ze\s*$" |
229 syn match ratpoisonVoidCommand "^\s*\zsiprev\ze\s*$" | |
7 | 230 syn match ratpoisonVoidCommand "^\s*\zskill\ze\s*$" |
231 syn match ratpoisonVoidCommand "^\s*\zslastmsg\ze\s*$" | |
232 syn match ratpoisonVoidCommand "^\s*\zslicense\ze\s*$" | |
233 syn match ratpoisonVoidCommand "^\s*\zsmeta\ze\s*$" | |
548 | 234 syn match ratpoisonVoidCommand "^\s*\zsnextscreen\ze\s*$" |
7 | 235 syn match ratpoisonVoidCommand "^\s*\zsnext\ze\s*$" |
236 syn match ratpoisonVoidCommand "^\s*\zsonly\ze\s*$" | |
237 syn match ratpoisonVoidCommand "^\s*\zsother\ze\s*$" | |
548 | 238 syn match ratpoisonVoidCommand "^\s*\zsprevscreen\ze\s*$" |
7 | 239 syn match ratpoisonVoidCommand "^\s*\zsprev\ze\s*$" |
548 | 240 syn match ratpoisonVoidCommand "^\s*\zsputsel\ze\s*$" |
7 | 241 syn match ratpoisonVoidCommand "^\s*\zsquit\ze\s*$" |
242 syn match ratpoisonVoidCommand "^\s*\zsredisplay\ze\s*$" | |
548 | 243 syn match ratpoisonVoidCommand "^\s*\zsredo\ze\s*$" |
7 | 244 syn match ratpoisonVoidCommand "^\s*\zsremove\ze\s*$" |
245 syn match ratpoisonVoidCommand "^\s*\zsrestart\ze\s*$" | |
548 | 246 syn match ratpoisonVoidCommand "^\s*\zssdump\ze\s*$" |
247 syn match ratpoisonVoidCommand "^\s*\zssfdump\ze\s*$" | |
7 | 248 syn match ratpoisonVoidCommand "^\s*\zsshrink\ze\s*$" |
249 syn match ratpoisonVoidCommand "^\s*\zssplit\ze\s*$" | |
250 syn match ratpoisonVoidCommand "^\s*\zstime\ze\s*$" | |
548 | 251 syn match ratpoisonVoidCommand "^\s*\zsundo\ze\s*$" |
7 | 252 syn match ratpoisonVoidCommand "^\s*\zsversion\ze\s*$" |
253 syn match ratpoisonVoidCommand "^\s*\zsvsplit\ze\s*$" | |
254 syn match ratpoisonVoidCommand "^\s*\zswindows\ze\s*$" | |
255 | |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
256 hi def link ratpoisonBooleanArg Boolean |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
257 hi def link ratpoisonCommandArg Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
258 hi def link ratpoisonComment Comment |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
259 hi def link ratpoisonDefCommand Identifier |
24468 | 260 hi def link ratpoisonFrameFmtArg Special |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
261 hi def link ratpoisonGravityArg Constant |
24468 | 262 hi def link ratpoisonInfoFmtArg Special |
10051
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
263 hi def link ratpoisonKeySeqArg Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
264 hi def link ratpoisonNumberArg Number |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
265 hi def link ratpoisonSetArg Keyword |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
266 hi def link ratpoisonStringCommand Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
267 hi def link ratpoisonTodo Todo |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
268 hi def link ratpoisonVoidCommand Identifier |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
269 hi def link ratpoisonWinFmtArg Special |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
270 hi def link ratpoisonWinNameArg Constant |
46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents:
10048
diff
changeset
|
271 hi def link ratpoisonWinListArg Constant |
7 | 272 |
273 let b:current_syntax = "ratpoison" | |
274 | |
275 " vim: ts=8 |