I know it’s possible to create grammar-specific settings within
config.cson. Is it possible to create settings for different scopes within a grammar?
For example, I’m using Stata and it references local macros with ```local_macro’`` (i.e. a backtick before the name and a single quote after the name). So I can do something like
".source.stata": "bracket-matcher": autocompleteCharacters: [ "`'" ]
so that the bracket matcher generally adds a single quote after a backtick. But I want to be able to write in Markdown within comments and would like the bracket matcher to add a backtick after another backtick when the cursor is in a comment scope. Is there a way to do something like
".source.stata:(.comment)": "bracket-matcher": autocompleteCharacters: [ "``" ]
to make this work?