Restriction of injection grammars for specific filename #200248
Labels
feature-request
Request for new features or functionality
grammar
Syntax highlighting grammar
*out-of-scope
Posted issue is not in scope of VS Code
I can not find a way to restrict injected syntax highlighting to specific files like
foo.json
.In my use case I want extend syntax highlighting in dictionary string values of specific JSON files with a fixed file name. The syntax highlighting works fine but it is also enabled in other JSON files I do not want them to be enabled. Is there a way to restrict injected syntax highlighting to a specific file name or do I have to create a language server?
The text was updated successfully, but these errors were encountered: