Thu, 14 May 2020 17:45:50 -0500
More compact example colour definition
README.md | file | annotate | diff | comparison | revisions |
--- a/README.md Wed May 13 16:16:39 2020 -0500 +++ b/README.md Thu May 14 17:45:50 2020 -0500 @@ -28,35 +28,19 @@ "editor.tokenColorCustomizations": { "textMateRules": [ { - "scope": "entity.name.todo.latex", - "settings": { - "foreground": "#d17000", - "fontStyle": "italic", - } - }, - { - "scope": "support.function.todo.latex", + "scope": [ + "entity.name.todo.latex", + "support.function.todo.latex", + "entity.name.footnote.latex", + "support.function.footnote.latex" + ], "settings": { "foreground": "#d17000", - "fontStyle": "italic", - } - }, - { - "scope": "entity.name.footnote.latex", - "settings": { - "foreground": "#e28000", - "fontStyle": "italic", - } - }, - { - "scope": "support.function.footnote.latex", - "settings": { - "foreground": "#e28000", - "fontStyle": "italic", + "fontStyle": "italic" } } - ], -}, + ] +} ``` Initial-prefixed `\XYtodo` custom todonotes commands are also supported.