annotate runtime/syntax/terminfo.vim @ 7510:b8104d67b976

Added tag v7.4.1056 for changeset a64793340689d0657962ca1f160e1c73895af666
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jan 2016 16:30:09 +0100
parents 1f3b1021f002
children 1218c5353e2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
2 " Language: terminfo(5) definition
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
4 " Latest Revision: 2006-04-19
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
6 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
11 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
13 syn match terminfoKeywords '[,=#|]'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
15 syn keyword terminfoTodo contained TODO FIXME XXX NOTE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
17 syn region terminfoComment display oneline start='^#' end='$'
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
18 \ contains=terminfoTodo,@Spell
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
19
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
20 syn match terminfoNumbers '\<[0-9]\+\>'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
22 syn match terminfoSpecialChar '\\\(\o\{3}\|[Eenlrtbfs^\,:0]\)'
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
23 syn match terminfoSpecialChar '\^\a'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
25 syn match terminfoDelay '$<[0-9]\+>'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
27 syn keyword terminfoBooleans bw am bce ccc xhp xhpa cpix crxw xt xenl eo gn
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
28 \ hc chts km daisy hs hls in lpix da db mir
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
29 \ msgr nxon xsb npc ndscr nrrmc os mc5i xcpa
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
30 \ sam eslok hz ul xon
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
32 syn keyword terminfoNumerics cols it lh lw lines lm xmc ma colors pairs wnum
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
33 \ ncv nlab pb vt wsl bitwin bitype bufsz btns
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
34 \ spinh spinv maddr mjump mcs npins orc orhi
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
35 \ orl orvi cps widcs
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
37 syn keyword terminfoStrings acsc cbt bel cr cpi lpi chr cvr csr rmp tbc mgc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
38 \ clear el1 el ed hpa cmdch cwin cup cud1 home
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
39 \ civis cub1 mrcup cnorm cuf1 ll cuu1 cvvis
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
40 \ defc dch1 dl1 dial dsl dclk hd enacs smacs
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
41 \ smam blink bold smcup smdc dim swidm sdrfq
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
42 \ smir sitm slm smicm snlq snrmq prot rev
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
43 \ invis sshm smso ssubm ssupm smul sum smxon
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
44 \ ech rmacs rmam sgr0 rmcup rmdc rwidm rmir
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
45 \ ritm rlm rmicm rshm rmso rsubm rsupm rmul
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
46 \ rum rmxon pause hook flash ff fsl wingo hup
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
47 \ is1 is2 is3 if iprog initc initp ich1 il1 ip
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
48 \ ka1 ka3 kb2 kbs kbeg kcbt kc1 kc3 kcan ktbc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
49 \ kclr kclo kcmd kcpy kcrt kctab kdch1 kdl1
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
50 \ kcud1 krmir kend kent kel ked kext kfnd khlp
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
51 \ khome kich1 kil1 kcub1 kll kmrk kmsg kmov
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
52 \ knxt knp kopn kopt kpp kprv kprt krdo kref
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
53 \ krfr krpl krst kres kcuf1 ksav kBEG kCAN
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
54 \ kCMD kCPY kCRT kDC kDL kslt kEND kEOL kEXT
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
55 \ kind kFND kHLP kHOM kIC kLFT kMSG kMOV kNXT
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
56 \ kOPT kPRV kPRT kri kRDO kRPL kRIT kRES kSAV
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
57 \ kSPD khts kUND kspd kund kcuu1 rmkx smkx
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
58 \ lf0 lf1 lf10 lf2 lf3 lf4 lf5 lf6 lf7 lf8 lf9
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
59 \ fln rmln smln rmm smm mhpa mcud1 mcub1 mcuf1
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
60 \ mvpa mcuu1 nel porder oc op pad dch dl cud
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
61 \ mcud ich indn il cub mcub cuf mcuf rin cuu
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
62 \ mccu pfkey pfloc pfx pln mc0 mc5p mc4 mc5
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
63 \ pulse qdial rmclk rep rfi rs1 rs2 rs3 rf rc
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
64 \ vpa sc ind ri scs sgr setbsmgb smgbp sclk
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
65 \ scp setb setf smgl smglp smgr smgrp hts smgt
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
66 \ smgtp wind sbim scsd rbim rcsd subcs supcs
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
67 \ ht docr tsl tone uc hu u0 u1 u2 u3 u4 u5 u6
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
68 \ u7 u8 u9 wait xoffc xonc zerom scesa bicr
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
69 \ binel birep csnm csin colornm defbi devt
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
70 \ dispc endbi smpch smsc rmpch rmsc getm kmous
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
71 \ minfo pctrm pfxl reqmp scesc s0ds s1ds s2ds
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
72 \ s3ds setab setaf setcolor smglr slines smgtb
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
73 \ ehhlm elhlm erhlm ethlm evhlm sgr1 slengthsL
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
74 syn match terminfoStrings display '\<kf\([0-9]\|[0-5][0-9]\|6[0-3]\)\>'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
76 syn match terminfoParameters '%[%dcspl+*/mAO&|^=<>!~i?te;-]'
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
77 syn match terminfoParameters "%\('[A-Z]'\|{[0-9]\{1,2}}\|p[1-9]\|P[a-z]\|g[A-Z]\)"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
79 hi def link terminfoComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
80 hi def link terminfoTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
81 hi def link terminfoNumbers Number
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
82 hi def link terminfoSpecialChar SpecialChar
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
83 hi def link terminfoDelay Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
84 hi def link terminfoBooleans Type
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
85 hi def link terminfoNumerics Type
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
86 hi def link terminfoStrings Type
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
87 hi def link terminfoParameters Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
88 hi def link terminfoKeywords Keyword
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 let b:current_syntax = "terminfo"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
92 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
93 unlet s:cpo_save