Skip to content

Commit 3ed0687

Browse files
committed
Format file to use tabs indentation where spaces were used
1 parent b1c5a7a commit 3ed0687

File tree

1 file changed

+97
-97
lines changed

1 file changed

+97
-97
lines changed

syntaxes/css.tmLanguage.json

Lines changed: 97 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -791,52 +791,52 @@
791791
{
792792
"include": "#escapes"
793793
},
794-
{
795-
"match": "(?xi)\n (?<=not.*)not\n # Only one `not` in allowed",
794+
{
795+
"match": "(?xi)\n (?<=not.*)not\n # Only one `not` in allowed",
796796
"name": "invalid.illegal.multiple-not.container.css"
797-
},
797+
},
798798
{
799799
"match": "(?i)(?<=\\s|^|,|\\*/)(and|or|not)(?=\\s|{|/\\*|$)",
800800
"name": "keyword.operator.logical.$1.container.css"
801801
},
802802
{
803803
"include": "#container-name"
804804
},
805-
{
805+
{
806806
"include": "#container-query"
807807
}
808808
]
809809
},
810810
"container-name": {
811-
"begin": "\\G",
811+
"begin": "\\G",
812812
"end": "(?xi)\n (?=(?:\\(|not)|style\\()\n # Ends when `(`, `not`, or `style(` is reached",
813-
"patterns": [
814-
{
813+
"patterns": [
814+
{
815815
"include": "#comment-block"
816816
},
817-
{
818-
"captures": {
819-
"1": {
820-
"name": "invalid.illegal.constant.container-name.container.css"
821-
},
822-
"2": {
823-
"name": "support.constant.container-name.container.css"
824-
}
825-
},
826-
"match": "(?xi)\n (?<=^|\\s|\\*/)\n(?:\n # Invalid name\n (default|none)\n |\n # Valid names\n ([a-zA-Z0-9\\-_\\\\]+)\n )\n(?=$|[({\\s;]|/\\*)"
827-
}
828-
]
817+
{
818+
"captures": {
819+
"1": {
820+
"name": "invalid.illegal.constant.container-name.container.css"
821+
},
822+
"2": {
823+
"name": "support.constant.container-name.container.css"
824+
}
825+
},
826+
"match": "(?xi)\n (?<=^|\\s|\\*/)\n(?:\n # Invalid name\n (default|none)\n |\n # Valid names\n ([a-zA-Z0-9\\-_\\\\]+)\n )\n(?=$|[({\\s;]|/\\*)"
827+
}
828+
]
829829
},
830-
"container-query": {
830+
"container-query": {
831831
"begin": "((?<=\\s)\\()|(style)(\\()",
832832
"beginCaptures": {
833-
"1": {
833+
"1": {
834834
"name": "punctuation.definition.parameters.begin.bracket.round.css"
835835
},
836-
"2": {
836+
"2": {
837837
"name": "support.style-query.container.css"
838838
},
839-
"3": {
839+
"3": {
840840
"name": "punctuation.definition.parameters.begin.bracket.round.css"
841841
}
842842
},
@@ -847,85 +847,85 @@
847847
}
848848
},
849849
"patterns": [
850-
{
851-
"begin": "(?xi)\n (?<=\\s\\()\n # Rules for size <container-query>",
852-
"end": "(?=\\))",
853-
"patterns": [
854-
{
855-
"include": "#container-query-features"
856-
},
857-
{
858-
"include": "#container-size-features"
859-
},
860-
{
861-
"include": "#container-size-feature-keywords"
862-
}
863-
]
864-
},
865-
{
866-
"begin": "(?xi)\n (?<=style\\()\n # Rules for container-query <style-query>",
867-
"end": "(?=\\))",
868-
"name": "style-query.container.css",
869-
"patterns": [
870-
{
871-
"include": "#container-query-features"
872-
},
873-
{
874-
"include": "#container-style-features"
875-
},
876-
{
877-
"include": "#container-style-feature-keywords"
878-
}
879-
]
850+
{
851+
"begin": "(?xi)\n (?<=\\s\\()\n # Rules for size <container-query>",
852+
"end": "(?=\\))",
853+
"patterns": [
854+
{
855+
"include": "#container-query-features"
856+
},
857+
{
858+
"include": "#container-size-features"
859+
},
860+
{
861+
"include": "#container-size-feature-keywords"
862+
}
863+
]
864+
},
865+
{
866+
"begin": "(?xi)\n (?<=style\\()\n # Rules for container-query <style-query>",
867+
"end": "(?=\\))",
868+
"name": "style-query.container.css",
869+
"patterns": [
870+
{
871+
"include": "#container-query-features"
872+
},
873+
{
874+
"include": "#container-style-features"
875+
},
876+
{
877+
"include": "#container-style-feature-keywords"
878+
}
879+
]
880+
}
881+
]
882+
},
883+
"container-query-features": {
884+
"patterns": [
885+
{
886+
"match": ":",
887+
"name": "punctuation.separator.key-value.css"
888+
},
889+
{
890+
"match": ">=|<=|=|<|>",
891+
"name": "keyword.operator.comparison.css"
892+
},
893+
{
894+
"include": "#numeric-values"
895+
},
896+
{
897+
"include": "#comment-block"
880898
}
881899
]
882900
},
883-
"container-query-features": {
884-
"patterns": [
885-
{
886-
"match": ":",
887-
"name": "punctuation.separator.key-value.css"
888-
},
889-
{
890-
"match": ">=|<=|=|<|>",
891-
"name": "keyword.operator.comparison.css"
892-
},
893-
{
894-
"include": "#numeric-values"
895-
},
896-
{
897-
"include": "#comment-block"
898-
}
899-
]
900-
},
901901
"container-size-features": {
902-
"match": "(?xi)\n (?<=^|\\s|\\(|\\*/) # Preceded by whitespace, bracket or comment\n (?:\n # Standardised features\n (\n (?:min-|max-)? # Range features\n (?: aspect-ratio\n | block-size\n | height\n | inline-size\n | width\n )\n | orientation\n )\n )\n (?=\\s|$|[><:=]|\\)|/\\*) # Terminates cleanly",
902+
"match": "(?xi)\n (?<=^|\\s|\\(|\\*/) # Preceded by whitespace, bracket or comment\n (?:\n # Standardised features\n (\n (?:min-|max-)? # Range features\n (?: aspect-ratio\n | block-size\n | height\n | inline-size\n | width\n )\n | orientation\n )\n )\n (?=\\s|$|[><:=]|\\)|/\\*) # Terminates cleanly",
903903
"name": "support.size.property-name.container.css"
904904
},
905-
"container-size-feature-keywords": {
906-
"patterns": [
907-
{
908-
"match": "(?xi)\n (?<=^|\\s|:|\\*/)\n # Preceded by whitespace, colon, or comment\n (?: portrait\n | landscape\n # Orientation\n )\n (?=\\s|\\)|$)",
909-
"name": "support.constant.property-value.container.css"
910-
},
911-
{
912-
"include": "#functions"
913-
}
914-
]
915-
},
916-
"container-style-features": {
917-
"match": "(?x)\n # Custom Property Name\n (?<=^|\\s|\\(|\\*/) # Preceded by whitespace, bracket or comment\n (?<![\\w-])\n --\n (?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n (?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
905+
"container-size-feature-keywords": {
906+
"patterns": [
907+
{
908+
"match": "(?xi)\n (?<=^|\\s|:|\\*/)\n # Preceded by whitespace, colon, or comment\n (?: portrait\n | landscape\n # Orientation\n )\n (?=\\s|\\)|$)",
909+
"name": "support.constant.property-value.container.css"
910+
},
911+
{
912+
"include": "#functions"
913+
}
914+
]
915+
},
916+
"container-style-features": {
917+
"match": "(?x)\n # Custom Property Name\n (?<=^|\\s|\\(|\\*/) # Preceded by whitespace, bracket or comment\n (?<![\\w-])\n --\n (?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n (?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",
918918
"name": "variable.style-query.container.css"
919-
},
920-
"container-style-feature-keywords": {
921-
"begin": "(?xi)\n (?<=[\\:\\s*|\\*/])\n # Preceded by colon and zero or more whitespaces, or a comment \n (?:(?!\\s)) # Ignore trailing whitespace",
922-
"end": "(?=[\\s|\\)|$])",
923-
"patterns": [
924-
{
925-
"match": "(true|false)",
926-
"name": "support.constant.boolean.container.css"
927-
},
928-
{
919+
},
920+
"container-style-feature-keywords": {
921+
"begin": "(?xi)\n (?<=[\\:\\s*|\\*/])\n # Preceded by colon and zero or more whitespaces, or a comment \n (?:(?!\\s)) # Ignore trailing whitespace",
922+
"end": "(?=[\\s|\\)|$])",
923+
"patterns": [
924+
{
925+
"match": "(true|false)",
926+
"name": "support.constant.boolean.container.css"
927+
},
928+
{
929929
"include": "#functions"
930930
},
931931
{
@@ -937,8 +937,8 @@
937937
{
938938
"include": "#color-keywords"
939939
}
940-
]
941-
},
940+
]
941+
},
942942
"escapes": {
943943
"patterns": [
944944
{

0 commit comments

Comments
 (0)