summaryrefslogtreecommitdiffstats
path: root/misc/syntax/dos.syntax
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/syntax/dos.syntax74
1 files changed, 74 insertions, 0 deletions
diff --git a/misc/syntax/dos.syntax b/misc/syntax/dos.syntax
new file mode 100644
index 0000000..12c8467
--- /dev/null
+++ b/misc/syntax/dos.syntax
@@ -0,0 +1,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