codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: terminfo(5) definition3" Previous Maintainer: Nikolai Weibull <now@bitwi.se>4" Latest Revision: 2006-04-195 6if exists("b:current_syntax")7 finish8endif9 10let s:cpo_save = &cpo11set cpo&vim12 13syn match terminfoKeywords '[,=#|]'14 15syn keyword terminfoTodo contained TODO FIXME XXX NOTE16 17syn region terminfoComment display oneline start='^#' end='$'18 \ contains=terminfoTodo,@Spell19 20syn match terminfoNumbers '\<[0-9]\+\>'21 22syn match terminfoSpecialChar '\\\(\o\{3}\|[Eenlrtbfs^\,:0]\)'23syn match terminfoSpecialChar '\^\a'24 25syn match terminfoDelay '$<[0-9]\+>'26 27syn keyword terminfoBooleans bw am bce ccc xhp xhpa cpix crxw xt xenl eo gn28 \ hc chts km daisy hs hls in lpix da db mir29 \ msgr nxon xsb npc ndscr nrrmc os mc5i xcpa30 \ sam eslok hz ul xon31 32syn keyword terminfoNumerics cols it lh lw lines lm xmc ma colors pairs wnum33 \ ncv nlab pb vt wsl bitwin bitype bufsz btns34 \ spinh spinv maddr mjump mcs npins orc orhi35 \ orl orvi cps widcs36 37syn keyword terminfoStrings acsc cbt bel cr cpi lpi chr cvr csr rmp tbc mgc38 \ clear el1 el ed hpa cmdch cwin cup cud1 home39 \ civis cub1 mrcup cnorm cuf1 ll cuu1 cvvis40 \ defc dch1 dl1 dial dsl dclk hd enacs smacs41 \ smam blink bold smcup smdc dim swidm sdrfq42 \ smir sitm slm smicm snlq snrmq prot rev43 \ invis sshm smso ssubm ssupm smul sum smxon44 \ ech rmacs rmam sgr0 rmcup rmdc rwidm rmir45 \ ritm rlm rmicm rshm rmso rsubm rsupm rmul46 \ rum rmxon pause hook flash ff fsl wingo hup47 \ is1 is2 is3 if iprog initc initp ich1 il1 ip48 \ ka1 ka3 kb2 kbs kbeg kcbt kc1 kc3 kcan ktbc49 \ kclr kclo kcmd kcpy kcrt kctab kdch1 kdl150 \ kcud1 krmir kend kent kel ked kext kfnd khlp51 \ khome kich1 kil1 kcub1 kll kmrk kmsg kmov52 \ knxt knp kopn kopt kpp kprv kprt krdo kref53 \ krfr krpl krst kres kcuf1 ksav kBEG kCAN54 \ kCMD kCPY kCRT kDC kDL kslt kEND kEOL kEXT55 \ kind kFND kHLP kHOM kIC kLFT kMSG kMOV kNXT56 \ kOPT kPRV kPRT kri kRDO kRPL kRIT kRES kSAV57 \ kSPD khts kUND kspd kund kcuu1 rmkx smkx58 \ lf0 lf1 lf10 lf2 lf3 lf4 lf5 lf6 lf7 lf8 lf959 \ fln rmln smln rmm smm mhpa mcud1 mcub1 mcuf160 \ mvpa mcuu1 nel porder oc op pad dch dl cud61 \ mcud ich indn il cub mcub cuf mcuf rin cuu62 \ mccu pfkey pfloc pfx pln mc0 mc5p mc4 mc563 \ pulse qdial rmclk rep rfi rs1 rs2 rs3 rf rc64 \ vpa sc ind ri scs sgr setbsmgb smgbp sclk65 \ scp setb setf smgl smglp smgr smgrp hts smgt66 \ smgtp wind sbim scsd rbim rcsd subcs supcs67 \ ht docr tsl tone uc hu u0 u1 u2 u3 u4 u5 u668 \ u7 u8 u9 wait xoffc xonc zerom scesa bicr69 \ binel birep csnm csin colornm defbi devt70 \ dispc endbi smpch smsc rmpch rmsc getm kmous71 \ minfo pctrm pfxl reqmp scesc s0ds s1ds s2ds72 \ s3ds setab setaf setcolor smglr slines smgtb73 \ ehhlm elhlm erhlm ethlm evhlm sgr1 slengthsL74syn match terminfoStrings display '\<kf\([0-9]\|[0-5][0-9]\|6[0-3]\)\>'75 76syn match terminfoParameters '%[%dcspl+*/mAO&|^=<>!~i?te;-]'77syn match terminfoParameters "%\('[A-Z]'\|{[0-9]\{1,2}}\|p[1-9]\|P[a-z]\|g[A-Z]\)"78 79hi def link terminfoComment Comment80hi def link terminfoTodo Todo81hi def link terminfoNumbers Number82hi def link terminfoSpecialChar SpecialChar83hi def link terminfoDelay Special84hi def link terminfoBooleans Type85hi def link terminfoNumerics Type86hi def link terminfoStrings Type87hi def link terminfoParameters Keyword88hi def link terminfoKeywords Keyword89 90let b:current_syntax = "terminfo"91 92let &cpo = s:cpo_save93unlet s:cpo_save94 