# HG changeset patch # User Tuomo Valkonen # Date 1589496350 18000 # Node ID 2f22cc1afaad81e0d301aba02913dc32b06960ee # Parent 238c7ce8fd493c4a661d50ba42b41f1b51fcb64b More compact example colour definition diff -r 238c7ce8fd49 -r 2f22cc1afaad README.md --- 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.