Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
winbatch.vim175 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	WinBatch/Webbatch (*.wbt, *.web)3" Maintainer:	dominique@mggen.com4" URL:		http://www.mggen.com/vim/syntax/winbatch.zip5" Last change:	2001 May 106 7" quit when a syntax file was already loaded8if exists("b:current_syntax")9  finish10endif11 12syn case ignore13 14syn keyword winbatchCtl	if then else endif break end return exit next15syn keyword winbatchCtl while for gosub goto switch select to case16syn keyword winbatchCtl endselect endwhile endselect endswitch17 18" String19syn region  winbatchVar		start=+%+  end=+%+20" %var% in strings21syn region  winbatchString	start=+"+  end=+"+ contains=winbatchVar22 23syn match winbatchComment	";.*$"24syn match winbatchLabel		"^\ *:[0-9a-zA-Z_\-]\+\>"25 26" constant (bezgin by @)27syn match winbatchConstant	"@[0_9a-zA-Z_\-]\+"28 29" number30syn match winbatchNumber	"\<[0-9]\+\(u\=l\=\|lu\|f\)\>"31 32syn keyword winbatchImplicit aboveicons acc_attrib acc_chng_nt acc_control acc_create33syn keyword winbatchImplicit acc_delete acc_full_95 acc_full_nt acc_list acc_pfull_nt34syn keyword winbatchImplicit acc_pmang_nt acc_print_nt acc_read acc_read_95 acc_read_nt35syn keyword winbatchImplicit acc_write amc arrange ascending attr_a attr_a attr_ci attr_ci36syn keyword winbatchImplicit attr_dc attr_dc attr_di attr_di attr_dm attr_dm attr_h attr_h37syn keyword winbatchImplicit attr_ic attr_ic attr_p attr_p attr_ri attr_ri attr_ro attr_ro38syn keyword winbatchImplicit attr_sh attr_sh attr_sy attr_sy attr_t attr_t attr_x attr_x39syn keyword winbatchImplicit avogadro backscan boltzmann cancel capslock check columns40syn keyword winbatchImplicit commonformat cr crlf ctrl default default deg2rad descending41syn keyword winbatchImplicit disable drive electric enable eulers false faraday float842syn keyword winbatchImplicit fwdscan gftsec globalgroup gmtsec goldenratio gravitation hidden43syn keyword winbatchImplicit icon lbutton lclick ldblclick lf lightmps lightmtps localgroup44syn keyword winbatchImplicit magfield major mbokcancel mbutton mbyesno mclick mdblclick minor45syn keyword winbatchImplicit msformat multiple ncsaformat no none none noresize normal46syn keyword winbatchImplicit notify nowait numlock off on open parsec parseonly pi47syn keyword winbatchImplicit planckergs planckjoules printer rad2deg rbutton rclick rdblclick48syn keyword winbatchImplicit regclasses regcurrent regmachine regroot regusers rows save49syn keyword winbatchImplicit scrolllock server shift single sorted stack string tab tile50syn keyword winbatchImplicit true uncheck unsorted wait wholesection word1 word2 word4 yes51syn keyword winbatchImplicit zoomed about abs acos addextender appexist appwaitclose asin52syn keyword winbatchImplicit askfilename askfiletext askitemlist askline askpassword askyesno53syn keyword winbatchImplicit atan average beep binaryalloc binarycopy binaryeodget binaryeodset54syn keyword winbatchImplicit binaryfree binaryhashrec binaryincr binaryincr2 binaryincr455syn keyword winbatchImplicit binaryincrflt binaryindex binaryindexnc binaryoletype binarypeek56syn keyword winbatchImplicit binarypeek2 binarypeek4 binarypeekflt binarypeekstr binarypoke57syn keyword winbatchImplicit binarypoke2 binarypoke4 binarypokeflt binarypokestr binaryread58syn keyword winbatchImplicit binarysort binarystrcnt binarywrite boxbuttondraw boxbuttonkill59syn keyword winbatchImplicit boxbuttonstat boxbuttonwait boxcaption boxcolor60syn keyword winbatchImplicit boxdataclear boxdatatag61syn keyword winbatchImplicit boxdestroy boxdrawcircle boxdrawline boxdrawrect boxdrawtext62syn keyword winbatchImplicit boxesup boxmapmode boxnew boxopen boxpen boxshut boxtext boxtextcolor63syn keyword winbatchImplicit boxtextfont boxtitle boxupdates break buttonnames by call64syn keyword winbatchImplicit callext ceiling char2num clipappend clipget clipput65syn keyword winbatchImplicit continue cos cosh datetime66syn keyword winbatchImplicit ddeexecute ddeinitiate ddepoke dderequest ddeterminate67syn keyword winbatchImplicit ddetimeout debug debugdata decimals delay dialog68syn keyword winbatchImplicit dialogbox dirattrget dirattrset dirchange direxist69syn keyword winbatchImplicit dirget dirhome diritemize dirmake dirremove dirrename70syn keyword winbatchImplicit dirwindows diskexist diskfree diskinfo diskscan disksize71syn keyword winbatchImplicit diskvolinfo display dllcall dllfree dllhinst dllhwnd dllload72syn keyword winbatchImplicit dosboxcursorx dosboxcursory dosboxgetall dosboxgetdata73syn keyword winbatchImplicit dosboxheight dosboxscrmode dosboxversion dosboxwidth dosversion74syn keyword winbatchImplicit drop edosgetinfo edosgetvar edoslistvars edospathadd edospathchk75syn keyword winbatchImplicit edospathdel edossetvar76syn keyword winbatchImplicit endsession envgetinfo envgetvar environment77syn keyword winbatchImplicit environset envitemize envlistvars envpathadd envpathchk78syn keyword winbatchImplicit envpathdel envsetvar errormode exclusive execute exetypeinfo79syn keyword winbatchImplicit exp fabs fileappend fileattrget fileattrset fileclose80syn keyword winbatchImplicit filecompare filecopy filedelete fileexist fileextension filefullname81syn keyword winbatchImplicit fileitemize filelocate filemapname filemove filenameeval182syn keyword winbatchImplicit filenameeval2 filenamelong filenameshort fileopen filepath83syn keyword winbatchImplicit fileread filerename fileroot filesize filetimecode filetimeget84syn keyword winbatchImplicit filetimeset filetimetouch fileverinfo filewrite fileymdhms85syn keyword winbatchImplicit findwindow floor getexacttime gettickcount86syn keyword winbatchImplicit iconarrange iconreplace ignoreinput inidelete inideletepvt87syn keyword winbatchImplicit iniitemize iniitemizepvt iniread inireadpvt iniwrite iniwritepvt88syn keyword winbatchImplicit installfile int intcontrol isdefined isfloat isint iskeydown89syn keyword winbatchImplicit islicensed isnumber itemcount itemextract iteminsert itemlocate90syn keyword winbatchImplicit itemremove itemselect itemsort keytoggleget keytoggleset91syn keyword winbatchImplicit lasterror log10 logdisk loge max message min mod mouseclick92syn keyword winbatchImplicit mouseclickbtn mousedrag mouseinfo mousemove msgtextget n3attach93syn keyword winbatchImplicit n3captureend n3captureprt n3chgpassword n3detach n3dirattrget94syn keyword winbatchImplicit n3dirattrset n3drivepath n3drivepath2 n3drivestatus n3fileattrget95syn keyword winbatchImplicit n3fileattrset n3getloginid n3getmapped n3getnetaddr n3getuser96syn keyword winbatchImplicit n3getuserid n3logout n3map n3mapdelete n3mapdir n3maproot n3memberdel97syn keyword winbatchImplicit n3memberget n3memberset n3msgsend n3msgsendall n3serverinfo98syn keyword winbatchImplicit n3serverlist n3setsrchdrv n3usergroups n3version n4attach99syn keyword winbatchImplicit n4captureend n4captureprt n4chgpassword n4detach n4dirattrget100syn keyword winbatchImplicit n4dirattrset n4drivepath n4drivestatus n4fileattrget n4fileattrset101syn keyword winbatchImplicit n4getloginid n4getmapped n4getnetaddr n4getuser n4getuserid102syn keyword winbatchImplicit n4login n4logout n4map n4mapdelete n4mapdir n4maproot n4memberdel103syn keyword winbatchImplicit n4memberget n4memberset n4msgsend n4msgsendall n4serverinfo104syn keyword winbatchImplicit n4serverlist n4setsrchdrv n4usergroups n4version netadddrive105syn keyword winbatchImplicit netaddprinter netcancelcon netdirdialog netgetcon netgetuser106syn keyword winbatchImplicit netinfo netresources netversion num2char objectclose107syn keyword winbatchImplicit objectopen parsedata pause playmedia playmidi playwaveform108syn keyword winbatchImplicit print random regapp regclosekey regconnect regcreatekey109syn keyword winbatchImplicit regdeletekey regdelvalue regentrytype regloadhive regopenkey110syn keyword winbatchImplicit regquerybin regquerydword regqueryex regqueryexpsz regqueryitem111syn keyword winbatchImplicit regquerykey regquerymulsz regqueryvalue regsetbin112syn keyword winbatchImplicit regsetdword regsetex regsetexpsz regsetmulsz regsetvalue113syn keyword winbatchImplicit regunloadhive reload reload rtstatus run runenviron114syn keyword winbatchImplicit runexit runhide runhidewait runicon runiconwait runshell runwait115syn keyword winbatchImplicit runzoom runzoomwait sendkey sendkeyschild sendkeysto116syn keyword winbatchImplicit sendmenusto shellexecute shortcutedit shortcutextra shortcutinfo117syn keyword winbatchImplicit shortcutmake sin sinh snapshot sounds sqrt118syn keyword winbatchImplicit srchfree srchinit srchnext strcat strcharcount strcmp119syn keyword winbatchImplicit strfill strfix strfixchars stricmp strindex strlen120syn keyword winbatchImplicit strlower strreplace strscan strsub strtrim strupper121syn keyword winbatchImplicit tan tanh tcpaddr2host tcpftpchdir tcpftpclose tcpftpget122syn keyword winbatchImplicit tcpftplist tcpftpmode tcpftpopen tcpftpput tcphost2addr tcphttpget123syn keyword winbatchImplicit tcphttppost tcpparmget tcpparmset tcpping tcpsmtp terminate124syn keyword winbatchImplicit textbox textboxsort textoutbufdel textoutbuffer textoutdebug125syn keyword winbatchImplicit textoutfree textoutinfo textoutreset textouttrack textouttrackb126syn keyword winbatchImplicit textouttrackp textoutwait textselect timeadd timedate127syn keyword winbatchImplicit timedelay timediffdays timediffsecs timejulianday timejultoymd128syn keyword winbatchImplicit timesubtract timewait timeymdhms version versiondll129syn keyword winbatchImplicit w3addcon w3cancelcon w3dirbrowse w3getcaps w3getcon w3netdialog130syn keyword winbatchImplicit w3netgetuser w3prtbrowse w3version w95accessadd w95accessdel131syn keyword winbatchImplicit w95adddrive w95addprinter w95cancelcon w95dirdialog w95getcon132syn keyword winbatchImplicit w95getuser w95resources w95shareadd w95sharedel w95shareset133syn keyword winbatchImplicit w95version waitforkey wallpaper webbaseconv webcloselog134syn keyword winbatchImplicit webcmddata webcondata webcounter webdatdata webdumperror webhashcode135syn keyword winbatchImplicit webislocal weblogline webopenlog webout weboutfile webparamdata136syn keyword winbatchImplicit webparamnames websettimeout webverifycard winactivate137syn keyword winbatchImplicit winactivchild winarrange winclose winclosenot winconfig winexename138syn keyword winbatchImplicit winexist winparset winparget winexistchild wingetactive139syn keyword winbatchImplicit winhelp winhide winiconize winidget winisdos winitemchild140syn keyword winbatchImplicit winitemize winitemnameid winmetrics winname winparmget141syn keyword winbatchImplicit winparmset winplace winplaceget winplaceset142syn keyword winbatchImplicit winposition winresources winshow winstate winsysinfo143syn keyword winbatchImplicit wintitle winversion winwaitchild winwaitclose winwaitexist144syn keyword winbatchImplicit winzoom wnaddcon wncancelcon wncmptrinfo wndialog145syn keyword winbatchImplicit wndlgbrowse wndlgcon wndlgcon2 wndlgcon3146syn keyword winbatchImplicit wndlgcon4 wndlgdiscon wndlgnoshare wndlgshare wngetcaps147syn keyword winbatchImplicit wngetcon wngetuser wnnetnames wnrestore wnservers wnsharecnt148syn keyword winbatchImplicit wnsharename wnsharepath wnshares wntaccessadd wntaccessdel149syn keyword winbatchImplicit wntaccessget wntadddrive wntaddprinter wntcancelcon wntdirdialog150syn keyword winbatchImplicit wntgetcon wntgetuser wntlistgroups wntmemberdel wntmemberget151syn keyword winbatchImplicit wntmembergrps wntmemberlist wntmemberset wntresources wntshareadd152syn keyword winbatchImplicit wntsharedel wntshareset wntversion wnversion wnwrkgroups wwenvunload153syn keyword winbatchImplicit xbaseconvert xcursorset xdisklabelget xdriveready xextenderinfo154syn keyword winbatchImplicit xgetchildhwnd xgetelapsed xhex xmemcompact xmessagebox155syn keyword winbatchImplicit xsendmessage xverifyccard yield156 157" Define the default highlighting.158" Only when an item doesn't have highlighting yet159 160hi def link winbatchLabel		PreProc161hi def link winbatchCtl		Operator162hi def link winbatchStatement	Statement163hi def link winbatchTodo		Todo164hi def link winbatchString		String165hi def link winbatchVar		Type166hi def link winbatchComment	Comment167hi def link winbatchImplicit	Special168hi def link winbatchNumber		Number169hi def link winbatchConstant	StorageClass170 171 172let b:current_syntax = "winbatch"173 174" vim: ts=8175 
codekingpro/portable-devtools · Team Ai