diff --git a/bin/app/data/syntax_highlighting_rules/cpp.rules b/bin/app/data/syntax_highlighting_rules/cpp.rules index 51084dfc..e043ed76 100644 --- a/bin/app/data/syntax_highlighting_rules/cpp.rules +++ b/bin/app/data/syntax_highlighting_rules/cpp.rules @@ -17,6 +17,10 @@ }, "priority" : true }, + { + "type" : "function", + "patterns" : [ "\\b[A-Za-z0-9_]+(?=\\()" ] + }, { "type" : "keyword", "patterns" : [ @@ -159,12 +163,8 @@ "type" : "number", "patterns" : [ "\\b[0-9]+\\b" ] }, - { - "type" : "function", - "patterns" : [ "\\b[A-Za-z0-9_]+(?=\\()" ] - }, { "type" : "quotation", "patterns" : [ " <[^<>\\s]*>$" ] } -] \ No newline at end of file +]