@cwolves: did you found an answer and solution? Or more “advanced scoping for snippets” docs or hints, if any?
some docs I am grokking now, trying to find an answer:
https://www.sublimetext.com/docs/scope_naming.html
https://macromates.com/manual/en/scope_selectors
hm. This worked for me:
<scope>source.shell.bash - string</scope>
excludes strings well, and I see precence of “string.*” in scopes
(checking current scope with Ctrl+Shift+P (macOS) )
but this isn’t:
<scope>source.shell.bash - meta</scope>
this doesn’t excludes any meta even it’s present in the scope. Hm.