annotate runtime/syntax/btm.vim @ 13768:bcef80912112 v8.0.1756

patch 8.0.1756: GUI: after prompting for a number the mouse shape is wrong commit https://github.com/vim/vim/commit/73658317bacd9a0264dfaa32288de6ea1f236fe5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 24 17:41:57 2018 +0200 patch 8.0.1756: GUI: after prompting for a number the mouse shape is wrong Problem: GUI: after prompting for a number the mouse shape is sometimes wrong. Solution: Call setmouse() after setting "State". (Hirohito Higashi, closes #2709)
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Apr 2018 17:45:08 +0200
parents 46763b01cd9a
children
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: 4Dos batch file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: John Leo Spetz <jls11@po.cwru.edu>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 2001 May 09
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 "//Issues to resolve:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "//- Boolean operators surrounded by period are recognized but the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 "// periods are not highlighted. The only way to do that would
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 "// be separate synmatches for each possibility otherwise a more
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "// general \.\i\+\. will highlight anything delimited by dots.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 "//- After unary operators like "defined" can assume token type.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 "// Should there be more of these?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
14 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
15 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword btmStatement call off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn keyword btmConditional if iff endiff then else elseiff not errorlevel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword btmConditional gt lt eq ne ge le
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match btmConditional transparent "\.\i\+\." contains=btmDotBoolOp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword btmDotBoolOp contained and or xor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match btmConditional "=="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match btmConditional "!="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword btmConditional defined errorlevel exist isalias
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword btmConditional isdir direxist isinternal islabel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword btmRepeat for in do enddo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword btmTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn cluster btmVars contains=btmVariable,btmArgument,btmBIFMatch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn region btmString start=+"+ end=+"+ contains=@btmVars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match btmNumber "\<\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 "syn match btmIdentifier "\<\h\w*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " If you don't like tabs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 "syn match btmShowTab "\t"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 "syn match btmShowTabc "\t"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 "syn match btmComment "^\ *rem.*$" contains=btmTodo,btmShowTabc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 " Some people use this as a comment line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 " In fact this is a Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 "syn match btmComment "^\ *:\ \+.*$" contains=btmTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match btmComment "^\ *rem.*$" contains=btmTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match btmComment "^\ *::.*$" contains=btmTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match btmLabelMark "^\ *:[0-9a-zA-Z_\-]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match btmLabelMark "goto [0-9a-zA-Z_\-]\+\>"lc=5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match btmLabelMark "gosub [0-9a-zA-Z_\-]\+\>"lc=6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 " syn match btmCmdDivider ">[>&][>&]\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match btmCmdDivider ">[>&]*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match btmCmdDivider ">>&>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match btmCmdDivider "|&\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match btmCmdDivider "%+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match btmCmdDivider "\^"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn region btmEcho start="echo" skip="echo" matchgroup=btmCmdDivider end="%+" end="$" end="|&\=" end="\^" end=">[>&]*" contains=@btmEchos oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn cluster btmEchos contains=@btmVars,btmEchoCommand,btmEchoParam
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword btmEchoCommand contained echo echoerr echos echoserr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword btmEchoParam contained on off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 " this is also a valid Label. I don't use it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 "syn match btmLabelMark "^\ *:\ \+[0-9a-zA-Z_\-]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " //Environment variable can be expanded using notation %var in 4DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match btmVariable "%[0-9a-z_\-]\+" contains=@btmSpecialVars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 " //Environment variable can be expanded using notation %var%
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match btmVariable "%[0-9a-z_\-]*%" contains=@btmSpecialVars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 " //The following are special variable in 4DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match btmVariable "%[=#]" contains=@btmSpecialVars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match btmVariable "%??\=" contains=@btmSpecialVars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 " //Environment variable can be expanded using notation %[var] in 4DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match btmVariable "%\[[0-9a-z_\-]*\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 " //After some keywords next word should be an environment variable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn match btmVariable "defined\s\i\+"lc=8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match btmVariable "set\s\i\+"lc=4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 " //Parameters to batchfiles take the format %<digit>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match btmArgument "%\d\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 " //4DOS allows format %<digit>& meaning batchfile parameters digit and up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match btmArgument "%\d\>&"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 " //Variable used by FOR loops sometimes use %%<letter> in batchfiles
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match btmArgument "%%\a\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 " //Show 4DOS built-in functions specially
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match btmBIFMatch "%@\w\+\["he=e-1 contains=btmBuiltInFunc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword btmBuiltInFunc contained alias ascii attrib cdrom
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn keyword btmBuiltInFunc contained char clip comma convert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword btmBuiltInFunc contained date day dec descript
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn keyword btmBuiltInFunc contained device diskfree disktotal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn keyword btmBuiltInFunc contained diskused dosmem dow dowi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword btmBuiltInFunc contained doy ems eval exec execstr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword btmBuiltInFunc contained expand ext extended
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword btmBuiltInFunc contained fileage fileclose filedate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword btmBuiltInFunc contained filename fileopen fileread
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword btmBuiltInFunc contained files fileseek fileseekl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword btmBuiltInFunc contained filesize filetime filewrite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword btmBuiltInFunc contained filewriteb findclose
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword btmBuiltInFunc contained findfirst findnext format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword btmBuiltInFunc contained full if inc index insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword btmBuiltInFunc contained instr int label left len
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword btmBuiltInFunc contained lfn line lines lower lpt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword btmBuiltInFunc contained makeage makedate maketime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword btmBuiltInFunc contained master month name numeric
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword btmBuiltInFunc contained path random readscr ready
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword btmBuiltInFunc contained remote removable repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword btmBuiltInFunc contained replace right search
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword btmBuiltInFunc contained select sfn strip substr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword btmBuiltInFunc contained time timer trim truename
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn keyword btmBuiltInFunc contained unique upper wild word
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword btmBuiltInFunc contained words xms year
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn cluster btmSpecialVars contains=btmBuiltInVar,btmSpecialVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 " //Show specialized variables specially
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 " syn match btmSpecialVar contained "+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match btmSpecialVar contained "="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match btmSpecialVar contained "#"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn match btmSpecialVar contained "??\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword btmSpecialVar contained cmdline colordir comspec
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword btmSpecialVar contained copycmd dircmd temp temp4dos
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword btmSpecialVar contained filecompletion path prompt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 " //Show 4DOS built-in variables specially specially
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword btmBuiltInVar contained _4ver _alias _ansi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword btmBuiltInVar contained _apbatt _aplife _apmac _batch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword btmBuiltInVar contained _batchline _batchname _bg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword btmBuiltInVar contained _boot _ci _cmdproc _co
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword btmBuiltInVar contained _codepage _column _columns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn keyword btmBuiltInVar contained _country _cpu _cwd _cwds _cwp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn keyword btmBuiltInVar contained _cwps _date _day _disk _dname
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword btmBuiltInVar contained _dos _dosver _dow _dowi _doy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword btmBuiltInVar contained _dpmi _dv _env _fg _hlogfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn keyword btmBuiltInVar contained _hour _kbhit _kstack _lastdisk
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword btmBuiltInVar contained _logfile _minute _monitor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword btmBuiltInVar contained _month _mouse _ndp _row _rows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword btmBuiltInVar contained _second _shell _swapping
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword btmBuiltInVar contained _syserr _time _transient
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn keyword btmBuiltInVar contained _video _win _wintitle _year
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 " //Commands in 4DOS and/or DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn match btmCommand "\s?"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn match btmCommand "^?"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword btmCommand alias append assign attrib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword btmCommand backup beep break cancel case
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword btmCommand cd cdd cdpath chcp chdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword btmCommand chkdsk cls color comp copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword btmCommand ctty date debug default defrag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn keyword btmCommand del delay describe dir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword btmCommand dirhistory dirs diskcomp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn keyword btmCommand diskcopy doskey dosshell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword btmCommand drawbox drawhline drawvline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 "syn keyword btmCommand echo echoerr echos echoserr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword btmCommand edit edlin emm386 endlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn keyword btmCommand endswitch erase eset except
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn keyword btmCommand exe2bin exit expand fastopen
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn keyword btmCommand fc fdisk ffind find format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn keyword btmCommand free global gosub goto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn keyword btmCommand graftabl graphics help history
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn keyword btmCommand inkey input join keyb keybd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn keyword btmCommand keystack label lh list loadbtm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword btmCommand loadhigh lock log md mem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn keyword btmCommand memory mirror mkdir mode more
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn keyword btmCommand move nlsfunc on option path
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn keyword btmCommand pause popd print prompt pushd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn keyword btmCommand quit rd reboot recover ren
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn keyword btmCommand rename replace restore return
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn keyword btmCommand rmdir scandisk screen scrput
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn keyword btmCommand select set setdos setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn keyword btmCommand setver share shift sort subst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn keyword btmCommand swapping switch sys tee text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn keyword btmCommand time timer touch tree truename
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn keyword btmCommand type unalias undelete unformat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn keyword btmCommand unlock unset ver verify vol
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 syn keyword btmCommand vscrput y
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
184 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
186 hi def link btmLabel Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
187 hi def link btmLabelMark Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
188 hi def link btmCmdDivider Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
189 hi def link btmConditional btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
190 hi def link btmDotBoolOp btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
191 hi def link btmRepeat btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
192 hi def link btmEchoCommand btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
193 hi def link btmEchoParam btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
194 hi def link btmStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
195 hi def link btmTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
196 hi def link btmString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
197 hi def link btmNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
198 hi def link btmComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
199 hi def link btmArgument Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
200 hi def link btmVariable Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
201 hi def link btmEcho String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
202 hi def link btmBIFMatch btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
203 hi def link btmBuiltInFunc btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
204 hi def link btmBuiltInVar btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
205 hi def link btmSpecialVar btmStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
206 hi def link btmCommand btmStatement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
208 "optional highlighting
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
209 "hi def link btmShowTab Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
210 "hi def link btmShowTabc Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
211 "hi def link btmIdentifier Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 let b:current_syntax = "btm"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 " vim: ts=8