File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ patterns:
2929 - name : keyword.control.pair.latte
3030 match : (?<=\{)/?(block|cache|capture|define|first|foreach|form|for|ifset|ifCurrent|if|label|last|l|sep|snippet|syntax|while)\s*
3131 - name : keyword.operator.latte
32- match : !|/|===|as|and|AND|And|&&|or|OR|Or|\|\||\+\+|\-\-|==|<=>|>=|<=
32+ match : (?<=\s)(\ !|/|===|as|and|AND|And|&&|or|OR|Or|\|\||\+\+|\-\-|==|<=>|>=|<=)\s?
3333 - name : keyword.operator.latte
3434 match : ->
3535 - match : .*?(\|)(\w+)(?:\:([^\|\}]+))*
Original file line number Diff line number Diff line change 8181 </dict >
8282 <dict >
8383 <key >match </key >
84- <string >\ !|/|===|as|and|AND|And|&& |or|OR|Or|\|\||\+\+|\-\-|==|< => |> =|< = </string >
84+ <string >(? < =\s)(\ !|/|===|as|and|AND|And|&& |or|OR|Or|\|\||\+\+|\-\-|==|< => |> =|< =)\s? </string >
8585 <key >name </key >
8686 <string >keyword.operator.latte </string >
8787 </dict >
You can’t perform that action at this time.
0 commit comments