annotate runtime/syntax/dosbatch.vim @ 14335:d59bf91128ea v8.1.0183

patch 8.1.0183: Lua API changed, breaking the build commit https://github.com/vim/vim/commit/174136713181a1d1460951d7a0392b16603f81bb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 14 20:49:42 2018 +0200 patch 8.1.0183: Lua API changed, breaking the build Problem: Lua API changed, breaking the build. Solution: Adjust prototype of lua_rawgeti(). (Ken Takata, closes #3157, closes #3144)
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Jul 2018 21:00:05 +0200
parents 46763b01cd9a
children 11b656e74444
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: MSDOS batch file (with NT command extensions)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Mike Williams <mrw@eandem.co.uk>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Filenames: *.bat
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
5 " Last Change: 6th September 2009
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Web Page: http://www.eandem.co.uk/mrw/vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Options Flags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " dosbatch_cmdextversion - 1 = Windows NT, 2 = Windows 2000 [default]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
12 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
13 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Set default highlighting to Win2k
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 if !exists("dosbatch_cmdextversion")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 let dosbatch_cmdextversion = 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " DOS bat files are case insensitive but case preserving!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword dosbatchTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " Dosbat keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword dosbatchStatement goto call exit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn keyword dosbatchConditional if else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword dosbatchRepeat for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Some operators - first lot are case sensitive!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword dosbatchOperator EQU NEQ LSS LEQ GTR GEQ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn case ignore
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
36 syn match dosbatchOperator "\s[-+\*/%!~]\s"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match dosbatchOperator "="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match dosbatchOperator "[-+\*/%]="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match dosbatchOperator "\s\(&\||\|^\|<<\|>>\)=\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match dosbatchIfOperator "if\s\+\(\(not\)\=\s\+\)\=\(exist\|defined\|errorlevel\|cmdextversion\)\="lc=2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 " String - using "'s is a convenience rather than a requirement outside of FOR
1623
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
43 syn match dosbatchString "\"[^"]*\"" contains=dosbatchVariable,dosBatchArgument,dosbatchSpecialChar,@dosbatchNumber,@Spell
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
44 syn match dosbatchString "\<echo\([^)>|]\|\^\@<=[)>|]\)*"lc=4 contains=dosbatchVariable,dosbatchArgument,dosbatchSpecialChar,@dosbatchNumber,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match dosbatchEchoOperator "\<echo\s\+\(on\|off\)\s*$"lc=4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 " For embedded commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match dosbatchCmd "(\s*'[^']*'"lc=1 contains=dosbatchString,dosbatchVariable,dosBatchArgument,@dosbatchNumber,dosbatchImplicit,dosbatchStatement,dosbatchConditional,dosbatchRepeat,dosbatchOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 " Numbers - surround with ws to not include in dir and filenames
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
51 syn match dosbatchInteger "[[:space:]=(/:,!~-]\d\+"lc=1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
52 syn match dosbatchHex "[[:space:]=(/:,!~-]0x\x\+"lc=1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
53 syn match dosbatchBinary "[[:space:]=(/:,!~-]0b[01]\+"lc=1
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
54 syn match dosbatchOctal "[[:space:]=(/:,!~-]0\o\+"lc=1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn cluster dosbatchNumber contains=dosbatchInteger,dosbatchHex,dosbatchBinary,dosbatchOctal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 " Command line switches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match dosbatchSwitch "/\(\a\+\|?\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " Various special escaped char formats
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match dosbatchSpecialChar "\^[&|()<>^]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match dosbatchSpecialChar "\$[a-hl-npqstv_$+]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match dosbatchSpecialChar "%%"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 " Environment variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match dosbatchIdentifier contained "\s\h\w*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match dosbatchVariable "%\h\w*%"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match dosbatchVariable "%\h\w*:\*\=[^=]*=[^%]*%"
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
69 syn match dosbatchVariable "%\h\w*:\~[-]\=\d\+\(,[-]\=\d\+\)\=%" contains=dosbatchInteger
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match dosbatchVariable "!\h\w*!"
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
71 syn match dosbatchVariable "!\h\w*:\*\=[^=]*=[^!]*!"
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
72 syn match dosbatchVariable "!\h\w*:\~[-]\=\d\+\(,[-]\=\d\+\)\=!" contains=dosbatchInteger
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match dosbatchSet "\s\h\w*[+-]\==\{-1}" contains=dosbatchIdentifier,dosbatchOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 " Args to bat files and for loops, etc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match dosbatchArgument "%\(\d\|\*\)"
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
77 syn match dosbatchArgument "%[a-z]\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 if dosbatch_cmdextversion == 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match dosbatchArgument "%\~[fdpnxs]\+\(\($PATH:\)\=[a-z]\|\d\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn match dosbatchArgument "%\~[fdpnxsatz]\+\(\($PATH:\)\=[a-z]\|\d\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 " Line labels
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match dosbatchLabel "^\s*:\s*\h\w*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match dosbatchLabel "\<\(goto\|call\)\s\+:\h\w*\>"lc=4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match dosbatchLabel "\<goto\s\+\h\w*\>"lc=4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match dosbatchLabel ":\h\w*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 " Comments - usual rem but also two colons as first non-space is an idiom
1623
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
91 syn match dosbatchComment "^rem\($\|\s.*$\)"lc=3 contains=dosbatchTodo,dosbatchSpecialChar,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
92 syn match dosbatchComment "^@rem\($\|\s.*$\)"lc=4 contains=dosbatchTodo,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
1623
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
93 syn match dosbatchComment "\srem\($\|\s.*$\)"lc=4 contains=dosbatchTodo,dosbatchSpecialChar,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1623
diff changeset
94 syn match dosbatchComment "\s@rem\($\|\s.*$\)"lc=5 contains=dosbatchTodo,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
1623
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
95 syn match dosbatchComment "\s*:\s*:.*$" contains=dosbatchTodo,dosbatchSpecialChar,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 " Comments in ()'s - still to handle spaces before rem
1623
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
98 syn match dosbatchComment "(rem\([^)]\|\^\@<=)\)*"lc=4 contains=dosbatchTodo,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword dosbatchImplicit append assoc at attrib break cacls cd chcp chdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword dosbatchImplicit chkdsk chkntfs cls cmd color comp compact convert copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword dosbatchImplicit date del dir diskcomp diskcopy doskey echo endlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword dosbatchImplicit erase fc find findstr format ftype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword dosbatchImplicit graftabl help keyb label md mkdir mode more move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword dosbatchImplicit path pause popd print prompt pushd rd recover rem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword dosbatchImplicit ren rename replace restore rmdir set setlocal shift
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword dosbatchImplicit sort start subst time title tree type ver verify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword dosbatchImplicit vol xcopy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
111 " Only when an item doesn't have highlighting yet
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
112
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
113 hi def link dosbatchTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
115 hi def link dosbatchStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
116 hi def link dosbatchCommands dosbatchStatement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
117 hi def link dosbatchLabel Label
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
118 hi def link dosbatchConditional Conditional
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
119 hi def link dosbatchRepeat Repeat
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
121 hi def link dosbatchOperator Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
122 hi def link dosbatchEchoOperator dosbatchOperator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
123 hi def link dosbatchIfOperator dosbatchOperator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
125 hi def link dosbatchArgument Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
126 hi def link dosbatchIdentifier Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
127 hi def link dosbatchVariable dosbatchIdentifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
129 hi def link dosbatchSpecialChar SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
130 hi def link dosbatchString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
131 hi def link dosbatchNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
132 hi def link dosbatchInteger dosbatchNumber
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
133 hi def link dosbatchHex dosbatchNumber
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
134 hi def link dosbatchBinary dosbatchNumber
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
135 hi def link dosbatchOctal dosbatchNumber
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
137 hi def link dosbatchComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
138 hi def link dosbatchImplicit Function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
140 hi def link dosbatchSwitch Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
142 hi def link dosbatchCmd PreProc
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
143
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 let b:current_syntax = "dosbatch"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 " vim: ts=8