summaryrefslogtreecommitdiffstats
path: root/misc/syntax/dos.syntax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
commit8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch)
treeb2056fae01d325924508a41731edfbd4c3cddd23 /misc/syntax/dos.syntax
parentInitial commit. (diff)
downloadmc-a8b95ffda99fa354ec15e9585f29f508e496986c.tar.xz
mc-a8b95ffda99fa354ec15e9585f29f508e496986c.zip
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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