# HG changeset patch # User Tuomo Valkonen # Date 1620917266 18000 # Node ID f34b09beada40730033cc64c01488ed2c3dbd288 # Parent c8a6390ebc588ff30d3b2cff782258759c7510e1 Support \missingfigure diff -r c8a6390ebc58 -r f34b09beada4 README.md --- a/README.md Thu Jun 25 15:11:15 2020 -0500 +++ b/README.md Thu May 13 09:47:46 2021 -0500 @@ -7,7 +7,7 @@ The present package complements texlab with richer syntax highlighting. The grammar is derived from LaTeX-Workshop, but has improvements including - a) Highlighting for the `todonotes` package: `\todo` as well as custom-defined + a) Highlighting for the `todonotes` package: `\todo` and `\missingfigure` as well as custom-defined `\XYtodo` for author initials `X` and `Y`. b) Likewise (custom-defined) `\reply` and `\XYreply` macros are highlighted to diff -r c8a6390ebc58 -r f34b09beada4 package.json --- a/package.json Thu Jun 25 15:11:15 2020 -0500 +++ b/package.json Thu May 13 09:47:46 2021 -0500 @@ -2,7 +2,7 @@ "name": "latex-syntax", "displayName": "latex-syntax", "description": "Rich LaTeX syntax highlighting (for use with Texlab)", - "version": "0.0.6", + "version": "0.0.7", "publisher": "vomout", "license": "MIT", "homepage": "https://tuomov.iki.fi/software/", diff -r c8a6390ebc58 -r f34b09beada4 syntaxes/LaTeX.tmLanguage.json --- a/syntaxes/LaTeX.tmLanguage.json Thu Jun 25 15:11:15 2020 -0500 +++ b/syntaxes/LaTeX.tmLanguage.json Thu May 13 09:47:46 2021 -0500 @@ -959,7 +959,7 @@ ] }, { - "begin": "((\\\\)(?:[a-zA-Z][a-zA-Z])?todo)((?:\\[[^\\[]*?\\])*)(\\{)", + "begin": "((\\\\)(?:[a-zA-Z][a-zA-Z])?(?:todo|missingfigure))((?:\\[[^\\[]*?\\])*)(\\{)", "beginCaptures": { "1": { "name": "support.function.todo.latex"