I think there’s something wrong with my snippet, so this is the code:
<snippet>
<content><![CDATA[
@include MQ($1) {
$2
}
]]></content>
<tabTrigger>mmq</tabTrigger>
<scope>source.scss</scope>
<description>mixin media query</description>
</snippet>
- Typing ‘mmq’ followed by tab inserts the snippet as intended.
- The insertion point goes where I want.
- When I tab again the cursor moves to where the css should start. So far so good.
- If I then type an Emmet abbreviation (e.g. ‘fz’ for font-size) and hit tab, nothing happens and the ‘fz’ stays highlighted; if I click somewhere else on the page, then back to after the ‘fz’ and then hit tab it works (font-size replaces ‘fz’). Font-size is just an example, any abbreviation has the same effect, likewise another snippet, so its not just Emmet.
Is there something wrong with the snippet, or a setting in Sublime (Emmet is just using default settings, nothing completion-related in my Sublime user settings).
Any suggestions appreciated!