summaryrefslogtreecommitdiffstats
path: root/misc/syntax/dos.syntax
blob: 12c84670ce26a34e54fa1320eb461e1cc003b16c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# DOS & Windows highlighting
# 2002 (C) Petr Kozelka, <pkozelka@email.cz>

caseinsensitive

context default
    keyword whole break yellow
    keyword whole call yellow
    keyword whole cd yellow
    keyword whole chdir yellow
    keyword whole cls yellow
    keyword whole copy yellow
    keyword whole del yellow
    keyword whole dir yellow
    keyword whole do yellow
    keyword whole echo yellow
    keyword whole else yellow
    keyword whole erase yellow
    keyword whole endlocal yellow
    keyword whole errorlevel yellow
    keyword whole exist yellow
    keyword whole exit yellow
    keyword whole for yellow
    keyword whole goto yellow
    keyword whole if yellow
    keyword whole in yellow
    keyword whole md yellow
    keyword whole mkdir yellow
    keyword whole move yellow
    keyword whole not yellow
    keyword whole off yellow
    keyword whole on yellow
    keyword whole pause yellow
    keyword whole popd yellow
    keyword whole pushd yellow
    keyword whole rd yellow
    keyword wholeleft rem\s*\n brown
    keyword whole ren yellow
    keyword whole rename yellow
    keyword whole rmdir yellow
    keyword whole set yellow
    keyword whole setlocal yellow
    keyword whole shift yellow
    keyword whole then yellow
    keyword whole type yellow
    keyword whole ver yellow

    keyword \\ lightgray
    keyword whole \%\* brightmagenta
    keyword whole \%\$ brightmagenta
    keyword whole \%\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\]+\% brightmagenta
    keyword whole \%\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789@~\]+ brightmagenta
    keyword >> white
    keyword > white
    keyword < white
    keyword | white

context ' ' brightcyan
    spellcheck

context " " brightcyan
    keyword whole \%\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\]+\% brightmagenta
    keyword whole \%\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789@~\]+ brightmagenta
    spellcheck

context linestart :: \n brightgreen
    keyword $+:*$ black green
    spellcheck

context linestart : \n white black
    spellcheck

context :: \n brightgreen
    spellcheck