highlight input command

This commit is contained in:
Daniel Felder 2014-08-11 11:51:38 +00:00
commit c3411631a1

View file

@ -15,7 +15,7 @@ var LatexHighlightRules = function() {
},{
// Documentclass and usepackage
token : ["keyword","lparen","variable.parameter","rparen", "lparen","storage.type","rparen"],
regex : "(\\\\(?:documentclass|usepackage|input))(?:(\\[)([^\\]]*)(\\]))?({)(\\w*)(})"
regex : "(\\\\(?:documentclass|usepackage|input))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})"
},{
// A label
token : ["keyword","lparen","variable.parameter","rparen"],