mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Highlight \vref like \ref
This commit is contained in:
parent
dbd7b95823
commit
2c5f3c728c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ var LatexHighlightRules = function() {
|
||||||
regex : "(\\\\(?:documentclass|usepackage))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})"
|
regex : "(\\\\(?:documentclass|usepackage))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})"
|
||||||
}, {
|
}, {
|
||||||
token : ["keyword","lparen", "variable.parameter", "rparen"],
|
token : ["keyword","lparen", "variable.parameter", "rparen"],
|
||||||
regex : "(\\\\(?:label|ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?"
|
regex : "(\\\\(?:label|v?ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?"
|
||||||
}, {
|
}, {
|
||||||
token : ["storage.type", "lparen", "variable.parameter", "rparen"],
|
token : ["storage.type", "lparen", "variable.parameter", "rparen"],
|
||||||
regex : "(\\\\(?:begin|end))({)(\\w*)(})"
|
regex : "(\\\\(?:begin|end))({)(\\w*)(})"
|
||||||
|
|
Loading…
Reference in a new issue