1071d4279SBram Moolenaar" Vim syntax file 2071d4279SBram Moolenaar" Language: Ratpoison configuration/commands file ( /etc/ratpoisonrc ~/.ratpoisonrc ) 38e5af3e5SBram Moolenaar" Maintainer: Magnus Woldrich <[email protected]> 48e5af3e5SBram Moolenaar" URL: http://github.com/trapd00r/vim-syntax-ratpoison 5*56994d21SBram Moolenaar" Last Change: 2021-04-12 13:46:04 68e5af3e5SBram Moolenaar" Previous Maintainer: Doug Kearns <[email protected]> 7071d4279SBram Moolenaar 889bcfda6SBram Moolenaarif exists("b:current_syntax") 9071d4279SBram Moolenaar finish 10071d4279SBram Moolenaarendif 11071d4279SBram Moolenaar 12071d4279SBram Moolenaarsyn match ratpoisonComment "^\s*#.*$" contains=ratpoisonTodo 13071d4279SBram Moolenaar 14071d4279SBram Moolenaarsyn keyword ratpoisonTodo TODO NOTE FIXME XXX contained 15071d4279SBram Moolenaar 16071d4279SBram Moolenaarsyn case ignore 17071d4279SBram Moolenaarsyn keyword ratpoisonBooleanArg on off contained 18071d4279SBram Moolenaarsyn case match 19071d4279SBram Moolenaar 20d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg abort addhook alias banish chdir contained 21d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg clrunmanaged cnext colon compat cother contained 22d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg cprev curframe dedicate definekey delete contained 23d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg delkmap describekey echo escape exec contained 24d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg fdump focus focusdown focuslast focusleft contained 25d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg focusprev focusright focusup frestore fselect contained 26d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg gdelete getenv getsel gmerge gmove contained 27d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg gnew gnewbg gnext gprev gravity contained 28d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg groups gselect help hsplit inext contained 29d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg info iother iprev kill lastmsg contained 30d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg license link listhook meta msgwait contained 31d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg newkmap newwm next nextscreen number contained 32d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg only other prev prevscreen prompt contained 33d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg putsel quit ratclick rathold ratrelwarp contained 34d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg ratwarp readkey redisplay redo remhook contained 35d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg remove resize restart rudeness sdump contained 36d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg select set setenv sfdump shrink contained 37d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg source sselect startup_message time title contained 38d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg tmpwm unalias undefinekey undo unmanage contained 39d5cdbeb8SBram Moolenaarsyn keyword ratpoisonCommandArg unsetenv verbexec version vsplit warp contained 40*56994d21SBram Moolenaarsyn keyword ratpoisonCommandArg windows framefmt infofmt contained 41071d4279SBram Moolenaar 42071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(n\|north\)\>" contained 43071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(nw\|northwest\)\>" contained 44071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(ne\|northeast\)\>" contained 45071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(w\|west\)\>" contained 46071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(c\|center\)\>" contained 47071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(e\|east\)\>" contained 48071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(s\|south\)\>" contained 49071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(sw\|southwest\)\>" contained 50071d4279SBram Moolenaarsyn match ratpoisonGravityArg "\<\(se\|southeast\)\>" contained 51071d4279SBram Moolenaarsyn case match 52071d4279SBram Moolenaar 53071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(F[1-9][0-9]\=\|\(\a\|\d\)\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 54071d4279SBram Moolenaar 55071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(space\|exclam\|quotedbl\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 56071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(numbersign\|dollar\|percent\|ampersand\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 57071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(apostrophe\|quoteright\|parenleft\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 58071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(parenright\|asterisk\|plus\|comma\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 59071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(minus\|period\|slash\|colon\|semicolon\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 60071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(less\|equal\|greater\|question\|at\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 61071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(bracketleft\|backslash\|bracketright\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 62071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(asciicircum\|underscore\|grave\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 63071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(quoteleft\|braceleft\|bar\|braceright\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 64071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(asciitilde\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 65071d4279SBram Moolenaar 66071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(BackSpace\|Tab\|Linefeed\|Clear\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 67071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Return\|Pause\|Scroll_Lock\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 68071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Sys_Req\|Escape\|Delete\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 69071d4279SBram Moolenaar 70071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Home\|Left\|Up\|Right\|Down\|Prior\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 71071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Page_Up\|Next\|Page_Down\|End\|Begin\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 72071d4279SBram Moolenaar 73071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Select\|Print\|Execute\|Insert\|Undo\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 74071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Redo\|Menu\|Find\|Cancel\|Help\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 75071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=\(Break\|Mode_switch\|script_switch\|Num_Lock\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 76071d4279SBram Moolenaar 77071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Space\|Tab\|Enter\|F[1234]\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 78071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Home\|Left\|Up\|Right\|Down\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 79071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Prior\|Page_Up\|Next\|Page_Down\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 80071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(End\|Begin\|Insert\|Delete\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 81071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Equal\|Multiply\|Add\|Separator\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 82071d4279SBram Moolenaarsyn match ratpoisonKeySeqArg "\<\([CMASH]\(-[CMASH]\)\{,4}-\)\=KP_\(Subtract\|Decimal\|Divide\|\d\)\>" contained nextgroup=ratpoisonCommandArg skipwhite 83071d4279SBram Moolenaar 84071d4279SBram Moolenaarsyn match ratpoisonHookArg "\<\(key\|switchwin\|switchframe\|switchgroup\|quit\|restart\)\>" contained 85071d4279SBram Moolenaar 86071d4279SBram Moolenaarsyn match ratpoisonNumberArg "\<\d\+\>" contained nextgroup=ratpoisonNumberArg skipwhite 87071d4279SBram Moolenaar 88071d4279SBram Moolenaarsyn keyword ratpoisonSetArg barborder contained nextgroup=ratpoisonNumberArg 89071d4279SBram Moolenaarsyn keyword ratpoisonSetArg bargravity contained nextgroup=ratpoisonGravityArg 90071d4279SBram Moolenaarsyn keyword ratpoisonSetArg barpadding contained nextgroup=ratpoisonNumberArg 91071d4279SBram Moolenaarsyn keyword ratpoisonSetArg bgcolor 92071d4279SBram Moolenaarsyn keyword ratpoisonSetArg border contained nextgroup=ratpoisonNumberArg 93071d4279SBram Moolenaarsyn keyword ratpoisonSetArg fgcolor 94*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg framefmt contained nextgroup=ratpoisonWinFmtArg 958e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg fwcolor 96*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg framemsgwait contained nextgroup=ratpoisonNumberArg 97*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg gravity contained nextgroup=ratpoisonGravityArg 988e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg bwcolor 99*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg gravity contained nextgroup=ratpoisonGravityArg 1008e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg historysize 1018e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg historycompaction 1028e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg historyexpansion 103*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg infofmt contained nextgroup=ratpoisonWinFmtArg 1048e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg topkmap 1058e5af3e5SBram Moolenaarsyn keyword ratpoisonSetArg barinpadding 106071d4279SBram Moolenaarsyn keyword ratpoisonSetArg font 107071d4279SBram Moolenaarsyn keyword ratpoisonSetArg framesels 108*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg maxundos 109071d4279SBram Moolenaarsyn keyword ratpoisonSetArg inputwidth contained nextgroup=ratpoisonNumberArg 110071d4279SBram Moolenaarsyn keyword ratpoisonSetArg maxsizegravity contained nextgroup=ratpoisonGravityArg 111*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg msgwait contained nextgroup=ratpoisonNumberArg 112071d4279SBram Moolenaarsyn keyword ratpoisonSetArg padding contained nextgroup=ratpoisonNumberArg 113071d4279SBram Moolenaarsyn keyword ratpoisonSetArg resizeunit contained nextgroup=ratpoisonNumberArg 114*56994d21SBram Moolenaarsyn keyword ratpoisonSetArg startup_message 115071d4279SBram Moolenaarsyn keyword ratpoisonSetArg transgravity contained nextgroup=ratpoisonGravityArg 116071d4279SBram Moolenaarsyn keyword ratpoisonSetArg waitcursor contained nextgroup=ratpoisonNumberArg 117071d4279SBram Moolenaarsyn keyword ratpoisonSetArg winfmt contained nextgroup=ratpoisonWinFmtArg 118071d4279SBram Moolenaarsyn keyword ratpoisonSetArg wingravity contained nextgroup=ratpoisonGravityArg 119071d4279SBram Moolenaarsyn keyword ratpoisonSetArg winliststyle contained nextgroup=ratpoisonWinListArg 120071d4279SBram Moolenaarsyn keyword ratpoisonSetArg winname contained nextgroup=ratpoisonWinNameArg 121071d4279SBram Moolenaar 122071d4279SBram Moolenaarsyn match ratpoisonWinFmtArg "%[nstacil]" contained nextgroup=ratpoisonWinFmtArg skipwhite 123*56994d21SBram Moolenaarsyn match ratpoisonFrameFmtArg "%[nstacil]" contained nextgroup=ratpoisonWinFmtArg skipwhite 124*56994d21SBram Moolenaarsyn match ratpoisonInfoFmtArg "%[nstacil]" contained nextgroup=ratpoisonWinFmtArg skipwhite 125071d4279SBram Moolenaar 126071d4279SBram Moolenaarsyn match ratpoisonWinListArg "\<\(row\|column\)\>" contained 127071d4279SBram Moolenaar 128071d4279SBram Moolenaarsyn match ratpoisonWinNameArg "\<\(name\|title\|class\)\>" contained 129071d4279SBram Moolenaar 130071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*set\s*" nextgroup=ratpoisonSetArg 131071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defbarborder\s*" nextgroup=ratpoisonNumberArg 132071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defbargravity\s*" nextgroup=ratpoisonGravityArg 133071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defbarpadding\s*" nextgroup=ratpoisonNumberArg 134071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defbgcolor\s*" 135071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defborder\s*" nextgroup=ratpoisonNumberArg 136071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*deffgcolor\s*" 137071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*deffont\s*" 138*56994d21SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defframefmt\s*" nextgroup=ratpoisonWinFmtArg 139071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defframesels\s*" 140071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*definputwidth\s*" nextgroup=ratpoisonNumberArg 141071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defmaxsizegravity\s*" nextgroup=ratpoisonGravityArg 142071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defpadding\s*" nextgroup=ratpoisonNumberArg 143071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defresizeunit\s*" nextgroup=ratpoisonNumberArg 144071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*deftransgravity\s*" nextgroup=ratpoisonGravityArg 145071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defwaitcursor\s*" nextgroup=ratpoisonNumberArg 146071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defwinfmt\s*" nextgroup=ratpoisonWinFmtArg 147071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defwingravity\s*" nextgroup=ratpoisonGravityArg 148071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defwinliststyle\s*" nextgroup=ratpoisonWinListArg 149071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*defwinname\s*" nextgroup=ratpoisonWinNameArg 150071d4279SBram Moolenaarsyn match ratpoisonDefCommand "^\s*msgwait\s*" nextgroup=ratpoisonNumberArg 151071d4279SBram Moolenaar 152071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsaddhook\ze\s*" nextgroup=ratpoisonHookArg 153071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsalias\ze\s*" 154071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsbind\ze\s*" nextgroup=ratpoisonKeySeqArg 155071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zschdir\ze\s*" 156071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zscolon\ze\s*" nextgroup=ratpoisonCommandArg 157d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsdedicate\ze\s*" nextgroup=ratpoisonNumberArg 158071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsdefinekey\ze\s*" 159071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsdelkmap\ze\s*" 160d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsdescribekey\ze\s*" 161071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsecho\ze\s*" 162071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsescape\ze\s*" nextgroup=ratpoisonKeySeqArg 163071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsexec\ze\s*" 164071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsfdump\ze\s*" 165071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsfrestore\ze\s*" 166071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsgdelete\ze\s*" 167071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsgetenv\ze\s*" 168071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsgravity\ze\s*" nextgroup=ratpoisonGravityArg 169071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsgselect\ze\s*" 170071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zslink\ze\s*" nextgroup=ratpoisonKeySeqArg 171071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zslisthook\ze\s*" nextgroup=ratpoisonHookArg 172071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsnewkmap\ze\s*" 173071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsnewwm\ze\s*" 174071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsnumber\ze\s*" nextgroup=ratpoisonNumberArg 175d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsprompt\ze\s*" 176d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsratwarp\ze\s*" 177d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsratrelwarp\ze\s*" 178d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsratclick\ze\s*" 179d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsrathold\ze\s*" 180071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsreadkey\ze\s*" 181071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsremhook\ze\s*" nextgroup=ratpoisonHookArg 182071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsresize\ze\s*" nextgroup=ratpoisonNumberArg 183071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsrudeness\ze\s*" nextgroup=ratpoisonNumberArg 184071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsselect\ze\s*" nextgroup=ratpoisonNumberArg 185071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zssetenv\ze\s*" 186071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zssource\ze\s*" 187d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zssselect\ze\s*" 188071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsstartup_message\ze\s*" nextgroup=ratpoisonBooleanArg 189071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zstitle\ze\s*" 190071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zstmpwm\ze\s*" 191071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsunalias\ze\s*" 192071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsunbind\ze\s*" nextgroup=ratpoisonKeySeqArg 193d5cdbeb8SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsundefinekey\ze\s*" 194071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsunmanage\ze\s*" 195071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsunsetenv\ze\s*" 196071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zsverbexec\ze\s*" 197071d4279SBram Moolenaarsyn match ratpoisonStringCommand "^\s*\zswarp\ze\s*" nextgroup=ratpoisonBooleanArg 198071d4279SBram Moolenaar 199071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsabort\ze\s*$" 200071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsbanish\ze\s*$" 201071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsclrunmanaged\ze\s*$" 202d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zscnext\ze\s*$" 203d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zscompat\ze\s*$" 204d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zscother\ze\s*$" 205d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zscprev\ze\s*$" 206071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zscurframe\ze\s*$" 207071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsdelete\ze\s*$" 208071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocusdown\ze\s*$" 209071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocuslast\ze\s*$" 210071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocusleft\ze\s*$" 211d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocusprev\ze\s*$" 212071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocusright\ze\s*$" 213071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocusup\ze\s*$" 214d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfocus\ze\s*$" 215071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsfselect\ze\s*$" 216d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgetsel\ze\s*$" 217071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgmerge\ze\s*$" 218071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgmove\ze\s*$" 219071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgnewbg\ze\s*$" 220071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgnew\ze\s*$" 221071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgnext\ze\s*$" 222071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgprev\ze\s*$" 223071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsgroups\ze\s*$" 224071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zshelp\ze\s*$" 225071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zshsplit\ze\s*$" 226d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsinext\ze\s*$" 227071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsinfo\ze\s*$" 228d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsiother\ze\s*$" 229d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsiprev\ze\s*$" 230071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zskill\ze\s*$" 231071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zslastmsg\ze\s*$" 232071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zslicense\ze\s*$" 233071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsmeta\ze\s*$" 234071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsnextscreen\ze\s*$" 235d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsnext\ze\s*$" 236071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsonly\ze\s*$" 237071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsother\ze\s*$" 238071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsprevscreen\ze\s*$" 239d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsprev\ze\s*$" 240d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsputsel\ze\s*$" 241071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsquit\ze\s*$" 242071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsredisplay\ze\s*$" 243d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsredo\ze\s*$" 244071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsremove\ze\s*$" 245071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsrestart\ze\s*$" 246d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zssdump\ze\s*$" 247d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zssfdump\ze\s*$" 248071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsshrink\ze\s*$" 249071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zssplit\ze\s*$" 250071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zstime\ze\s*$" 251d5cdbeb8SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsundo\ze\s*$" 252071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsversion\ze\s*$" 253071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zsvsplit\ze\s*$" 254071d4279SBram Moolenaarsyn match ratpoisonVoidCommand "^\s*\zswindows\ze\s*$" 255071d4279SBram Moolenaar 256f37506f6SBram Moolenaarhi def link ratpoisonBooleanArg Boolean 257f37506f6SBram Moolenaarhi def link ratpoisonCommandArg Keyword 258f37506f6SBram Moolenaarhi def link ratpoisonComment Comment 259f37506f6SBram Moolenaarhi def link ratpoisonDefCommand Identifier 260*56994d21SBram Moolenaarhi def link ratpoisonFrameFmtArg Special 261f37506f6SBram Moolenaarhi def link ratpoisonGravityArg Constant 262*56994d21SBram Moolenaarhi def link ratpoisonInfoFmtArg Special 263f37506f6SBram Moolenaarhi def link ratpoisonKeySeqArg Special 264f37506f6SBram Moolenaarhi def link ratpoisonNumberArg Number 265f37506f6SBram Moolenaarhi def link ratpoisonSetArg Keyword 266f37506f6SBram Moolenaarhi def link ratpoisonStringCommand Identifier 267f37506f6SBram Moolenaarhi def link ratpoisonTodo Todo 268f37506f6SBram Moolenaarhi def link ratpoisonVoidCommand Identifier 269f37506f6SBram Moolenaarhi def link ratpoisonWinFmtArg Special 270f37506f6SBram Moolenaarhi def link ratpoisonWinNameArg Constant 271f37506f6SBram Moolenaarhi def link ratpoisonWinListArg Constant 272071d4279SBram Moolenaar 273071d4279SBram Moolenaarlet b:current_syntax = "ratpoison" 274071d4279SBram Moolenaar 275071d4279SBram Moolenaar" vim: ts=8 276