26 |
26 |
27 ```json |
27 ```json |
28 "editor.tokenColorCustomizations": { |
28 "editor.tokenColorCustomizations": { |
29 "textMateRules": [ |
29 "textMateRules": [ |
30 { |
30 { |
31 "scope": "entity.name.todo.latex", |
31 "scope": [ |
|
32 "entity.name.todo.latex", |
|
33 "support.function.todo.latex", |
|
34 "entity.name.footnote.latex", |
|
35 "support.function.footnote.latex" |
|
36 ], |
32 "settings": { |
37 "settings": { |
33 "foreground": "#d17000", |
38 "foreground": "#d17000", |
34 "fontStyle": "italic", |
39 "fontStyle": "italic" |
35 } |
|
36 }, |
|
37 { |
|
38 "scope": "support.function.todo.latex", |
|
39 "settings": { |
|
40 "foreground": "#d17000", |
|
41 "fontStyle": "italic", |
|
42 } |
|
43 }, |
|
44 { |
|
45 "scope": "entity.name.footnote.latex", |
|
46 "settings": { |
|
47 "foreground": "#e28000", |
|
48 "fontStyle": "italic", |
|
49 } |
|
50 }, |
|
51 { |
|
52 "scope": "support.function.footnote.latex", |
|
53 "settings": { |
|
54 "foreground": "#e28000", |
|
55 "fontStyle": "italic", |
|
56 } |
40 } |
57 } |
41 } |
58 ], |
42 ] |
59 }, |
43 } |
60 ``` |
44 ``` |
61 |
45 |
62 Initial-prefixed `\XYtodo` custom todonotes commands are also supported. |
46 Initial-prefixed `\XYtodo` custom todonotes commands are also supported. |
63 For example, `\lstodo{a latex-syntax todo}` will be highlighted if you do |
47 For example, `\lstodo{a latex-syntax todo}` will be highlighted if you do |
64 the above colour customisations and in your LaTeX source define |
48 the above colour customisations and in your LaTeX source define |