added vscode extensions
This commit is contained in:
parent
7cde0829be
commit
26e2a50441
316 changed files with 37301 additions and 0 deletions
45
.vscode/extensions/octref.vetur-0.34.1/syntaxes/markdown-vue.json
vendored
Normal file
45
.vscode/extensions/octref.vetur-0.34.1/syntaxes/markdown-vue.json
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"scopeName": "markdown.vue.codeblock",
|
||||
"fileTypes": [],
|
||||
"injectionSelector": "L:text.html.markdown",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#vue-code-block"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"vue-code-block": {
|
||||
"begin": "(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(vue)(\\s+[^`~]*)?$)",
|
||||
"name": "markup.fenced_code.block.markdown",
|
||||
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
||||
"beginCaptures": {
|
||||
"3": {
|
||||
"name": "punctuation.definition.markdown"
|
||||
},
|
||||
"5": {
|
||||
"name": "fenced_code.block.language"
|
||||
},
|
||||
"6": {
|
||||
"name": "fenced_code.block.language.attributes"
|
||||
}
|
||||
},
|
||||
"endCaptures": {
|
||||
"3": {
|
||||
"name": "punctuation.definition.markdown"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "(^|\\G)(\\s*)(.*)",
|
||||
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
||||
"contentName": "meta.embedded.block.vue",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
5
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/directives.YAML
vendored
Normal file
5
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/directives.YAML
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# [PackageDev] target_format: plist, ext: tmLanguage
|
||||
scopeName: vue.pug.directives
|
||||
injectionSelector: "L:meta.tag.other -text.html.vue-html"
|
||||
patterns:
|
||||
- include: 'source.vue#vue-directives'
|
||||
9
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/directives.tmLanguage.json
vendored
Normal file
9
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/directives.tmLanguage.json
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"scopeName": "vue.pug.directives",
|
||||
"injectionSelector": "L:meta.tag.other -text.html.vue-html",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-directives"
|
||||
}
|
||||
]
|
||||
}
|
||||
5
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/interpolations.YAML
vendored
Normal file
5
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/interpolations.YAML
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# [PackageDev] target_format: plist, ext: tmLanguage
|
||||
scopeName: vue.pug.interpolations
|
||||
injectionSelector: "L:text.pug"
|
||||
patterns:
|
||||
- include: source.vue#vue-interpolations
|
||||
9
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/interpolations.tmLanguage.json
vendored
Normal file
9
.vscode/extensions/octref.vetur-0.34.1/syntaxes/pug/interpolations.tmLanguage.json
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"scopeName": "vue.pug.interpolations",
|
||||
"injectionSelector": "L:text.pug",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-interpolations"
|
||||
}
|
||||
]
|
||||
}
|
||||
1287
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-generated.json
vendored
Normal file
1287
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-generated.json
vendored
Normal file
File diff suppressed because it is too large
Load diff
253
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-html.YAML
vendored
Normal file
253
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-html.YAML
vendored
Normal file
|
|
@ -0,0 +1,253 @@
|
|||
# [PackageDev] target_format: plist, ext: tmLanguage
|
||||
name: Vue HTML
|
||||
scopeName: text.html.vue-html
|
||||
fileTypes: []
|
||||
uuid: ca2e4260-5d62-45bf-8cf1-d8b5cc19c8f8
|
||||
patterns:
|
||||
- include: source.vue#vue-interpolations
|
||||
- name: meta.tag.any.html
|
||||
begin: (<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\2>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: support.class.component.html }
|
||||
end: (>)(<)(/)(\2)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
'2': { name: punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html }
|
||||
'3': { name: punctuation.definition.tag.begin.html }
|
||||
'4': { name: support.class.component.html }
|
||||
'5': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.any.html
|
||||
begin: (<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\2>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.html }
|
||||
end: (>)(<)(/)(\2)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
'2': { name: punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html }
|
||||
'3': { name: punctuation.definition.tag.begin.html }
|
||||
'4': { name: entity.name.tag.html }
|
||||
'5': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.preprocessor.xml.html
|
||||
begin: (<\?)(xml)
|
||||
end: (\?>)
|
||||
captures:
|
||||
'1': { name: punctuation.definition.tag.html }
|
||||
'2': { name: entity.name.tag.xml.html }
|
||||
patterns:
|
||||
- include: '#tag-generic-attribute'
|
||||
- include: '#string-double-quoted'
|
||||
- include: '#string-single-quoted'
|
||||
- name: comment.block.html
|
||||
begin: <!--
|
||||
end: -->
|
||||
captures:
|
||||
'0': { name: punctuation.definition.comment.html }
|
||||
- name: meta.tag.sgml.html
|
||||
begin: <!
|
||||
end: '>'
|
||||
captures:
|
||||
'0': { name: punctuation.definition.tag.html }
|
||||
patterns:
|
||||
- name: meta.tag.sgml.doctype.html
|
||||
begin: (?i:DOCTYPE)
|
||||
end: (?=>)
|
||||
captures:
|
||||
'1': { name: entity.name.tag.doctype.html }
|
||||
patterns:
|
||||
- name: string.quoted.double.doctype.identifiers-and-DTDs.html
|
||||
match: '"[^">]*"'
|
||||
- name: constant.other.inline-data.html
|
||||
begin: \[CDATA\[
|
||||
end: ']](?=>)'
|
||||
- name: invalid.illegal.bad-comments-or-CDATA.html
|
||||
match: (\s*)(?!--|>)\S(\s*)
|
||||
- name: meta.tag.block.any.html
|
||||
begin: (</?)([A-Z][a-zA-Z0-9:-]*\b)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: support.class.component.html }
|
||||
end: (>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.block.any.html
|
||||
begin: (</?)([a-z][a-zA-Z0-9:-]*\b)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.block.any.html }
|
||||
end: (>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.structure.any.html
|
||||
begin: (</?)((?i:body|head|html)\b)
|
||||
end: (>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
captures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.structure.any.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.block.any.html
|
||||
begin: (</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\b)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.block.any.html }
|
||||
end: (>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.inline.any.html
|
||||
begin: (</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\b)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.inline.any.html }
|
||||
end: (/?>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- name: meta.tag.other.html
|
||||
begin: (</?)([a-zA-Z0-9:-]+)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.other.html }
|
||||
end: (/?>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- include: '#entities'
|
||||
- name: invalid.illegal.incomplete.html
|
||||
match: <>
|
||||
- name: invalid.illegal.bad-angle-bracket.html
|
||||
match: <
|
||||
repository:
|
||||
entities:
|
||||
patterns:
|
||||
- name: constant.character.entity.html
|
||||
match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
||||
captures:
|
||||
'1': { name: punctuation.definition.entity.html }
|
||||
'3': { name: punctuation.definition.entity.html }
|
||||
- name: invalid.illegal.bad-ampersand.html
|
||||
match: '&'
|
||||
string-double-quoted:
|
||||
name: string.quoted.double.html
|
||||
begin: '"'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '"'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.vue#vue-interpolations
|
||||
- include: '#entities'
|
||||
string-single-quoted:
|
||||
name: string.quoted.single.html
|
||||
begin: "'"
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: "'"
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.vue#vue-interpolations
|
||||
- include: '#entities'
|
||||
tag-generic-attribute:
|
||||
name: entity.other.attribute-name.html
|
||||
match: (?<=[^=])\b([a-zA-Z0-9:\-_]+)
|
||||
tag-id-attribute:
|
||||
name: meta.attribute-with-value.id.html
|
||||
begin: \b(id)\b\s*(=)
|
||||
end: (?!\G)(?<='|"|[^\s<>/])
|
||||
captures:
|
||||
'1': { name: entity.other.attribute-name.id.html }
|
||||
'2': { name: punctuation.separator.key-value.html }
|
||||
patterns:
|
||||
- name: string.quoted.double.html
|
||||
contentName: meta.toc-list.id.html
|
||||
begin: '"'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '"'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.vue#vue-interpolations
|
||||
- include: '#entities'
|
||||
- name: string.quoted.single.html
|
||||
contentName: meta.toc-list.id.html
|
||||
begin: "'"
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: "'"
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.vue#vue-interpolations
|
||||
- include: '#entities'
|
||||
- name: string.unquoted.html
|
||||
match: (?<==)(?:[^\s<>/'"]|/(?!>))+
|
||||
captures:
|
||||
'0': { name: meta.toc-list.id.html }
|
||||
tag-stuff:
|
||||
patterns:
|
||||
- include: '#vue-directives'
|
||||
- include: '#tag-id-attribute'
|
||||
- include: '#tag-generic-attribute'
|
||||
- include: '#string-double-quoted'
|
||||
- include: '#string-single-quoted'
|
||||
- include: '#unquoted-attribute'
|
||||
unquoted-attribute:
|
||||
name: string.unquoted.html
|
||||
match: (?<==)(?:[^\s<>/'"]|/(?!>))+
|
||||
vue-directives:
|
||||
name: meta.directive.vue
|
||||
begin: (?:\b(v-)|(:|@|#))([a-zA-Z0-9\-_]+)(?:\:([a-zA-Z\-_]+))?(?:\.([a-zA-Z\-_]+))*\s*(=)
|
||||
end: (?<='|")|(?=[\s<>`])
|
||||
captures:
|
||||
'1': { name: entity.other.attribute-name.html }
|
||||
'2': { name: punctuation.separator.key-value.html }
|
||||
'3': { name: entity.other.attribute-name.html }
|
||||
'4': { name: entity.other.attribute-name.html }
|
||||
'5': { name: entity.other.attribute-name.html }
|
||||
'6': { name: punctuation.separator.key-value.html }
|
||||
patterns:
|
||||
- name: source.directive.vue
|
||||
begin: '`'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '`'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
- name: source.directive.vue
|
||||
begin: '"'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '"'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
- name: source.directive.vue
|
||||
begin: "'"
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: "'"
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
558
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-html.tmLanguage.json
vendored
Normal file
558
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-html.tmLanguage.json
vendored
Normal file
|
|
@ -0,0 +1,558 @@
|
|||
{
|
||||
"name": "Vue HTML",
|
||||
"scopeName": "text.html.vue-html",
|
||||
"fileTypes": [],
|
||||
"uuid": "ca2e4260-5d62-45bf-8cf1-d8b5cc19c8f8",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-interpolations"
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.any.html",
|
||||
"begin": "(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "support.class.component.html"
|
||||
}
|
||||
},
|
||||
"end": "(>)(<)(/)(\\2)(>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"4": {
|
||||
"name": "support.class.component.html"
|
||||
},
|
||||
"5": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.any.html",
|
||||
"begin": "(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.html"
|
||||
}
|
||||
},
|
||||
"end": "(>)(<)(/)(\\2)(>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"4": {
|
||||
"name": "entity.name.tag.html"
|
||||
},
|
||||
"5": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.preprocessor.xml.html",
|
||||
"begin": "(<\\?)(xml)",
|
||||
"end": "(\\?>)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.xml.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-generic-attribute"
|
||||
},
|
||||
{
|
||||
"include": "#string-double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#string-single-quoted"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "comment.block.html",
|
||||
"begin": "<!--",
|
||||
"end": "-->",
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.comment.html"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.sgml.html",
|
||||
"begin": "<!",
|
||||
"end": ">",
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.tag.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "meta.tag.sgml.doctype.html",
|
||||
"begin": "(?i:DOCTYPE)",
|
||||
"end": "(?=>)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.tag.doctype.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "string.quoted.double.doctype.identifiers-and-DTDs.html",
|
||||
"match": "\"[^\">]*\""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "constant.other.inline-data.html",
|
||||
"begin": "\\[CDATA\\[",
|
||||
"end": "]](?=>)"
|
||||
},
|
||||
{
|
||||
"name": "invalid.illegal.bad-comments-or-CDATA.html",
|
||||
"match": "(\\s*)(?!--|>)\\S(\\s*)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.block.any.html",
|
||||
"begin": "(</?)([A-Z][a-zA-Z0-9:-]*\\b)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "support.class.component.html"
|
||||
}
|
||||
},
|
||||
"end": "(>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.block.any.html",
|
||||
"begin": "(</?)([a-z][a-zA-Z0-9:-]*\\b)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.block.any.html"
|
||||
}
|
||||
},
|
||||
"end": "(>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.structure.any.html",
|
||||
"begin": "(</?)((?i:body|head|html)\\b)",
|
||||
"end": "(>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.structure.any.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.block.any.html",
|
||||
"begin": "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\\b)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.block.any.html"
|
||||
}
|
||||
},
|
||||
"end": "(>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.inline.any.html",
|
||||
"begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\\b)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.inline.any.html"
|
||||
}
|
||||
},
|
||||
"end": "(/?>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "meta.tag.other.html",
|
||||
"begin": "(</?)([a-zA-Z0-9:-]+)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.begin.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "entity.name.tag.other.html"
|
||||
}
|
||||
},
|
||||
"end": "(/?>)",
|
||||
"endCaptures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.tag.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#tag-stuff"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"include": "#entities"
|
||||
},
|
||||
{
|
||||
"name": "invalid.illegal.incomplete.html",
|
||||
"match": "<>"
|
||||
},
|
||||
{
|
||||
"name": "invalid.illegal.bad-angle-bracket.html",
|
||||
"match": "<"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"entities": {
|
||||
"patterns": [
|
||||
{
|
||||
"name": "constant.character.entity.html",
|
||||
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "punctuation.definition.entity.html"
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.entity.html"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "invalid.illegal.bad-ampersand.html",
|
||||
"match": "&"
|
||||
}
|
||||
]
|
||||
},
|
||||
"string-double-quoted": {
|
||||
"name": "string.quoted.double.html",
|
||||
"begin": "\"",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "\"",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-interpolations"
|
||||
},
|
||||
{
|
||||
"include": "#entities"
|
||||
}
|
||||
]
|
||||
},
|
||||
"string-single-quoted": {
|
||||
"name": "string.quoted.single.html",
|
||||
"begin": "'",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "'",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-interpolations"
|
||||
},
|
||||
{
|
||||
"include": "#entities"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tag-generic-attribute": {
|
||||
"name": "entity.other.attribute-name.html",
|
||||
"match": "(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)"
|
||||
},
|
||||
"tag-id-attribute": {
|
||||
"name": "meta.attribute-with-value.id.html",
|
||||
"begin": "\\b(id)\\b\\s*(=)",
|
||||
"end": "(?!\\G)(?<='|\"|[^\\s<>/])",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.other.attribute-name.id.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.key-value.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "string.quoted.double.html",
|
||||
"contentName": "meta.toc-list.id.html",
|
||||
"begin": "\"",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "\"",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-interpolations"
|
||||
},
|
||||
{
|
||||
"include": "#entities"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "string.quoted.single.html",
|
||||
"contentName": "meta.toc-list.id.html",
|
||||
"begin": "'",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "'",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.vue#vue-interpolations"
|
||||
},
|
||||
{
|
||||
"include": "#entities"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "string.unquoted.html",
|
||||
"match": "(?<==)(?:[^\\s<>/'\"]|/(?!>))+",
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "meta.toc-list.id.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tag-stuff": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#vue-directives"
|
||||
},
|
||||
{
|
||||
"include": "#tag-id-attribute"
|
||||
},
|
||||
{
|
||||
"include": "#tag-generic-attribute"
|
||||
},
|
||||
{
|
||||
"include": "#string-double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#string-single-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#unquoted-attribute"
|
||||
}
|
||||
]
|
||||
},
|
||||
"unquoted-attribute": {
|
||||
"name": "string.unquoted.html",
|
||||
"match": "(?<==)(?:[^\\s<>/'\"]|/(?!>))+"
|
||||
},
|
||||
"vue-directives": {
|
||||
"name": "meta.directive.vue",
|
||||
"begin": "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)",
|
||||
"end": "(?<='|\")|(?=[\\s<>`])",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.other.attribute-name.html"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.key-value.html"
|
||||
},
|
||||
"3": {
|
||||
"name": "entity.other.attribute-name.html"
|
||||
},
|
||||
"4": {
|
||||
"name": "entity.other.attribute-name.html"
|
||||
},
|
||||
"5": {
|
||||
"name": "entity.other.attribute-name.html"
|
||||
},
|
||||
"6": {
|
||||
"name": "punctuation.separator.key-value.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "source.directive.vue",
|
||||
"begin": "`",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "`",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.js#expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "source.directive.vue",
|
||||
"begin": "\"",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "\"",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.js#expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "source.directive.vue",
|
||||
"begin": "'",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.html"
|
||||
}
|
||||
},
|
||||
"end": "'",
|
||||
"endCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.end.html"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.js#expression"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
374
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-postcss.json
vendored
Normal file
374
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-postcss.json
vendored
Normal file
|
|
@ -0,0 +1,374 @@
|
|||
{
|
||||
"patterns": [
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment-tag"
|
||||
}
|
||||
],
|
||||
"begin": "/\\*",
|
||||
"name": "comment.block.postcss",
|
||||
"end": "\\*/"
|
||||
},
|
||||
{
|
||||
"include": "#double-slash"
|
||||
},
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#placeholder-selector"
|
||||
},
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#variable-root-css"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
},
|
||||
{
|
||||
"include": "#flag"
|
||||
},
|
||||
{
|
||||
"include": "#dotdotdot"
|
||||
},
|
||||
{
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "keyword.control.at-rule.css.postcss"
|
||||
}
|
||||
},
|
||||
"begin": "@include",
|
||||
"name": "support.function.name.postcss.library",
|
||||
"end": "(?=\\n|\\(|{|;)"
|
||||
},
|
||||
{
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "keyword.control.at-rule.css.postcss"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "entity.name.function",
|
||||
"match": "[\\w-]+"
|
||||
}
|
||||
],
|
||||
"begin": "@mixin|@function",
|
||||
"name": "support.function.name.postcss.no-completions",
|
||||
"end": "$\\n?|(?=\\(|{)"
|
||||
},
|
||||
{
|
||||
"name": "string.quoted.double.css.postcss",
|
||||
"match": "(?<=@import)\\s[\\w/.*-]+"
|
||||
},
|
||||
{
|
||||
"begin": "@",
|
||||
"name": "keyword.control.at-rule.css.postcss",
|
||||
"end": "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))|(?=;)"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#pseudo-class"
|
||||
}
|
||||
],
|
||||
"begin": "#",
|
||||
"name": "entity.other.attribute-name.id.css.postcss",
|
||||
"end": "$\\n?|(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>)"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#pseudo-class"
|
||||
}
|
||||
],
|
||||
"begin": "\\.|(?<=&)(-|_)",
|
||||
"name": "entity.other.attribute-name.class.css.postcss",
|
||||
"end": "$\\n?|(?=\\s|,|;|\\(|\\)|\\[|{|>)"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
},
|
||||
{
|
||||
"name": "keyword.other.regex.postcss",
|
||||
"match": "\\^|\\$|\\*|~"
|
||||
}
|
||||
],
|
||||
"begin": "\\[",
|
||||
"name": "entity.other.attribute-selector.postcss",
|
||||
"end": "\\]"
|
||||
},
|
||||
{
|
||||
"name": "entity.other.attribute-name.pseudo-class.css.postcss",
|
||||
"match": "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#double-slash"
|
||||
},
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#rgb-value"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
},
|
||||
{
|
||||
"include": "#flag"
|
||||
},
|
||||
{
|
||||
"include": "#function"
|
||||
},
|
||||
{
|
||||
"include": "#function-content"
|
||||
},
|
||||
{
|
||||
"include": "#function-content-var"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#parent-selector"
|
||||
},
|
||||
{
|
||||
"include": "#property-value"
|
||||
}
|
||||
],
|
||||
"begin": ":",
|
||||
"name": "meta.property-list.css.postcss",
|
||||
"end": "$\\n?|(?=;|\\s\\(|and\\(|{|}|\\),)"
|
||||
},
|
||||
{
|
||||
"include": "#rgb-value"
|
||||
},
|
||||
{
|
||||
"include": "#function"
|
||||
},
|
||||
{
|
||||
"include": "#function-content"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#pseudo-class"
|
||||
}
|
||||
],
|
||||
"begin": "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
|
||||
"name": "entity.name.tag.css.postcss.symbol",
|
||||
"end": "(?=\\s|,|;|\\(|\\)|\\.|\\[|{|>|-|_)"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"name": "support.type.property-name.css.postcss",
|
||||
"match": "[a-z-]+((?=:|#{))"
|
||||
},
|
||||
{
|
||||
"include": "#reserved-words"
|
||||
},
|
||||
{
|
||||
"include": "#property-value"
|
||||
}
|
||||
],
|
||||
"name": "PostCSS",
|
||||
"repository": {
|
||||
"reserved-words": {
|
||||
"name": "support.type.property-name.css.postcss",
|
||||
"match": "\\b(false|from|in|not|null|through|to|true)\\b"
|
||||
},
|
||||
"double-quoted": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#quoted-interpolation"
|
||||
}
|
||||
],
|
||||
"begin": "\"",
|
||||
"name": "string.quoted.double.css.postcss",
|
||||
"end": "\""
|
||||
},
|
||||
"operator": {
|
||||
"name": "keyword.operator.postcss",
|
||||
"match": "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~"
|
||||
},
|
||||
"function-content": {
|
||||
"name": "string.quoted.double.css.postcss",
|
||||
"match": "(?<=url\\(|format\\(|attr\\().+?(?=\\))"
|
||||
},
|
||||
"double-slash": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment-tag"
|
||||
}
|
||||
],
|
||||
"begin": "//",
|
||||
"name": "comment.line.postcss",
|
||||
"end": "$"
|
||||
},
|
||||
"numeric": {
|
||||
"name": "constant.numeric.css.postcss",
|
||||
"match": "(-|\\.)?[0-9]+(\\.[0-9]+)?"
|
||||
},
|
||||
"variable-root-css": {
|
||||
"name": "variable.parameter.postcss",
|
||||
"match": "(?<!&)--[\\w-]+"
|
||||
},
|
||||
"function": {
|
||||
"name": "support.function.name.postcss",
|
||||
"match": "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()"
|
||||
},
|
||||
"rgb-value": {
|
||||
"name": "constant.other.color.rgb-value.css.postcss",
|
||||
"match": "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b"
|
||||
},
|
||||
"comment-tag": {
|
||||
"patterns": [
|
||||
{
|
||||
"name": "comment.tag.postcss",
|
||||
"match": "[\\w-]+"
|
||||
}
|
||||
],
|
||||
"begin": "{{",
|
||||
"name": "comment.tags.postcss",
|
||||
"end": "}}"
|
||||
},
|
||||
"interpolation": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
},
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
}
|
||||
],
|
||||
"begin": "#{",
|
||||
"name": "support.function.interpolation.postcss",
|
||||
"end": "}"
|
||||
},
|
||||
"unit": {
|
||||
"name": "keyword.other.unit.css.postcss",
|
||||
"match": "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)"
|
||||
},
|
||||
"function-content-var": {
|
||||
"name": "variable.parameter.postcss",
|
||||
"match": "(?<=var\\()[\\w-]+(?=\\))"
|
||||
},
|
||||
"dotdotdot": {
|
||||
"name": "variable.other",
|
||||
"match": "\\.{3}"
|
||||
},
|
||||
"variable": {
|
||||
"name": "variable.parameter.postcss",
|
||||
"match": "\\$[\\w-]+"
|
||||
},
|
||||
"single-quoted": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#quoted-interpolation"
|
||||
}
|
||||
],
|
||||
"begin": "'",
|
||||
"name": "string.quoted.single.css.postcss",
|
||||
"end": "'"
|
||||
},
|
||||
"quoted-interpolation": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
}
|
||||
],
|
||||
"begin": "#{",
|
||||
"name": "support.function.interpolation.postcss",
|
||||
"end": "}"
|
||||
},
|
||||
"pseudo-class": {
|
||||
"name": "entity.other.attribute-name.pseudo-class.css.postcss",
|
||||
"match": ":[a-z:-]+"
|
||||
},
|
||||
"property-value": {
|
||||
"name": "meta.property-value.css.postcss, support.constant.property-value.css.postcss",
|
||||
"match": "[\\w-]+"
|
||||
},
|
||||
"placeholder-selector": {
|
||||
"begin": "(?<!\\d)%(?!\\d)",
|
||||
"name": "entity.other.attribute-name.placeholder-selector.postcss",
|
||||
"end": "$\\n?|\\s|(?=;|{)"
|
||||
},
|
||||
"flag": {
|
||||
"name": "keyword.other.important.css.postcss",
|
||||
"match": "!(important|default|optional|global)"
|
||||
},
|
||||
"parent-selector": {
|
||||
"name": "entity.name.tag.css.postcss",
|
||||
"match": "&"
|
||||
}
|
||||
},
|
||||
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|^\\.",
|
||||
"foldingStopMarker": "\\*/|^\\s*$",
|
||||
"fileTypes": ["pcss", "postcss"],
|
||||
"uuid": "90DAEA60-88AA-11E2-9E96-0800200C9A66",
|
||||
"scopeName": "source.css.postcss"
|
||||
}
|
||||
378
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-sugarss.json
vendored
Normal file
378
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue-sugarss.json
vendored
Normal file
|
|
@ -0,0 +1,378 @@
|
|||
{
|
||||
"patterns": [
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment-tag"
|
||||
}
|
||||
],
|
||||
"begin": "/\\*",
|
||||
"name": "comment.block.sugarss",
|
||||
"end": "\\*/"
|
||||
},
|
||||
{
|
||||
"include": "#double-slash"
|
||||
},
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#placeholder-selector"
|
||||
},
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#variable-root-css"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
},
|
||||
{
|
||||
"include": "#flag"
|
||||
},
|
||||
{
|
||||
"include": "#dotdotdot"
|
||||
},
|
||||
{
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "keyword.control.at-rule.css.sugarss"
|
||||
}
|
||||
},
|
||||
"begin": "@include",
|
||||
"name": "support.function.name.sugarss.library",
|
||||
"end": "(?=\\n|\\(|{)"
|
||||
},
|
||||
{
|
||||
"captures": {
|
||||
"0": {
|
||||
"name": "keyword.control.at-rule.css.sugarss"
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"name": "entity.name.function",
|
||||
"match": "[\\w-]+"
|
||||
}
|
||||
],
|
||||
"begin": "@mixin|@function",
|
||||
"name": "support.function.name.sugarss.no-completions",
|
||||
"end": "$\\n?|(?=\\(|{)"
|
||||
},
|
||||
{
|
||||
"name": "string.quoted.double.css.sugarss",
|
||||
"match": "(?<=@import)\\s[\\w/.*-]+"
|
||||
},
|
||||
{
|
||||
"begin": "@",
|
||||
"name": "keyword.control.at-rule.css.sugarss",
|
||||
"end": "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#pseudo-class"
|
||||
}
|
||||
],
|
||||
"begin": "#",
|
||||
"name": "entity.other.attribute-name.id.css.sugarss",
|
||||
"end": "$\\n?|(?=\\s|,|\\(|\\)|\\.|\\[|{|>)"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#pseudo-class"
|
||||
}
|
||||
],
|
||||
"begin": "\\.|(?<=&)(-|_)",
|
||||
"name": "entity.other.attribute-name.class.css.sugarss",
|
||||
"end": "$\\n?|(?=\\s|,|\\(|\\)|\\[|{|>)"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
},
|
||||
{
|
||||
"name": "keyword.other.regex.sugarss",
|
||||
"match": "\\^|\\$|\\*|~"
|
||||
}
|
||||
],
|
||||
"begin": "\\[",
|
||||
"name": "entity.other.attribute-selector.sugarss",
|
||||
"end": "\\]"
|
||||
},
|
||||
{
|
||||
"name": "entity.other.attribute-name.pseudo-class.css.sugarss",
|
||||
"match": "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#double-slash"
|
||||
},
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#rgb-value"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
},
|
||||
{
|
||||
"include": "#flag"
|
||||
},
|
||||
{
|
||||
"include": "#function"
|
||||
},
|
||||
{
|
||||
"include": "#function-content"
|
||||
},
|
||||
{
|
||||
"include": "#function-content-var"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#parent-selector"
|
||||
},
|
||||
{
|
||||
"include": "#property-value"
|
||||
}
|
||||
],
|
||||
"begin": ":",
|
||||
"name": "meta.property-list.css.sugarss",
|
||||
"end": "$\\n?|(?=\\s\\(|and\\(|{|}|\\),)"
|
||||
},
|
||||
{
|
||||
"include": "#rgb-value"
|
||||
},
|
||||
{
|
||||
"include": "#function"
|
||||
},
|
||||
{
|
||||
"include": "#function-content"
|
||||
},
|
||||
{
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#interpolation"
|
||||
},
|
||||
{
|
||||
"include": "#pseudo-class"
|
||||
}
|
||||
],
|
||||
"begin": "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
|
||||
"name": "entity.name.tag.css.sugarss.symbol",
|
||||
"end": "(?=\\s|,|\\(|\\)|\\.|\\[|{|>|-|_)"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"name": "support.type.property-name.css.sugarss",
|
||||
"match": "[a-z-]+((?=:|#{))"
|
||||
},
|
||||
{
|
||||
"include": "#reserved-words"
|
||||
},
|
||||
{
|
||||
"include": "#property-value"
|
||||
}
|
||||
],
|
||||
"name": "SugarSS",
|
||||
"repository": {
|
||||
"reserved-words": {
|
||||
"name": "support.type.property-name.css.sugarss",
|
||||
"match": "\\b(false|from|in|not|null|through|to|true)\\b"
|
||||
},
|
||||
"double-quoted": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#quoted-interpolation"
|
||||
}
|
||||
],
|
||||
"begin": "\"",
|
||||
"name": "string.quoted.double.css.sugarss",
|
||||
"end": "\""
|
||||
},
|
||||
"operator": {
|
||||
"name": "keyword.operator.sugarss",
|
||||
"match": "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~"
|
||||
},
|
||||
"function-content": {
|
||||
"name": "string.quoted.double.css.sugarss",
|
||||
"match": "(?<=url\\(|format\\(|attr\\().+?(?=\\))"
|
||||
},
|
||||
"double-slash": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#comment-tag"
|
||||
}
|
||||
],
|
||||
"begin": "//",
|
||||
"name": "comment.line.sugarss",
|
||||
"end": "$"
|
||||
},
|
||||
"numeric": {
|
||||
"name": "constant.numeric.css.sugarss",
|
||||
"match": "(-|\\.)?[0-9]+(\\.[0-9]+)?"
|
||||
},
|
||||
"variable-root-css": {
|
||||
"name": "variable.parameter.sugarss",
|
||||
"match": "(?<!&)--[\\w-]+"
|
||||
},
|
||||
"function": {
|
||||
"name": "support.function.name.sugarss",
|
||||
"match": "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()"
|
||||
},
|
||||
"rgb-value": {
|
||||
"name": "constant.other.color.rgb-value.css.sugarss",
|
||||
"match": "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b"
|
||||
},
|
||||
"comment-tag": {
|
||||
"patterns": [
|
||||
{
|
||||
"name": "comment.tag.sugarss",
|
||||
"match": "[\\w-]+"
|
||||
}
|
||||
],
|
||||
"begin": "{{",
|
||||
"name": "comment.tags.sugarss",
|
||||
"end": "}}"
|
||||
},
|
||||
"interpolation": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
},
|
||||
{
|
||||
"include": "#double-quoted"
|
||||
},
|
||||
{
|
||||
"include": "#single-quoted"
|
||||
}
|
||||
],
|
||||
"begin": "#{",
|
||||
"name": "support.function.interpolation.sugarss",
|
||||
"end": "}"
|
||||
},
|
||||
"unit": {
|
||||
"name": "keyword.other.unit.css.sugarss",
|
||||
"match": "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)"
|
||||
},
|
||||
"function-content-var": {
|
||||
"name": "variable.parameter.sugarss",
|
||||
"match": "(?<=var\\()[\\w-]+(?=\\))"
|
||||
},
|
||||
"dotdotdot": {
|
||||
"name": "variable.other",
|
||||
"match": "\\.{3}"
|
||||
},
|
||||
"variable": {
|
||||
"name": "variable.parameter.sugarss",
|
||||
"match": "\\$[\\w-]+"
|
||||
},
|
||||
"single-quoted": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#quoted-interpolation"
|
||||
}
|
||||
],
|
||||
"begin": "'",
|
||||
"name": "string.quoted.single.css.sugarss",
|
||||
"end": "'"
|
||||
},
|
||||
"quoted-interpolation": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#variable"
|
||||
},
|
||||
{
|
||||
"include": "#numeric"
|
||||
},
|
||||
{
|
||||
"include": "#operator"
|
||||
},
|
||||
{
|
||||
"include": "#unit"
|
||||
}
|
||||
],
|
||||
"begin": "#{",
|
||||
"name": "support.function.interpolation.sugarss",
|
||||
"end": "}"
|
||||
},
|
||||
"pseudo-class": {
|
||||
"name": "entity.other.attribute-name.pseudo-class.css.sugarss",
|
||||
"match": ":[a-z:-]+"
|
||||
},
|
||||
"property-value": {
|
||||
"name": "meta.property-value.css.sugarss, support.constant.property-value.css.sugarss",
|
||||
"match": "[\\w-]+"
|
||||
},
|
||||
"semicolon": {
|
||||
"name": "invalid.illegal.bad-semicolon.css.sugarss",
|
||||
"match": ";"
|
||||
},
|
||||
"placeholder-selector": {
|
||||
"begin": "(?<!\\d)%(?!\\d)",
|
||||
"name": "entity.other.attribute-name.placeholder-selector.sugarss",
|
||||
"end": "$\\n?|\\s|(?={)"
|
||||
},
|
||||
"flag": {
|
||||
"name": "keyword.other.important.css.sugarss",
|
||||
"match": "!(important|default|optional|global)"
|
||||
},
|
||||
"parent-selector": {
|
||||
"name": "entity.name.tag.css.sugarss",
|
||||
"match": "&"
|
||||
}
|
||||
},
|
||||
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|^\\.",
|
||||
"foldingStopMarker": "\\*/|^\\s*$",
|
||||
"fileTypes": ["sss"],
|
||||
"uuid": "BDAE4719-925F-433C-905A-CAE367D924AC",
|
||||
"scopeName": "source.css.sugarss"
|
||||
}
|
||||
1158
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue.tmLanguage.json
vendored
Normal file
1158
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue.tmLanguage.json
vendored
Normal file
File diff suppressed because it is too large
Load diff
548
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue.yaml
vendored
Normal file
548
.vscode/extensions/octref.vetur-0.34.1/syntaxes/vue.yaml
vendored
Normal file
|
|
@ -0,0 +1,548 @@
|
|||
# [PackageDev] target_format: plist, ext: tmLanguage
|
||||
name: Vue
|
||||
scopeName: source.vue
|
||||
fileTypes: [vue]
|
||||
uuid: 5512c10d-4cc5-434c-b8fc-53b912f55ab3
|
||||
patterns:
|
||||
# comment
|
||||
- name: comment.block.html
|
||||
begin: <!--
|
||||
end: -->
|
||||
captures:
|
||||
'0': { name: punctuation.definition.comment.html }
|
||||
|
||||
# template - single line
|
||||
# <template src="index.html" />
|
||||
- begin: (<)(?=template.*[^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
end: (/>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- begin: (template)
|
||||
beginCaptures:
|
||||
'1': { name: entity.name.tag.template.html }
|
||||
end: (?=/>)
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
|
||||
# template - single line
|
||||
# <template src="index.html"></template>
|
||||
- begin: (<)(template)(?=[^>]*>[^/>]*</template>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: (</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</template>)
|
||||
|
||||
# jade / pug
|
||||
- begin: (<)(template)\b(?=[^>]*lang=('jade'|"jade"|'pug'|"pug"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: (</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: text.pug
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</template>)
|
||||
patterns:
|
||||
- include: text.pug
|
||||
|
||||
# haml
|
||||
- begin: (<)(template)\b(?=[^>]*lang=('haml'|"haml"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: (</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: text.haml
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</template>)
|
||||
patterns:
|
||||
- include: text.haml
|
||||
|
||||
# slim
|
||||
- begin: (<)(template)\b(?=[^>]*lang=('slim'|"slim"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: (</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: text.slim
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</template>)
|
||||
patterns:
|
||||
- include: text.slim
|
||||
|
||||
# slm
|
||||
- begin: (<)(template)\b(?=[^>]*lang=('slm'|"slm"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: (</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: text.jade.slm
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</template>)
|
||||
patterns:
|
||||
- include: text.jade.slm
|
||||
|
||||
# liquid
|
||||
- begin: (<)(template)\b(?=[^>]*lang=('liquid'|"liquid"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: (</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: text.html.liquid
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</template>)
|
||||
patterns:
|
||||
- include: text.html.liquid
|
||||
|
||||
# html
|
||||
- begin: (<)(template)(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
end: ^(</)(template)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.template.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: text.html.vue-html
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=^</template>)
|
||||
patterns:
|
||||
- include: text.html.vue-html
|
||||
|
||||
# style - single line
|
||||
# <style src="index.css" />
|
||||
- begin: (<)(style)\b(?=[^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (/>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
|
||||
# style - single line
|
||||
# <style src="index.css"></style>
|
||||
- begin: (<)(style)(?=[^>]*>[^/>]*</style>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
|
||||
# sass / scss
|
||||
- begin: (<)(style)\b(?=[^>]*lang=('sass'|"sass"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.sass
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.sass
|
||||
- begin: (<)(style)\b(?=[^>]*lang=('scss'|"scss"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.css.scss
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.css.scss
|
||||
|
||||
# less
|
||||
- begin: (<)(style)\b(?=[^>]*lang=('less'|"less"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.css.less
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.css.less
|
||||
|
||||
# stylus
|
||||
- begin: (<)(style)\b(?=[^>]*lang=('stylus'|"stylus"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.stylus
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.stylus
|
||||
|
||||
# postcss
|
||||
- begin: (<)(style)\b(?=[^>]*lang=('postcss'|"postcss"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.css.postcss
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.css.postcss
|
||||
|
||||
# sugarss
|
||||
- begin: (<)(style)\b(?=[^>]*lang=(['"]sss['"]))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.css.sugarss
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.css.sugarss
|
||||
|
||||
# css
|
||||
- begin: (<)(style)(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
end: (</)(style)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.style.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.css
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</style>)
|
||||
patterns:
|
||||
- include: source.css
|
||||
|
||||
# script - single line
|
||||
# <script src="index.js" />
|
||||
- begin: (<)(script)\b(?=[^>]*/>$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
end: (/>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
|
||||
# script - single line
|
||||
# <script src="index.js"></script>
|
||||
- begin: (<)(script)(?=[^>]*>[^/>]*</script>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
end: (</)(script)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</script>)
|
||||
|
||||
# ts
|
||||
- begin: (<)(script)\b(?=[^>]*lang=('ts'|"ts"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
end: (</)(script)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.ts
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</script>)
|
||||
patterns:
|
||||
- include: source.ts
|
||||
|
||||
# coffee
|
||||
- begin: (<)(script)\b(?=[^>]*lang=('coffee'|"coffee"))(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
end: (</)(script)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.coffee
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</script>)
|
||||
patterns:
|
||||
- include: source.coffee
|
||||
|
||||
# js
|
||||
- begin: (<)(script)(?![^/>]*/>\s*$)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
end: (</)(script)(>)
|
||||
endCaptures:
|
||||
'1': { name: punctuation.definition.tag.begin.html }
|
||||
'2': { name: entity.name.tag.script.html }
|
||||
'3': { name: punctuation.definition.tag.end.html }
|
||||
patterns:
|
||||
- include: '#tag-stuff'
|
||||
- contentName: source.js
|
||||
begin: (>)
|
||||
beginCaptures:
|
||||
'1': { name: punctuation.definition.tag.end.html }
|
||||
end: (?=</script>)
|
||||
patterns:
|
||||
- include: source.js
|
||||
|
||||
# Repository
|
||||
repository:
|
||||
entities:
|
||||
patterns:
|
||||
- name: constant.character.entity.html
|
||||
match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
||||
captures:
|
||||
'1': { name: punctuation.definition.entity.html }
|
||||
'3': { name: punctuation.definition.entity.html }
|
||||
- name: invalid.illegal.bad-ampersand.html
|
||||
match: '&'
|
||||
string-double-quoted:
|
||||
name: string.quoted.double.html
|
||||
begin: '"'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '"'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: '#vue-interpolations'
|
||||
- include: '#entities'
|
||||
string-single-quoted:
|
||||
name: string.quoted.single.html
|
||||
begin: "'"
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: "'"
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: '#vue-interpolations'
|
||||
- include: '#entities'
|
||||
tag-generic-attribute:
|
||||
name: entity.other.attribute-name.html
|
||||
match: \b([a-zA-Z\-:_]+)
|
||||
tag-id-attribute:
|
||||
name: meta.attribute-with-value.id.html
|
||||
begin: \b(id)\b\s*(=)
|
||||
end: (?<='|")
|
||||
captures:
|
||||
'1': { name: entity.other.attribute-name.id.html }
|
||||
'2': { name: punctuation.separator.key-value.html }
|
||||
patterns:
|
||||
- name: string.quoted.double.html
|
||||
contentName: meta.toc-list.id.html
|
||||
begin: '"'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '"'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: '#vue-interpolations'
|
||||
- include: '#entities'
|
||||
- name: string.quoted.single.html
|
||||
contentName: meta.toc-list.id.html
|
||||
begin: "'"
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: "'"
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: '#vue-interpolations'
|
||||
- include: '#entities'
|
||||
tag-stuff:
|
||||
patterns:
|
||||
- include: '#vue-directives'
|
||||
- include: '#tag-id-attribute'
|
||||
- include: '#tag-generic-attribute'
|
||||
- include: '#string-double-quoted'
|
||||
- include: '#string-single-quoted'
|
||||
vue-directives:
|
||||
name: meta.directive.vue
|
||||
begin: (?:\b(v-)|(:|@|#))([a-zA-Z0-9\-_]+)(?:\:([a-zA-Z\-_]+))?(?:\.([a-zA-Z\-_]+))*\s*(=)
|
||||
end: (?<='|")|(?=[\s<>`])
|
||||
captures:
|
||||
'1': { name: entity.other.attribute-name.html }
|
||||
'2': { name: punctuation.separator.key-value.html }
|
||||
'3': { name: entity.other.attribute-name.html }
|
||||
'4': { name: entity.other.attribute-name.html }
|
||||
'5': { name: entity.other.attribute-name.html }
|
||||
'6': { name: punctuation.separator.key-value.html }
|
||||
patterns:
|
||||
- name: source.directive.vue
|
||||
begin: '`'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '`'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
- name: source.directive.vue
|
||||
begin: '"'
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: '"'
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
- name: source.directive.vue
|
||||
begin: "'"
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.string.begin.html }
|
||||
end: "'"
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.string.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
vue-interpolations:
|
||||
patterns:
|
||||
- name: expression.embedded.vue
|
||||
begin: \{\{\{?
|
||||
beginCaptures:
|
||||
'0': { name: punctuation.definition.generic.begin.html }
|
||||
end: \}\}\}?
|
||||
endCaptures:
|
||||
'0': { name: punctuation.definition.generic.end.html }
|
||||
patterns:
|
||||
- include: source.js#expression
|
||||
Loading…
Add table
Add a link
Reference in a new issue