summaryrefslogtreecommitdiffstats
path: root/misc/syntax/j.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/j.syntax
parentInitial commit. (diff)
downloadmc-upstream/3%4.8.29.tar.xz
mc-upstream/3%4.8.29.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 'misc/syntax/j.syntax')
-rw-r--r--misc/syntax/j.syntax42
1 files changed, 42 insertions, 0 deletions
diff --git a/misc/syntax/j.syntax b/misc/syntax/j.syntax
new file mode 100644
index 0000000..1a4a1e7
--- /dev/null
+++ b/misc/syntax/j.syntax
@@ -0,0 +1,42 @@
+# J syntax highlighting
+
+context default
+
+ keyword assert. brightred
+ keyword break. brightred
+ keyword case. brightred
+ keyword catch. brightred
+ keyword catchd. brightred
+ keyword catcht. brightred
+ keyword continue. brightred
+ keyword do. brightred
+ keyword else. brightred
+ keyword elseif. brightred
+ keyword end. brightred
+ keyword fcase. brightred
+ keyword for. brightred
+ keyword for_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
+ keyword goto_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
+ keyword if. brightred
+ keyword label_\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]. brightred
+ keyword return. brightred
+ keyword select. brightred
+ keyword throw. brightred
+ keyword trap. brightred
+ keyword try. brightred
+ keyword while. brightred
+ keyword whilst. brightred
+
+ keyword NB. green
+
+ keyword \{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]\[\s\]=: white
+ keyword '\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\s\]'\[\s\]=: white
+
+context ' ' brightcyan
+# spellcheck
+
+context exclusive linestart NB.\s\*\s \n brightgreen
+# spellcheck
+
+context exclusive NB. \n green
+# spellcheck