From 8ccb487c21368a7fdc8c7c72315325bf0aa06147 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:44:12 +0200 Subject: Adding upstream version 3:4.8.29. Signed-off-by: Daniel Baumann --- misc/syntax/j.syntax | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 misc/syntax/j.syntax (limited to 'misc/syntax/j.syntax') 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 -- cgit v1.2.3