Skip to content

Commit

Permalink
Add a global meta.template.ngx scope
Browse files Browse the repository at this point in the history
This commit scopes whole document `meta.template`.

Various template syntaxes make use of it to be able to use simpler snippet or
completion selectors across all supported languages (e.g.: CSS/JS/HTML).
  • Loading branch information
deathaxe authored and princemaple committed Dec 17, 2024
1 parent 7aded57 commit 8945ce0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NgxHTML.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ contexts:

###[ HTML CUSTOMIZATIONS ]#####################################################

main:
- meta_prepend: true
- meta_scope: meta.template.ngx

cdata-content:
- meta_prepend: true
- include: ng-string-interpolations
Expand Down

0 comments on commit 8945ce0

Please sign in to comment.