Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes emmetio#184 Fixes Sublime-Instincts/BetterTwig#40 This commit fixes abbreviations being disabled in various template syntaxes such as Jinja2 or Twig, which use common `text.html meta.template` scope to enable template related snippets and completions in all sub-syntaxes with easy/short selectors. Instead of excluding all meta scopes by `- meta`, only relevant ones are, which indicate embedded or interpolated templating code or html tags. `text.html.cfml - meta.tag` is removed as it is coverd by `text.html - text.html meta.tag`. Note each negative selector is prefixed with `text.html` to make sure to match only parts within HTML/XML, even if it is embedded in another source code. That's required to keep abbreviations working in e.g. `source.astro text.html`.
- Loading branch information