Skip to content

Commit fe95d54

Browse files
committed
DL and SQRT are added to the keywords for GMQL language
1 parent d171988 commit fe95d54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/ace/mode/gmql_highlight_rules.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ var GmqlHighlightRules = function() {
4848
"true|false|distance|mindist|mindistance|dle|dge|md|any|all|start|stop|chr|strand|left|right|up|down|downstream|upstream"
4949
+ "|and|or|not|as|in|allbut"
5050
+ "|count|bag|sum|avg|min|max|median|std"
51-
+ "|cat|contig"
52-
+ "|dist|dg|dg|bagd"
53-
+ "|left_distinct|right_distinct|both"
51+
+ "|cat|contig"
52+
+ "|dist|dg|dg|bagd|dl|sqrt"
53+
+ "|left_distinct|right_distinct|both"
5454
);
5555

5656
var builtinFunctions = (
@@ -107,7 +107,7 @@ var GmqlHighlightRules = function() {
107107
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
108108
}, {
109109
token : "keyword.operator",
110-
regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|=|,|;|:"
110+
regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|=|,|;|:"
111111
}, {
112112
token : "paren.lparen",
113113
regex : "[\\(]"

0 commit comments

Comments
 (0)