No language filter in `editor.tokenColorCustomizations`. draft

Thu, 14 May 2020 09:55:49 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Thu, 14 May 2020 09:55:49 -0500
changeset 22
24bbbfc71c1b
parent 21
1dc4f331d3d5
child 23
6ec219fa34fc

No language filter in `editor.tokenColorCustomizations`.
(https://github.com/microsoft/vscode/issues/97753#issuecomment-628490844)
Still doesn't work injecting them, though.

package.json file | annotate | diff | comparison | revisions
--- a/package.json	Wed May 13 15:17:53 2020 -0500
+++ b/package.json	Thu May 14 09:55:49 2020 -0500
@@ -85,39 +85,37 @@
             }
         ],
         "configurationDefaults": {
-            "[latexplus]": {
-                "editor.tokenColorCustomizations": {
-                    "textMateRules": [
-                        {
-                            "scope": "entity.name.todo.latex",
-                            "settings": {
-                                "foreground": "#d17000",
-                                "fontStyle": "italic"
-                            }
-                        },
-                        {
-                            "scope": "support.function.todo.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"
-                            }
+            "editor.tokenColorCustomizations": {
+                "textMateRules": [
+                    {
+                        "scope": "entity.name.todo.latex",
+                        "settings": {
+                            "foreground": "#d17000",
+                            "fontStyle": "italic"
+                        }
+                    },
+                    {
+                        "scope": "support.function.todo.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"
+                        }
+                    }
+                ]
             }
         }
     }

mercurial