mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1839 from overleaf/ns-add-vref
add vref GitOrigin-RevId: aa311141873f818830dcfa5ea63f0420549b5dd9
This commit is contained in:
parent
a8edafe104
commit
2f14426876
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
|||
}
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue