From 2f14426876621fcec0e57ef72262932ee0628286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Tue, 4 Jun 2019 13:11:02 +0200 Subject: [PATCH] Merge pull request #1839 from overleaf/ns-add-vref add vref GitOrigin-RevId: aa311141873f818830dcfa5ea63f0420549b5dd9 --- services/web/public/js/ace-1.4.4/mode-latex.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/public/js/ace-1.4.4/mode-latex.js b/services/web/public/js/ace-1.4.4/mode-latex.js index 7af146c078..0c37b1f277 100644 --- a/services/web/public/js/ace-1.4.4/mode-latex.js +++ b/services/web/public/js/ace-1.4.4/mode-latex.js @@ -15,7 +15,7 @@ var LatexHighlightRules = function() { regex : "(\\\\(?:documentclass|usepackage|input))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})" }, { token : ["keyword", "lparen", "variable.parameter", "rparen"], - regex : "(\\\\(?:label|(?:eq|page|c|C)?ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?" + regex : "(\\\\(?:label|(?:eq|page|v|c|C)?ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?" }, { token : ["storage.type", "lparen", "variable.parameter", "rparen"], regex : "(\\\\begin)({)(verbatim)(})", @@ -709,4 +709,4 @@ exports.Mode = Mode; } }); })(); - \ No newline at end of file +