diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2017-06-19 10:42:37 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2017-06-19 10:43:08 -0400 |
commit | e084987b3ee273171d2d4ceda616ba481b1fb7d1 (patch) | |
tree | 199db027267d8234168bb390ed8194d6a12ef07e /src-qt5/desktop-utils/lumina-textedit/syntax_rules/javascript.syntax | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-e084987b3ee273171d2d4ceda616ba481b1fb7d1.tar.gz lumina-e084987b3ee273171d2d4ceda616ba481b1fb7d1.tar.bz2 lumina-e084987b3ee273171d2d4ceda616ba481b1fb7d1.zip |
Added PHP rules and updated Javascript and Markdown rules
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" |