Support \missingfigure default tip

Thu, 13 May 2021 09:47:46 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Thu, 13 May 2021 09:47:46 -0500
changeset 27
f34b09beada4
parent 26
c8a6390ebc58

Support \missingfigure

README.md file | annotate | diff | comparison | revisions
package.json file | annotate | diff | comparison | revisions
syntaxes/LaTeX.tmLanguage.json file | annotate | diff | comparison | revisions
--- 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
--- 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/",
--- 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"

mercurial