Skip to content

Commit 7438f62

Browse files
committed
Prepare for changed import media queries
see: sublimehq/Packages#3831
1 parent aaf3e8a commit 7438f62

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Syntaxes/Less.sublime-syntax

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ contexts:
506506
0: keyword.control.directive.css
507507
1: punctuation.definition.keyword.css
508508
push:
509+
- at-import-media-query
509510
- at-import-body
510511
- at-import-options-list
511512

@@ -524,6 +525,11 @@ contexts:
524525
- match: '{{less_import_options}}'
525526
scope: constant.language.import.less
526527

528+
at-import-media-query:
529+
# Note: A dummy context to maintain backward compatibility
530+
- meta_append: true
531+
- include: else-pop
532+
527533
###[ LESS AT PLUGINS ]#########################################################
528534

529535
less-plugins:

0 commit comments

Comments
 (0)