Skip to content

Commit

Permalink
Change the scope and assign to *.component.html by default (#21)
Browse files Browse the repository at this point in the history
* Apply the syntax to `*.component.html` files by default

* Change the scope to differentiate from default HTML syntax

* Update NgxHTML.sublime-syntax

Co-authored-by: Po Chen <[email protected]>
  • Loading branch information
Ihor Oleksandrov and princemaple authored Aug 8, 2020
1 parent b98544e commit e0c9c4e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions NgxHTML.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@
---
name: Ngx HTML
file_extensions:
- html
- htm
- shtml
- xhtml
- inc
- tmpl
- tpl
first_line_match: (?i)<(!DOCTYPE\s*)?html
scope: text.html.basic
- component.html
scope: text.html.ngx

variables:
unquoted_attribute_value: (?:[^\s<>/''"]|/(?!>))+
Expand Down

0 comments on commit e0c9c4e

Please sign in to comment.