Skip to content

Commit f8abc9a

Browse files
deathaxeprincemaple
deathaxe
authored andcommitted
Move angular expressions section
This commit moves angular expressions for a more logical order of sections, starting with... 1. HTML injections 2. angular directives 3. angular declarations (let statement) 4. angular control flow statements 5. angular interpolation followed by... 6. angular expressions with all following contexts being part of expressions.
1 parent 892df8b commit f8abc9a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

NgxHTML.sublime-syntax

+16-16
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,6 @@ contexts:
4242
- meta_prepend: true
4343
- include: ng-directives
4444

45-
###[ ANGULAR EXPRESSIONS ]#####################################################
46-
47-
ng-expressions:
48-
# https://angular.dev/guide/templates/expression-syntax
49-
- include: ng-arrays
50-
- include: ng-groups
51-
- include: ng-objects
52-
- include: ng-function-calls
53-
- include: ng-filters
54-
- include: ng-operators
55-
- include: ng-constants
56-
- include: ng-numbers
57-
- include: ng-strings
58-
- include: ng-variables
59-
6045
###[ ANGULAR DIRECTIVES ]######################################################
6146

6247
ng-directives:
@@ -341,7 +326,22 @@ contexts:
341326
pop: 1
342327
- include: ng-expressions
343328

344-
###[ ANGULAR ARRAYS ]###########################################################
329+
###[ ANGULAR EXPRESSIONS ]#####################################################
330+
331+
ng-expressions:
332+
# https://angular.dev/guide/templates/expression-syntax
333+
- include: ng-arrays
334+
- include: ng-groups
335+
- include: ng-objects
336+
- include: ng-function-calls
337+
- include: ng-filters
338+
- include: ng-operators
339+
- include: ng-constants
340+
- include: ng-numbers
341+
- include: ng-strings
342+
- include: ng-variables
343+
344+
###[ ANGULAR ARRAYS ]##########################################################
345345

346346
ng-arrays:
347347
- match: \[

0 commit comments

Comments
 (0)