Skip to content

Commit 7d992c1

Browse files
deathaxeprincemaple
deathaxe
authored andcommitted
Move variables to bottom
1 parent f8abc9a commit 7d992c1

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

NgxHTML.sublime-syntax

+20-18
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,6 @@ file_extensions:
1010
- ngx
1111
- component.html
1212

13-
variables:
14-
15-
bin_digit: '[01_]'
16-
oct_digit: '[0-7_]'
17-
dec_digit: '[0-9_]'
18-
hex_digit: '[\h_]'
19-
dec_integer: (?:0|[1-9]{{dec_digit}}*)
20-
dec_exponent: '[Ee](?:[-+]|(?![-+])){{dec_digit}}*'
21-
22-
# JavaScript identifier
23-
ident_name: (?:{{ident_start}}{{ident_part}}*{{ident_break}})
24-
ident_break: (?!{{ident_part}})
25-
ident_escape: (?:\\u(?:\h{4}|\{\h+\}))
26-
ident_start: (?:[_$\p{L}\p{Nl}]|{{ident_escape}})
27-
ident_part: (?:[_$\p{L}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{200C}\x{200D}]|{{ident_escape}})
28-
29-
dot_accessor: (?:\??\.(?!\.))
30-
3113
contexts:
3214

3315
###[ HTML CUSTOMIZATIONS ]#####################################################
@@ -686,3 +668,23 @@ contexts:
686668
ng-block-pop:
687669
- match: (?=[;)}])
688670
pop: 1
671+
672+
###############################################################################
673+
674+
variables:
675+
676+
bin_digit: '[01_]'
677+
oct_digit: '[0-7_]'
678+
dec_digit: '[0-9_]'
679+
hex_digit: '[\h_]'
680+
dec_integer: (?:0|[1-9]{{dec_digit}}*)
681+
dec_exponent: '[Ee](?:[-+]|(?![-+])){{dec_digit}}*'
682+
683+
# JavaScript identifier
684+
ident_name: (?:{{ident_start}}{{ident_part}}*{{ident_break}})
685+
ident_break: (?!{{ident_part}})
686+
ident_escape: (?:\\u(?:\h{4}|\{\h+\}))
687+
ident_start: (?:[_$\p{L}\p{Nl}]|{{ident_escape}})
688+
ident_part: (?:[_$\p{L}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\x{200C}\x{200D}]|{{ident_escape}})
689+
690+
dot_accessor: (?:\??\.(?!\.))

0 commit comments

Comments
 (0)