annotate runtime/syntax/dosbatch.vim @ 32385:49a13ac4a1b1 v9.0.1524

patch 9.0.1524: passing -1 for bool is not always rejected Commit: https://github.com/vim/vim/commit/8cf51376b842e0060edf08bd2e5bd9933c552ecf Author: zeertzjq <zeertzjq@outlook.com> Date: Mon May 8 15:31:38 2023 +0100 patch 9.0.1524: passing -1 for bool is not always rejected Problem: Passing -1 for bool is not always rejected. Solution: Check for error in a better way. (closes https://github.com/vim/vim/issues/12358)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 May 2023 16:45:03 +0200
parents a9b5ffbc0428
children 9c674ef89d9d
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
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
2 " Language: MS-DOS/Windows batch file (with NT command extensions)
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
3 " Maintainer: Mike Williams <mrmrdubya@gmail.com>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Filenames: *.bat
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
5 " Last Change: 12th February 2023
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Options Flags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " dosbatch_cmdextversion - 1 = Windows NT, 2 = Windows 2000 [default]
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
9 " dosbatch_colons_comment - any value to treat :: as comment line
7
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
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
95 if exists("dosbatch_colons_comment")
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
96 syn match dosbatchComment "\s*:\s*:.*$" contains=dosbatchTodo,dosbatchSpecialChar,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
97 else
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
98 syn match dosbatchError "\s*:\s*:.*$"
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
99 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 " Comments in ()'s - still to handle spaces before rem
1623
53938adac247 updated for version 7.2a
vimboss
parents: 7
diff changeset
102 syn match dosbatchComment "(rem\([^)]\|\^\@<=)\)*"lc=4 contains=dosbatchTodo,@dosbatchNumber,dosbatchVariable,dosbatchArgument,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword dosbatchImplicit append assoc at attrib break cacls cd chcp chdir
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword dosbatchImplicit chkdsk chkntfs cls cmd color comp compact convert copy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword dosbatchImplicit date del dir diskcomp diskcopy doskey echo endlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword dosbatchImplicit erase fc find findstr format ftype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn keyword dosbatchImplicit graftabl help keyb label md mkdir mode more move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn keyword dosbatchImplicit path pause popd print prompt pushd rd recover rem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword dosbatchImplicit ren rename replace restore rmdir set setlocal shift
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword dosbatchImplicit sort start subst time title tree type ver verify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword dosbatchImplicit vol xcopy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
115 " 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
116
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
117 hi def link dosbatchTodo Todo
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
118 hi def link dosbatchError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
120 hi def link dosbatchStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
121 hi def link dosbatchCommands dosbatchStatement
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
122 hi def link dosbatchLabel Label
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
123 hi def link dosbatchConditional Conditional
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
124 hi def link dosbatchRepeat Repeat
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
126 hi def link dosbatchOperator Operator
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
127 hi def link dosbatchEchoOperator dosbatchOperator
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
128 hi def link dosbatchIfOperator dosbatchOperator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
130 hi def link dosbatchArgument Identifier
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
131 hi def link dosbatchIdentifier Identifier
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
132 hi def link dosbatchVariable dosbatchIdentifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
134 hi def link dosbatchSpecialChar SpecialChar
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
135 hi def link dosbatchString String
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
136 hi def link dosbatchNumber Number
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
137 hi def link dosbatchInteger dosbatchNumber
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
138 hi def link dosbatchHex dosbatchNumber
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
139 hi def link dosbatchBinary dosbatchNumber
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
140 hi def link dosbatchOctal dosbatchNumber
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 dosbatchComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
143 hi def link dosbatchImplicit Function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
32004
a9b5ffbc0428 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 25773
diff changeset
145 hi def link dosbatchSwitch Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
147 hi def link dosbatchCmd PreProc
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
148
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 let b:current_syntax = "dosbatch"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 " vim: ts=8