On 12 Sep 2008, at 14:50, kyle murphy wrote:
- Let's say I wanted to create a Language Grammar (.bah) that
inserts 'bah' when I type b + tab. However, this snippet should only work in .bah files.
So my new language looks like this:
{ scopeName = 'text.bah'; fileTypes = ( bah ); ...
When I create a new snippet, and give it a scope of 'text', it works in .bah files; however, when I give it a scope of text.bah, it doesn't.
Try press ⌃⇧P to see what the scope is in your bah file.