--- a/syntaxes/LaTeX.tmLanguage.json Thu May 14 17:45:50 2020 -0500 +++ b/syntaxes/LaTeX.tmLanguage.json Fri May 29 15:32:47 2020 -0500 @@ -995,6 +995,42 @@ ] }, { + "begin": "((\\\\)(?:[a-zA-Z][a-zA-Z])?reply)((?:\\[[^\\[]*?\\])*)(\\{)", + "beginCaptures": { + "1": { + "name": "support.function.todo.reply.latex" + }, + "2": { + "name": "punctuation.definition.function.latex" + }, + "3": { + "patterns": [ + { + "include": "#optional-arg" + } + ] + }, + "4": { + "name": "punctuation.definition.todo.reply.begin.latex" + } + }, + "contentName": "entity.name.todo.reply.latex", + "end": "\\}", + "endCaptures": { + "0": { + "name": "punctuation.definition.todo.reply.end.latex" + } + }, + "patterns": [ + { + "include": "text.tex#braces" + }, + { + "include": "$base" + } + ] + }, + { "begin": "((\\\\)emph)(\\{)", "beginCaptures": { "1": {