Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec6e347

Browse files
JGJPskyronic
authored andcommitted
Add SugarSS highlighting
1 parent534f664 commitec6e347

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

‎Vue Component.sublime-syntax‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,20 @@ contexts:
742742
escape:(?i)(?=(?:-->\s*)?</style)
743743
-tag-generic-attribute-meta
744744
-tag-generic-attribute-value
745+
-match:(?i)(?=postcss\?parser=sugarss(?!{{unquoted_attribute_value}})|\'postcss\?parser=sugarss\'|"postcss\?parser=sugarss")
746+
set:
747+
-- meta_content_scope:meta.tag.style.begin.html
748+
-include:style-common
749+
-match:'>'
750+
scope:punctuation.definition.tag.end.html
751+
set:
752+
-include:style-close-tag
753+
-match:''
754+
embed_scope:source.sss.embedded.html
755+
embed:scope:source.sss
756+
escape:(?i)(?=(?:-->\s*)?</style)
757+
-tag-generic-attribute-meta
758+
-tag-generic-attribute-value
745759
-match:(?i)(?=postcss(?!{{unquoted_attribute_value}})|\'postcss\'|"postcss")
746760
set:
747761
-- meta_content_scope:meta.tag.style.begin.html

‎Vue Component.sublime-syntax.yaml-macros‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ contexts: !merge
8484
- !style_language [ sass, source.sass ]
8585
- !style_language [ scss, source.scss ]
8686
- !style_language [ stylus, source.stylus ]
87+
- !style_language [ postcss\?parser=sugarss, source.sss ]
8788
- !style_language [ postcss, source.postcss ]
8889
- !style_language [ less, source.css.less ]
8990
- match: (?=\S)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp