Skip to content

Commit

Permalink
fix #5424: support highlighting of console.debug in JavaScript (#5425)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedean authored Dec 13, 2023
1 parent 114a5c1 commit b303256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mode/javascript_highlight_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var JavaScriptHighlightRules = function(options) {
regex : /that\b/
}, {
token : ["storage.type", "punctuation.operator", "support.function.firebug"],
regex : /(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/
regex : /(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/
}, {
token : keywordMapper,
regex : identifierRe
Expand Down

0 comments on commit b303256

Please sign in to comment.