@@ -563,15 +563,15 @@ const ThemePreview: React.FC = () => {
563
563
scopeName : string
564
564
) : Promise < IGrammarDefinition > => {
565
565
const grammarMap : { [ key : string ] : string } = {
566
- 'source.tsx' : '/ TypeScriptReact.tmLanguage.json' ,
567
- 'source.js.jsx' : '/ JavaScriptReact.tmLanguage.json' ,
568
- 'source.ts' : '/ TypeScript.tmLanguage.json' ,
569
- 'source.js' : '/ JavaScript.tmLanguage.json' ,
570
- 'source.css' : '/ css.tmLanguage.json' ,
571
- 'text.html.markdown' : '/ markdown.tmLanguage.json' ,
572
- 'text.html.basic' : '/ html.tmLanguage.json' ,
573
- 'source.python' : '/ MagicPython.tmLanguage.json' ,
574
- 'source.yaml' : '/ yaml.tmLanguage.json' ,
566
+ 'source.tsx' : 'TypeScriptReact.tmLanguage.json' ,
567
+ 'source.js.jsx' : 'JavaScriptReact.tmLanguage.json' ,
568
+ 'source.ts' : 'TypeScript.tmLanguage.json' ,
569
+ 'source.js' : 'JavaScript.tmLanguage.json' ,
570
+ 'source.css' : 'css.tmLanguage.json' ,
571
+ 'text.html.markdown' : 'markdown.tmLanguage.json' ,
572
+ 'text.html.basic' : 'html.tmLanguage.json' ,
573
+ 'source.python' : 'MagicPython.tmLanguage.json' ,
574
+ 'source.yaml' : 'yaml.tmLanguage.json' ,
575
575
}
576
576
577
577
if ( scopeName in grammarMap ) {
0 commit comments