diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax index b9543221..bb179be4 100644 --- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax +++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax @@ -1,6 +1,6 @@ # Syntax support file for the Lumina Text Editor # =================================== -# JSON language support rules +# Javascript language support rules # Written by Ken Moore <ken@ixsystems.com> # Released under the 2-clause BSD license # =================================== @@ -25,6 +25,12 @@ "foreground": "colors/comment" }, { + "name": "multi-line comment", + "regex_start": "/\\*", + "regex_end": "\\*/", + "foreground": "colors/comment" + }, + { "name": "numbers", "regex": "\\b([0-9]+[\\.]?[0-9]?)+\\b", "foreground": "colors/altkeyword" |