Astro+Directus(Visual-Editing)+Snipcart Test-Stack

This commit is contained in:
till committed 2026-06-21 06:27:52 +00:00
commit 1459e99cb0
10119 files changed
+1499318

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias 1c-query for sdbl */
export { default } from './sdbl.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias 1c for bsl */
export { default } from './bsl.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"ABAP\",\"fileTypes\":[\"abap\",\"ABAP\"],\"foldingStartMarker\":\"/\\\\*\\\\*|\\\\{\\\\s*$\",\"foldingStopMarker\":\"\\\\*\\\\*/|^\\\\s*}\",\"name\":\"abap\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.abap\"}},\"match\":\"^\\\\*.*\\\\n?\",\"name\":\"comment.line.full.abap\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.abap\"}},\"match\":\"\\\".*\\\\n?\",\"name\":\"comment.line.partial.abap\"},{\"match\":\"(?<!\\\\S)##.*?(?=([,.:\\\\s]))\",\"name\":\"comment.line.pragma.abap\"},{\"match\":\"(?i)(?<=[-~\\\\s])(?<=[-=]>)([/_a-z][/-9_a-z]*)(?=\\\\s+(?:|[-*+/]|&&?)=\\\\s+)\",\"name\":\"variable.other.abap\"},{\"match\":\"\\\\b[0-9]+(\\\\b|[,.])\",\"name\":\"constant.numeric.abap\"},{\"match\":\"(?i)(^|\\\\s+)((P(?:UBLIC|RIVATE|ROTECTED))\\\\sSECTION)(?=\\\\s+|[.:])\",\"name\":\"storage.modifier.class.abap\"},{\"begin\":\"(?<!\\\\\\\\)(\\\\|)(.*?)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.character.escape.abap\"}},\"end\":\"(?<!\\\\\\\\)(\\\\||(\\\\\\\\\\\\\\\\\\\\|))\",\"endCaptures\":{\"1\":{\"name\":\"constant.character.escape.abap\"}},\"name\":\"string.interpolated.abap\",\"patterns\":[{\"match\":\"(\\\\{ )|( })\",\"name\":\"constant.character.escape\"},{\"match\":\"\\\\\\\\\\\\|\",\"name\":\"constant.character.escape.abap\"},{\"match\":\"(?i)(?<=\\\\s)(align|alpha|case|country|currency|date|decimals|exponent|number|pad|sign|style|time|timestamp|timezone|width|xsd|zero)(?=\\\\s=)\",\"name\":\"entity.name.property.stringtemplate.abap\"},{\"match\":\"(?i)(?<==\\\\s)(center|engineering|environment|in|iso|left|leftplus|leftspace|lower|no|out|raw|right|rightplus|rightspace|scale_preserving|scale_preserving_scientific|scientific|scientific_with_leading_zero|sign_as_postfix|simple|space|upper|user|yes)(?=\\\\s)\",\"name\":\"entity.value.property.stringtemplate.abap\"}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.abap\",\"patterns\":[{\"match\":\"''\",\"name\":\"constant.character.escape.abap\"}]},{\"begin\":\"`\",\"end\":\"`\",\"name\":\"string.quoted.single.abap\",\"patterns\":[{\"match\":\"``\",\"name\":\"constant.character.escape.abap\"}]},{\"begin\":\"(?i)^\\\\s*(class)\\\\s([/_a-z][/-9_a-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.block.abap\"},\"2\":{\"name\":\"entity.name.type.block.abap\"}},\"end\":\"\\\\s*\\\\.\\\\s*\\\\n?\",\"name\":\"meta.block.begin.implementation.abap\",\"patterns\":[{\"match\":\"(?i)(^|\\\\s+)(definition|implementation|public|inheriting\\\\s+from|final|deferred|abstract|shared\\\\s+memory\\\\s+enabled|(global|local)*\\\\s*friends|(create\\\\s+(p(?:ublic|rotected|rivate)))|for\\\\s+behavior\\\\s+of|for\\\\s+testing|risk\\\\s+level\\\\s+(critical|dangerous|harmless))|duration\\\\s(short|medium|long)(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.class.abap\"},{\"begin\":\"(?=[A-Z_a-z][0-9A-Z_a-z]*)\",\"contentName\":\"entity.name.type.block.abap\",\"end\":\"(?![0-9A-Z_a-z])\",\"patterns\":[{\"include\":\"#generic_names\"}]}]},{\"begin\":\"(?i)^\\\\s*(method)\\\\s(?:([/_a-z][/-9_a-z]*)~)?([/_a-z][/-9_a-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.block.abap\"},\"2\":{\"name\":\"entity.name.type.abap\"},\"3\":{\"name\":\"entity.name.function.abap\"}},\"end\":\"\\\\s*\\\\.\\\\s*\\\\n?\",\"patterns\":[{\"match\":\"(?i)(?<=^|\\\\s)(BY(?:\\\\s+DATABASE(\\\\s+PROCEDURE|\\\\s+FUNCTION|\\\\s+GRAPH\\\\s+WORKSPACE)|\\\\s+KERNEL\\\\s+MODULE))(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.method.abap\"},{\"match\":\"(?i)(?<=^|\\\\s)(FOR\\\\s+(HDB|LLANG))(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.method.abap\"},{\"match\":\"(?i)(?<=\\\\s)(OPTIONS\\\\s+(READ-ONLY|DETERMINISTIC|SUPPRESS\\\\s+SYNTAX\\\\s+ERRORS))(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.method.abap\"},{\"match\":\"(?i)(?<=^|\\\\s)(LANGUAGE\\\\s+(SQLSCRIPT|SQL|GRAPH))(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.method.abap\"},{\"captures\":{\"1\":{\"name\":\"storage.modifier.method.abap\"}},\"match\":\"(?i)(?<=\\\\s)(USING)\\\\s+([/_a-z][/-9=>_a-z]*)+(?=\\\\s+|\\\\.)\"},{\"begin\":\"(?=[A-Z_a-z][0-9A-Z_a-z]*)\",\"end\":\"(?![0-9A-Z_a-z])\",\"patterns\":[{\"include\":\"#generic_names\"}]}]},{\"begin\":\"(?i)^\\\\s*(INTERFACE)\\\\s([/_a-z][/-9_a-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.block.abap\"},\"2\":{\"name\":\"entity.name.type.abap\"}},\"end\":\"\\\\s*\\\\.\\\\s*\\\\n?\",\"patterns\":[{\"match\":\"(?i)(?<=^|\\\\s)(DEFERRED|PUBLIC)(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.method.abap\"}]},{\"begin\":\"(?i)^\\\\s*(FORM)\\\\s([/_a-z][-/-9?_a-z]*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.block.abap\"},\"2\":{\"name\":\"entity.name.type.abap\"}},\"end\":\"\\\\s*\\\\.\\\\s*\\\\n?\",\"patterns\":[{\"match\":\"(?i)(?<=^|\\\\s)(USING|TABLES|CHANGING|RAISING|IMPLEMENTATION|DEFINITION)(?=\\\\s+|\\\\.)\",\"name\":\"storage.modifier.form.abap\"},{\"include\":\"#abaptypes\"},{\"include\":\"#keywords_followed_by_braces\"}]},{\"match\":\"(?i)(endLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"ActionScript\",\"fileTypes\":[\"as\"],\"name\":\"actionscript-3\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#package\"},{\"include\":\"#class\"},{\"include\":\"#interface\"},{\"include\":\"#namespace_declaration\"},{\"include\":\"#import\"},{\"include\":\"#mxml\"},{\"include\":\"#strings\"},{\"include\":\"#regexp\"},{\"include\":\"#variable_declaration\"},{\"include\":\"#numbers\"},{\"include\":\"#primitive_types\"},{\"include\":\"#primitive_error_types\"},{\"include\":\"#dynamic_type\"},{\"include\":\"#primitive_functions\"},{\"include\":\"#language_constants\"},{\"include\":\"#language_variables\"},{\"include\":\"#guess_type\"},{\"include\":\"#guess_constant\"},{\"include\":\"#other_operators\"},{\"include\":\"#arithmetic_operators\"},{\"include\":\"#logical_operators\"},{\"include\":\"#array_access_operators\"},{\"include\":\"#vector_creation_operators\"},{\"include\":\"#control_keywords\"},{\"include\":\"#other_keywords\"},{\"include\":\"#use_namespace\"},{\"include\":\"#functions\"}],\"repository\":{\"arithmetic_operators\":{\"match\":\"([-%+/]|(?<!:)\\\\*)\",\"name\":\"keyword.operator.actionscript.3\"},\"array_access_operators\":{\"match\":\"([]\\\\[])\",\"name\":\"keyword.operator.actionscript.3\"},\"class\":{\"begin\":\"(^|\\\\s+|;)(\\\\b(dynamic|final|abstract)\\\\b\\\\s+)?(\\\\b(internal|public)\\\\b\\\\s+)?(\\\\b(dynamic|final|abstract)\\\\b\\\\s+)?(?=\\\\bclass\\\\b)\",\"beginCaptures\":{\"3\":{\"name\":\"storage.modifier.actionscript.3\"},\"5\":{\"name\":\"storage.modifier.actionscript.3\"},\"7\":{\"name\":\"storage.modifier.actionscript.3\"}},\"end\":\"}\",\"name\":\"meta.class.actionscript.3\",\"patterns\":[{\"include\":\"#class_declaration\"},{\"include\":\"#declaration_code_block\"},{\"include\":\"#metadata\"},{\"include\":\"#method\"},{\"include\":\"#comments\"},{\"include\":\"#strings\"},{\"include\":\"#regexp\"},{\"include\":\"#numbers\"},{\"include\":\"#primitive_types\"},{\"include\":\"#primitive_error_types\"},{\"include\":\"#dynamic_type\"},{\"include\":\"#primitive_functions\"},{\"include\":\"#language_constants\"},{\"include\":\"#language_variables\"},{\"include\":\"#other_operators\"},{\"include\":\"#other_keywords\"},{\"include\":\"#use_namespace\"},{\"include\":\"#guess_type\"},{\"include\":\"#guess_constant\"},{\"include\":\"#arithmetic_operators\"},{\"include\":\"#array_access_operators\"},{\"include\":\"#vector_creation_operators\"},{\"include\":\"#variable_declaration\"},{\"include\":\"#object_literal\"},{\"include\":\"#conditional_compilation\"}]},\"class_declaration\":{\"begin\":\"\\\\b(class)\\\\b\\\\s+([$.0-9A-Z_a-z]+|\\\\*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.class.actionscript.3\"},\"2\":{\"name\":\"entity.name.class.actionscript.3\"}},\"end\":\"\\\\{\",\"name\":\"meta.class_declaration.actionscript.3\",\"patterns\":[{\"include\":\"#extends\"},{\"include\":\"#implements\"},{\"include\":\"#comments\"}]},\"comments\":{\"patterns\":[{\"begin\":\"/\\\\*\\\\*(?!/)\",\"end\":\"\\\\*/\",\"name\":\"comment.block.documentation.actionscript.3\",\"patterns\":[{\"match\":\"@(copy|default|eventType|example|exampleText|includeExample|inheritDoc|internal|param|private|return|see|since|throws)\\\\b\",\"name\":\"keyword.other.documentation.actionscript.3.asdoc\"}]},{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.actionscript.3\"},{\"match\":\"//.*\",\"name\":\"comment.line.actionscript.3\"}]},\"conditional_compilation\":{\"captures\":{\"2\":{\"name\":\"constant.other.actionscript.3\"},\"3\":{\"name\":\"constant.other.actionscript.3\"}},\"match\":\"(^|\\\\s+|;)\\\\b(\\\\w+)\\\\b::\\\\b(\\\\w+)\\\\b\",\"name\":\"meta.conditional.actionscript.3\"},\"control_keywords\":{\"match\":\"\\\\b(if|else|do|while|for|each|continue|return|switch|case|default|break|try|catch|finally|throw|with)\\\\b\",\"name\":\"keyword.control.actionscript.3\"},\"declaration_code_block\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.code_block.actionscript.3\",\"patterns\":[{\"include\":\"#method\"},{\"include\":\"#variable_declaration\"},{\"include\":\"#comments\"},{\"include\":\"#strings\"},{\"include\":\"#regexp\"},{\"include\":\"#numbers\"},{\"include\":\"#primitive_types\"},{\"include\":\"#primitive_error_types\"},{\"include\":\"#dynamic_type\"},{\"include\":\"#primitive_functions\"},{\"include\":\"#language_constants\"},{\"include\":\"#language_variables\"},{\"include\":\"#guess_type\"},{\"include\":\"#guess_constant\"},{\"include\":\"#other_operators\"},{\"include\":\"#arithmetic_operators\"},{\"include\":\"#logical_operators\"},{\"include\":\"#array_access_operators\"},{\"include\":\"#vector_creation_operators\"},{\"include\":\"#control_keywords\"},{\"include\":\"#other_keywords\"},{\"include\":\"#use_namespace\"},{\"include\":\"#functions\"},{\"include\":\"#import\"}]},\"dynamic_type\":{\"captures\":{\"1\":{\"name\":\"support.type.actionscript.3\"}},\"match\":\"(?<=:)\\\\s*(\\\\*)\"},\"escapes\"Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Ada\",\"name\":\"ada\",\"patterns\":[{\"include\":\"#library_unit\"},{\"include\":\"#comment\"},{\"include\":\"#use_clause\"},{\"include\":\"#with_clause\"},{\"include\":\"#pragma\"},{\"include\":\"#keyword\"}],\"repository\":{\"abort_statement\":{\"begin\":\"(?i)\\\\babort\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.ada\"}},\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.ada\"}},\"name\":\"meta.statement.abort.ada\",\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.ada\"},{\"match\":\"\\\\b([._\\\\w\\\\d])+\\\\b\",\"name\":\"entity.name.task.ada\"}]},\"accept_statement\":{\"begin\":\"(?i)\\\\b(accept)\\\\s+([._\\\\w\\\\d]+)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.ada\"},\"2\":{\"name\":\"entity.name.accept.ada\"}},\"end\":\"(?i)(?:\\\\b(end)\\\\s*(\\\\s\\\\2)?\\\\s*)?(;)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.ada\"},\"2\":{\"name\":\"entity.name.accept.ada\"},\"3\":{\"name\":\"punctuation.ada\"}},\"name\":\"meta.statement.accept.ada\",\"patterns\":[{\"begin\":\"(?i)\\\\bdo\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.ada\"}},\"end\":\"(?i)\\\\b(?=end)\\\\b\",\"patterns\":[{\"include\":\"#statement\"}]},{\"include\":\"#parameter_profile\"}]},\"access_definition\":{\"captures\":{\"1\":{\"name\":\"storage.visibility.ada\"},\"2\":{\"name\":\"storage.visibility.ada\"},\"3\":{\"name\":\"storage.modifier.ada\"},\"4\":{\"name\":\"entity.name.type.ada\"}},\"match\":\"(?i)(not\\\\s+null\\\\s+)?(access)\\\\s+(constant\\\\s+)?([._\\\\w\\\\d]+)\\\\b\",\"name\":\"meta.declaration.access.definition.ada\"},\"access_type_definition\":{\"begin\":\"(?i)\\\\b(not\\\\s+null\\\\s+)?(access)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.visibility.ada\"},\"2\":{\"name\":\"storage.visibility.ada\"}},\"end\":\"(?i)(?=(with|;))\",\"name\":\"meta.declaration.type.definition.access.ada\",\"patterns\":[{\"match\":\"(?i)\\\\ball\\\\b\",\"name\":\"storage.visibility.ada\"},{\"match\":\"(?i)\\\\bconstant\\\\b\",\"name\":\"storage.modifier.ada\"},{\"include\":\"#subtype_mark\"}]},\"actual_parameter_part\":{\"begin\":\"\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.ada\"}},\"end\":\"\\\\)\",\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.ada\"},{\"include\":\"#parameter_association\"}]},\"adding_operator\":{\"match\":\"([-\\\\&+])\",\"name\":\"keyword.operator.adding.ada\"},\"array_aggregate\":{\"begin\":\"\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.ada\"}},\"end\":\"\\\\)\",\"name\":\"meta.definition.array.aggregate.ada\",\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.ada\"},{\"include\":\"#positional_array_aggregate\"},{\"include\":\"#array_component_association\"}]},\"array_component_association\":{\"captures\":{\"1\":{\"name\":\"variable.name.ada\"},\"2\":{\"name\":\"keyword.other.ada\"},\"3\":{\"patterns\":[{\"match\":\"<>\",\"name\":\"keyword.modifier.unknown.ada\"},{\"include\":\"#expression\"}]}},\"match\":\"(?i)\\\\b([^()=>]*)\\\\s*(=>)\\\\s*([^),]+)\",\"name\":\"meta.definition.array.aggregate.component.ada\"},\"array_dimensions\":{\"begin\":\"\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.ada\"}},\"end\":\"\\\\)\",\"name\":\"meta.declaration.type.definition.array.dimensions.ada\",\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.ada\"},{\"match\":\"(?i)\\\\brange\\\\b\",\"name\":\"storage.modifier.ada\"},{\"match\":\"<>\",\"name\":\"keyword.modifier.unknown.ada\"},{\"match\":\"\\\\.\\\\.\",\"name\":\"keyword.ada\"},{\"include\":\"#expression\"},{\"patterns\":[{\"include\":\"#subtype_mark\"}]}]},\"array_type_definition\":{\"begin\":\"(?i)\\\\barray\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"storage.modifier.ada\"}},\"end\":\"(?i)(?=(with|;))\",\"name\":\"meta.declaration.type.definition.array.ada\",\"patterns\":[{\"include\":\"#array_dimensions\"},{\"match\":\"(?i)\\\\bof\\\\b\",\"name\":\"storage.modifier.ada\"},{\"match\":\"(?i)\\\\baliased\\\\b\",\"name\":\"storage.visibility.ada\"},{\"include\":\"#access_definition\"},{\"include\":\"#subtype_mark\"}]},\"aspect_clause\":{\"begin\":\"(?i)\\\\b(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.ada\"},\"2\":{\"patterns\":[{\"include\":\"#subtype_mark\"}]},\"3\":{\"name\":\"punctuation.ada\"},\"5\":{\"name\":\"keyword.ada\"}},\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.ada\"}},\"name\":\"meta.aspect.clause.ada\",\"patterns\":[{\"begin\":\"(?i)\\\\buse\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.ada\"}},\"end\":\"(?=;)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.ada\"}},\"patterns\":[{\"include\":\"#record_representation_clause\"},{\"include\":\"#array_aggregate\"},{\"include\":\"#expression\"}]},{\"begin\":\"(?i)(?<=for)\",\"captures\":{\"0\":{\"name\":\"keyword.ada\"}},\"end\":\"(?i)(?=use)\",\"patterns\":[{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#subtype_mark\"}]},\"2\":{\"patterns\":[{\"include\":\"#attribute\"}]}},\"match\":\"([_\\\\w\\\\d]+)('([_\\\\Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias adoc for asciidoc */
export { default } from './asciidoc.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"injectionSelector\":\"L:text.html -comment\",\"name\":\"angular-expression\",\"patterns\":[{\"include\":\"#ngExpression\"}],\"repository\":{\"arrayLiteral\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.square.ts\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.ts\"}},\"name\":\"meta.array.literal.ts\",\"patterns\":[{\"include\":\"#ngExpression\"},{\"include\":\"#punctuationComma\"}]},\"booleanLiteral\":{\"patterns\":[{\"match\":\"(?<![$.])\\\\btrue\\\\b(?!\\\\$)\",\"name\":\"constant.language.boolean.true.ts\"},{\"match\":\"(?<![$.])\\\\bfalse\\\\b(?!\\\\$)\",\"name\":\"constant.language.boolean.false.ts\"}]},\"expressionOperator\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.logical.ts\"},\"2\":{\"name\":\"entity.name.function.pipe.ng\"}},\"match\":\"((?<!\\\\|)\\\\|(?!\\\\|))\\\\s?([-$0-9A-Z_a-z]*)\"},{\"match\":\"(?<![$.])\\\\b(let)\\\\b(?!\\\\$)\",\"name\":\"storage.type.ts\"},{\"match\":\"(?<![$.])\\\\b(await)\\\\b(?!\\\\$)\",\"name\":\"keyword.control.flow.ts\"},{\"match\":\"(?<![$.])\\\\bdelete\\\\b(?!\\\\$)\",\"name\":\"keyword.operator.expression.delete.ts\"},{\"match\":\"(?<![$.])\\\\bin\\\\b(?!\\\\$)\",\"name\":\"keyword.operator.expression.in.ts\"},{\"match\":\"(?<![$.])\\\\bof\\\\b(?!\\\\$)\",\"name\":\"keyword.operator.expression.of.ts\"},{\"match\":\"(?<![$.])\\\\bif\\\\b(?!\\\\$)\",\"name\":\"keyword.control.if.ts\"},{\"match\":\"(?<![$.])\\\\belse\\\\b(?!\\\\$)\",\"name\":\"keyword.control.else.ts\"},{\"match\":\"(?<![$.])\\\\bthen\\\\b(?!\\\\$)\",\"name\":\"keyword.control.then.ts\"},{\"match\":\"(?<![$.])\\\\binstanceof\\\\b(?!\\\\$)\",\"name\":\"keyword.operator.expression.instanceof.ts\"},{\"match\":\"(?<![$.])\\\\bnew\\\\b(?!\\\\$)\",\"name\":\"keyword.operator.new.ts\"},{\"match\":\"(?<![$.])\\\\bvoid\\\\b(?!\\\\$)\",\"name\":\"keyword.operator.expression.void.ts\"},{\"begin\":\"(?<![$.])\\\\bas\\\\b(?!\\\\$)\",\"beginCaptures\":{\"0\":{\"name\":\"storage.type.as.ts\"}},\"end\":\"(?=$|[]\\\"'),:;}])\",\"patterns\":[{\"include\":\"#type\"}]},{\"match\":\"(?:\\\\*|(?<!\\\\()/|[-%+])=\",\"name\":\"keyword.operator.assignment.compound.ts\"},{\"match\":\"(?:[\\\\&^]|<<|>>>??|\\\\|)=\",\"name\":\"keyword.operator.assignment.compound.bitwise.ts\"},{\"match\":\"<<|>>>?\",\"name\":\"keyword.operator.bitwise.shift.ts\"},{\"match\":\"[!=]==?\",\"name\":\"keyword.operator.comparison.ts\"},{\"match\":\"<=|>=|<>|[<>]\",\"name\":\"keyword.operator.relational.ts\"},{\"match\":\"!|&&|\\\\?\\\\?|\\\\|\\\\|\",\"name\":\"keyword.operator.logical.ts\"},{\"match\":\"[\\\\&^|~]\",\"name\":\"keyword.operator.bitwise.ts\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.ts\"},{\"match\":\"--\",\"name\":\"keyword.operator.decrement.ts\"},{\"match\":\"\\\\+\\\\+\",\"name\":\"keyword.operator.increment.ts\"},{\"match\":\"[-%*+/]\",\"name\":\"keyword.operator.arithmetic.ts\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.arithmetic.ts\"}},\"match\":\"(?<=[$_[:alnum:]])\\\\s*(/)(?![*/])\"},{\"include\":\"#typeofOperator\"}]},\"functionCall\":{\"begin\":\"(?=(\\\\??\\\\.\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(<([^<>]|<[^<>]+>)+>\\\\s*)?\\\\()\",\"end\":\"(?<=\\\\))(?!(\\\\??\\\\.\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(<([^<>]|<[^<>]+>)+>\\\\s*)?\\\\()\",\"patterns\":[{\"match\":\"\\\\?\",\"name\":\"punctuation.accessor.ts\"},{\"match\":\"\\\\.\",\"name\":\"punctuation.accessor.ts\"},{\"match\":\"([$_[:alpha:]][$_[:alnum:]]*)\",\"name\":\"entity.name.function.ts\"},{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.begin.ts\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.typeparameters.end.ts\"}},\"name\":\"meta.type.parameters.ts\",\"patterns\":[{\"include\":\"#type\"},{\"include\":\"#punctuationComma\"}]},{\"include\":\"#parenExpression\"}]},\"functionParameters\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.ts\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.ts\"}},\"name\":\"meta.parameters.ts\",\"patterns\":[{\"include\":\"#decorator\"},{\"include\":\"#parameterName\"},{\"include\":\"#variableInitializer\"},{\"match\":\",\",\"name\":\"punctuation.separator.parameter.ts\"}]},\"identifiers\":{\"patterns\":[{\"match\":\"([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*\\\\.\\\\s*prototype\\\\b(?!\\\\$))\",\"name\":\"support.class.ts\"},{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.ts\"},\"2\":{\"name\":\"constant.other.object.property.ts\"},\"3\":{\"name\":\"variable.other.object.property.ts\"}},\"match\":\"([!?]?\\\\.)\\\\s*(?:(\\\\p{upper}[$_\\\\d[:upper:]]*)|([$_[:alpha:]][$_[:alnum:]]*))(?=\\\\s*\\\\.\\\\s*[$_[:alpha:]][$_[:alnum:]]*)\"},{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.ts\"},\"2\":{\"name\":\"entity.name.function.ts\"}},\"match\":\"(?:([!?]?\\\\.)\\\\s*)?([$_[:alpha:]][$_[:alnum:]]*)(?=\\\\s*=\\\\s*(Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+16
View File
@@ -0,0 +1,16 @@
import html from './html.mjs'
import angular_expression from './angular-expression.mjs'
import angular_let_declaration from './angular-let-declaration.mjs'
import angular_template from './angular-template.mjs'
import angular_template_blocks from './angular-template-blocks.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Angular HTML\",\"injections\":{\"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)\":{\"patterns\":[{\"match\":\"<\",\"name\":\"invalid.illegal.bad-angle-bracket.html\"}]}},\"name\":\"angular-html\",\"patterns\":[{\"include\":\"text.html.basic#core-minus-invalid\"},{\"begin\":\"(</?)(\\\\w[^>\\\\s]*)(?<!/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.html\"}},\"end\":\"((?: ?/)?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.other.unrecognized.html.derivative\",\"patterns\":[{\"include\":\"text.html.basic#attribute\"}]}],\"scopeName\":\"text.html.derivative.ng\",\"embeddedLangs\":[\"html\",\"angular-expression\",\"angular-let-declaration\",\"angular-template\",\"angular-template-blocks\"]}"))
export default [
...html,
...angular_expression,
...angular_let_declaration,
...angular_template,
...angular_template_blocks,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+8
View File
@@ -0,0 +1,8 @@
import scss from './scss.mjs'
const lang = Object.freeze(JSON.parse("{\"injectTo\":[\"source.ts.ng\"],\"injectionSelector\":\"L:source.ts#meta.decorator.ts -comment\",\"name\":\"angular-inline-style\",\"patterns\":[{\"include\":\"#inlineStyles\"}],\"repository\":{\"inlineStyles\":{\"begin\":\"(styles)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.object-literal.key.ts\"},\"2\":{\"name\":\"meta.object-literal.key.ts punctuation.separator.key-value.ts\"}},\"end\":\"(?=[,}])\",\"patterns\":[{\"include\":\"#tsParenExpression\"},{\"include\":\"#tsBracketExpression\"},{\"include\":\"#style\"}]},\"style\":{\"begin\":\"\\\\s*([\\\"'`|])\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"contentName\":\"source.css.scss\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"string\"}},\"patterns\":[{\"include\":\"source.css.scss\"}]},\"tsBracketExpression\":{\"begin\":\"\\\\G\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.array.literal.ts meta.brace.square.ts\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.array.literal.ts meta.brace.square.ts\"}},\"patterns\":[{\"include\":\"#style\"}]},\"tsParenExpression\":{\"begin\":\"\\\\G\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"meta.brace.round.ts\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.ts\"}},\"patterns\":[{\"include\":\"$self\"},{\"include\":\"#tsBracketExpression\"},{\"include\":\"#style\"}]}},\"scopeName\":\"inline-styles.ng\",\"embeddedLangs\":[\"scss\"]}"))
export default [
...scss,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+10
View File
@@ -0,0 +1,10 @@
import angular_html from './angular-html.mjs'
import angular_template from './angular-template.mjs'
const lang = Object.freeze(JSON.parse("{\"injectTo\":[\"source.ts.ng\"],\"injectionSelector\":\"L:meta.decorator.ts -comment -text.html\",\"name\":\"angular-inline-template\",\"patterns\":[{\"include\":\"#inlineTemplate\"}],\"repository\":{\"inlineTemplate\":{\"begin\":\"(template)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.object-literal.key.ts\"},\"2\":{\"name\":\"meta.object-literal.key.ts punctuation.separator.key-value.ts\"}},\"end\":\"(?=[,}])\",\"patterns\":[{\"include\":\"#tsParenExpression\"},{\"include\":\"#ngTemplate\"}]},\"ngTemplate\":{\"begin\":\"\\\\G\\\\s*([\\\"'`|])\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"contentName\":\"text.html.derivative.ng\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"string\"}},\"patterns\":[{\"include\":\"text.html.derivative.ng\"},{\"include\":\"template.ng\"}]},\"tsParenExpression\":{\"begin\":\"\\\\G\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"meta.brace.round.ts\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.ts\"}},\"patterns\":[{\"include\":\"#tsParenExpression\"},{\"include\":\"#ngTemplate\"}]}},\"scopeName\":\"inline-template.ng\",\"embeddedLangs\":[\"angular-html\",\"angular-template\"]}"))
export default [
...angular_html,
...angular_template,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+8
View File
@@ -0,0 +1,8 @@
import angular_expression from './angular-expression.mjs'
const lang = Object.freeze(JSON.parse("{\"injectTo\":[\"text.html.derivative\",\"text.html.derivative.ng\",\"source.ts.ng\"],\"injectionSelector\":\"L:text.html -comment -expression.ng -meta.tag -source.css -source.js\",\"name\":\"angular-let-declaration\",\"patterns\":[{\"include\":\"#letDeclaration\"}],\"repository\":{\"letDeclaration\":{\"begin\":\"(@let)\\\\s+([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(=)?\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.ng\"},\"2\":{\"name\":\"variable.other.constant.ng\"},\"3\":{\"name\":\"keyword.operator.assignment.ng\"}},\"end\":\"(?<=;)\",\"name\":\"meta.definition.variable.ng\",\"patterns\":[{\"include\":\"#letInitializer\"}]},\"letInitializer\":{\"begin\":\"\\\\s*\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.ng\"}},\"contentName\":\"meta.definition.variable.initializer.ng\",\"end\":\";\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.terminator.statement.ng\"}},\"patterns\":[{\"include\":\"expression.ng\"}]}},\"scopeName\":\"template.let.ng\",\"embeddedLangs\":[\"angular-expression\"]}"))
export default [
...angular_expression,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+10
View File
@@ -0,0 +1,10 @@
import angular_expression from './angular-expression.mjs'
import angular_template from './angular-template.mjs'
const lang = Object.freeze(JSON.parse("{\"injectTo\":[\"text.html.derivative\",\"text.html.derivative.ng\",\"source.ts.ng\"],\"injectionSelector\":\"L:text.html -comment -expression.ng -meta.tag -source.css -source.js\",\"name\":\"angular-template-blocks\",\"patterns\":[{\"include\":\"#block\"}],\"repository\":{\"block\":{\"begin\":\"(@)(if|else if|else|defer|placeholder|loading|error|switch|case|default|for|empty)\\\\s*\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"#transition\"}]},\"2\":{\"name\":\"keyword.control.block.kind.ng\"}},\"end\":\"(?<=})\",\"name\":\"control.block.ng\",\"patterns\":[{\"include\":\"#blockExpression\"},{\"include\":\"#blockBody\"}]},\"blockBody\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ts\"}},\"contentName\":\"control.block.body.ng\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ts\"}},\"patterns\":[{\"include\":\"text.html.derivative.ng\"},{\"include\":\"template.ng\"}]},\"blockExpression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.round.ts\"}},\"contentName\":\"control.block.expression.ng\",\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.ts\"}},\"patterns\":[{\"include\":\"#blockExpressionOfClause\"},{\"include\":\"#blockExpressionLetBinding\"},{\"include\":\"#blockExpressionTrackClause\"},{\"include\":\"expression.ng\"}]},\"blockExpressionLetBinding\":{\"begin\":\"\\\\blet\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"storage.type.ng\"}},\"end\":\"(?=[$)])|(?<=;)\",\"patterns\":[{\"include\":\"expression.ng\"}]},\"blockExpressionOfClause\":{\"begin\":\"([$_[:alpha:]][$_[:alnum:]]*)\\\\s+(of)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.constant.ng\"},\"2\":{\"name\":\"keyword.operator.expression.of.ng\"}},\"end\":\"(?=[$)])|(?<=;)\",\"patterns\":[{\"include\":\"expression.ng\"}]},\"blockExpressionTrackClause\":{\"begin\":\"\\\\btrack\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.track.ng\"}},\"end\":\"(?=[$)])|(?<=;)\",\"patterns\":[{\"include\":\"expression.ng\"}]},\"transition\":{\"match\":\"@\",\"name\":\"keyword.control.block.transition.ng\"}},\"scopeName\":\"template.blocks.ng\",\"embeddedLangs\":[\"angular-expression\",\"angular-template\"]}"))
export default [
...angular_expression,
...angular_template,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+8
View File
@@ -0,0 +1,8 @@
import angular_expression from './angular-expression.mjs'
const lang = Object.freeze(JSON.parse("{\"injectTo\":[\"text.html.derivative\",\"text.html.derivative.ng\",\"source.ts.ng\"],\"injectionSelector\":\"L:text.html -comment\",\"name\":\"angular-template\",\"patterns\":[{\"include\":\"#interpolation\"}],\"repository\":{\"interpolation\":{\"begin\":\"\\\\{\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ts\"}},\"contentName\":\"expression.ng\",\"end\":\"}}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ts\"}},\"patterns\":[{\"include\":\"expression.ng\"}]}},\"scopeName\":\"template.ng\",\"embeddedLangs\":[\"angular-expression\"]}"))
export default [
...angular_expression,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+18
View File
@@ -0,0 +1,18 @@
import angular_expression from './angular-expression.mjs'
import angular_inline_style from './angular-inline-style.mjs'
import angular_inline_template from './angular-inline-template.mjs'
import angular_let_declaration from './angular-let-declaration.mjs'
import angular_template from './angular-template.mjs'
import angular_template_blocks from './angular-template-blocks.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Angular TypeScript\",\"name\":\"angular-ts\",\"patterns\":[{\"include\":\"#directives\"},{\"include\":\"#statements\"},{\"include\":\"#shebang\"}],\"repository\":{\"access-modifier\":{\"match\":\"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(abstract|declare|override|public|protected|private|readonly|static)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\",\"name\":\"storage.modifier.ts\"},\"after-operator-block-as-object-literal\":{\"begin\":\"(?<!\\\\+\\\\+|--)(?<=[!(+,:=>?\\\\[]|^await|[^$._[:alnum:]]await|^return|[^$._[:alnum:]]return|^yield|[^$._[:alnum:]]yield|^throw|[^$._[:alnum:]]throw|^in|[^$._[:alnum:]]in|^of|[^$._[:alnum:]]of|^typeof|[^$._[:alnum:]]typeof|&&|\\\\|\\\\||\\\\*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.block.ts\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ts\"}},\"name\":\"meta.objectliteral.ts\",\"patterns\":[{\"include\":\"#object-member\"}]},\"array-binding-pattern\":{\"begin\":\"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.rest.ts\"},\"2\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"patterns\":[{\"include\":\"#binding-element\"},{\"include\":\"#punctuation-comma\"}]},\"array-binding-pattern-const\":{\"begin\":\"(?:(\\\\.\\\\.\\\\.)\\\\s*)?(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.rest.ts\"},\"2\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"patterns\":[{\"include\":\"#binding-element-const\"},{\"include\":\"#punctuation-comma\"}]},\"array-literal\":{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.brace.square.ts\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.ts\"}},\"name\":\"meta.array.literal.ts\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"arrow-function\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.modifier.async.ts\"},\"2\":{\"name\":\"variable.parameter.ts\"}},\"match\":\"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(async)\\\\s+)?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?==>)\",\"name\":\"meta.arrow.ts\"},{\"begin\":\"(?:(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))\\\\b(async))?((?<![]!)}])\\\\s*(?=((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*((\\\\)\\\\s*:)|((\\\\.\\\\.\\\\.\\\\s*)?[$_[:alpha:]][$_[:alnum:]]*\\\\s*:)))|((<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<]|<\\\\s*(((const\\\\s+)?[$_[:alpha:]])|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*]))([^<=>]|=[^<])*>)*>)*>\\\\s*)?\\\\(\\\\s*(/\\\\*([^*]|(\\\\*[^/]))*\\\\*/\\\\s*)*(([$_[:alpha:]]|(\\\\{([^{}]|(\\\\{([^{}]|\\\\{[^{}]*})*}))*})|(\\\\[([^]\\\\[]|(\\\\[([^]\\\\[]|\\\\[[^]\\\\[]*])*]))*])|(\\\\.\\\\.\\\\.\\\\s*[$_[:alpha:]]))([^\\\"'()`]|(\\\\(([^()]|(\\\\(([^()]|\\\\([^()]*\\\\))*\\\\)))*\\\\))|('([^'\\\\\\\\]|\\\\\\\\.)*')|(\\\"([^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")|(`([^\\\\\\\\`]|\\\\\\\\.)*`))*)?\\\\)(\\\\s*:\\\\s*([^()<>{}]|<([^<>]|<([^<>]|<[^<>]+>)+>)+>|\\\\([^()]+\\\\)|\\\\{[^{}]+})+)?\\\\s*=>)))\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.async.ts\"}},\"end\":\"(?==>|\\\\{|^(\\\\s*(export|function|class|interface|let|var|\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b|\\\\bawait\\\\s+\\\\busing(?=\\\\s+(?!in\\\\b|of\\\\b(?!\\\\s*(?:of\\\\b|=)))[$_[:alpha:]])\\\\b\\\\b|const|import|enum|namespace|module|type|abstract|declare)\\\\s+))\",\"name\":\"meta.arrow.ts\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#type-parameters\"},{\"incLine truncated
export default [
...angular_expression,
...angular_inline_style,
...angular_inline_template,
...angular_let_declaration,
...angular_template,
...angular_template_blocks,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Apache Conf\",\"fileTypes\":[\"conf\",\"CONF\",\"envvars\",\"htaccess\",\"HTACCESS\",\"htgroups\",\"HTGROUPS\",\"htpasswd\",\"HTPASSWD\",\".htaccess\",\".HTACCESS\",\".htgroups\",\".HTGROUPS\",\".htpasswd\",\".HTPASSWD\"],\"name\":\"apache\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.apacheconf\"}},\"match\":\"^(\\\\s)*(#).*$\\\\n?\",\"name\":\"comment.line.hash.ini\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.apacheconf\"},\"2\":{\"name\":\"entity.tag.apacheconf\"},\"4\":{\"name\":\"string.value.apacheconf\"},\"5\":{\"name\":\"punctuation.definition.tag.apacheconf\"}},\"match\":\"(<)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(\\\\s(.+?))?(>)\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.apacheconf\"},\"2\":{\"name\":\"entity.tag.apacheconf\"},\"3\":{\"name\":\"punctuation.definition.tag.apacheconf\"}},\"match\":\"(</)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(>)\"},{\"captures\":{\"3\":{\"name\":\"string.regexp.apacheconf\"},\"4\":{\"name\":\"string.replacement.apacheconf\"}},\"match\":\"(?<=(Rewrite(Rule|Cond)))\\\\s+(.+?)\\\\s+(.+?)($|\\\\s)\"},{\"captures\":{\"2\":{\"name\":\"entity.status.apacheconf\"},\"3\":{\"name\":\"string.regexp.apacheconf\"},\"5\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=RedirectMatch)(\\\\s+(\\\\d\\\\d\\\\d|permanent|temp|seeother|gone))?\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?\"},{\"captures\":{\"2\":{\"name\":\"entity.status.apacheconf\"},\"3\":{\"name\":\"string.path.apacheconf\"},\"5\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=Redirect)(\\\\s+(\\\\d\\\\d\\\\d|permanent|temp|seeother|gone))?\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?\"},{\"captures\":{\"1\":{\"name\":\"string.regexp.apacheconf\"},\"3\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=(?:Script|)AliasMatch)\\\\s+(.+?)\\\\s+((.+?)\\\\s)?\"},{\"captures\":{\"1\":{\"name\":\"string.path.apacheconf\"},\"3\":{\"name\":\"string.path.apacheconf\"}},\"match\":\"(?<=RedirectPermanent|RedirectTemp|ScriptAlias|Alias)\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.core.apacheconf\"}},\"match\":\"\\\\b(AcceptPathInfo|AccessFileName|AddDefaultCharset|AddOutputFilterByType|AllowEncodedSlashes|AllowOverride|AuthName|AuthType|CGIMapExtension|ContentDigest|DefaultType|Define|DocumentRoot|EnableMMAP|EnableSendfile|ErrorDocument|ErrorLog|FileETag|ForceType|HostnameLookups|IdentityCheck|Include(Optional)?|KeepAlive|KeepAliveTimeout|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|LogLevel|MaxKeepAliveRequests|Mutex|NameVirtualHost|Options|Require|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScriptInterpreterSource|ServerAdmin|ServerAlias|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|SetHandler|SetInputFilter|SetOutputFilter|Time([Oo])ut|TraceEnable|UseCanonicalName|Use|ErrorLogFormat|GlobalLog|PHPIniDir|SSLHonorCipherOrder|SSLCompression|SSLUseStapling|SSLStapling\\\\w+|SSLCARevocationCheck|SSLSRPVerifierFile|SSLSessionTickets|RequestReadTimeout|ProxyHTML\\\\w+|MaxRanges)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.mpm.apacheconf\"}},\"match\":\"\\\\b(AcceptMutex|AssignUserID|BS2000Account|ChildPerUserID|CoreDumpDirectory|EnableExceptionHook|Group|Listen|ListenBacklog|LockFile|MaxClients|MaxConnectionsPerChild|MaxMemFree|MaxRequestsPerChild|MaxRequestsPerThread|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MaxThreadsPerChild|MinSpareServers|MinSpareThreads|NumServers|PidFile|ReceiveBufferSize|ScoreBoardFile|SendBufferSize|ServerLimit|StartServers|StartThreads|ThreadLimit|ThreadsPerChild|ThreadStackSize|User|Win32DisableAcceptEx)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.access.apacheconf\"}},\"match\":\"\\\\b(Allow|Deny|Order)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.actions.apacheconf\"}},\"match\":\"\\\\b(Action|Script)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.alias.apacheconf\"}},\"match\":\"\\\\b(Alias|AliasMatch|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ScriptAlias|ScriptAliasMatch)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth.apacheconf\"}},\"match\":\"\\\\b(Auth(?:Authoritative|GroupFile|UserFile|BasicProvider|BasicFake|BasicAuthoritative|BasicUseDigestAlgorithm))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_anon.apacheconf\"}},\"match\":\"\\\\b(Anonymous(?:|_Authoritative|_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_dbm.apacheconf\"}},\"match\":\"\\\\b(AuthDBM(?:Authoritative|GroupFile|Type|UserFile))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.auth_digest.apacheconf\"}},\"match\":\"\\\\b(AuthDigest(?Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Apex\",\"fileTypes\":[\"apex\",\"cls\",\"trigger\"],\"name\":\"apex\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#directives\"},{\"include\":\"#declarations\"},{\"include\":\"#script-top-level\"}],\"repository\":{\"annotation-declaration\":{\"begin\":\"(@[_[:alpha:]]+)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.annotation.apex\"}},\"end\":\"(?=\\\\s(?!\\\\())|(?=\\\\s*$)|(?<=\\\\s*\\\\))\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#expression\"}]},{\"include\":\"#statement\"}]},\"argument-list\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"include\":\"#named-argument\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"array-creation-expression\":{\"begin\":\"\\\\b(new)\\\\b\\\\s*(?<type_name>(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*]\\\\s*)*)?\\\\s*(?=\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.new.apex\"},\"2\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]}},\"end\":\"(?<=])\",\"patterns\":[{\"include\":\"#bracketed-argument-list\"}]},\"block\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#statement\"}]},\"boolean-literal\":{\"patterns\":[{\"match\":\"(?<!\\\\.)\\\\btrue\\\\b\",\"name\":\"constant.language.boolean.true.apex\"},{\"match\":\"(?<!\\\\.)\\\\bfalse\\\\b\",\"name\":\"constant.language.boolean.false.apex\"}]},\"bracketed-argument-list\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.squarebracket.open.apex\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.squarebracket.close.apex\"}},\"patterns\":[{\"include\":\"#soql-query-expression\"},{\"include\":\"#named-argument\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"break-or-continue-statement\":{\"captures\":{\"1\":{\"name\":\"keyword.control.flow.break.apex\"},\"2\":{\"name\":\"keyword.control.flow.continue.apex\"}},\"match\":\"(?<!\\\\.)\\\\b(?:(break)|(continue))\\\\b\"},\"cast-expression\":{\"captures\":{\"1\":{\"name\":\"punctuation.parenthesis.open.apex\"},\"2\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"6\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"match\":\"(\\\\()\\\\s*(?<type_name>(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*]\\\\s*)*)\\\\s*(\\\\))(?=\\\\s*@?[(_[:alnum:]])\"},\"catch-clause\":{\"begin\":\"(?<!\\\\.)\\\\b(catch)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.try.catch.apex\"}},\"end\":\"(?<=})\",\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.open.apex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.parenthesis.close.apex\"}},\"patterns\":[{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#support-type\"},{\"include\":\"#type\"}]},\"5\":{\"name\":\"entity.name.variable.local.apex\"}},\"match\":\"(?<type_name>(?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\\\s*::\\\\s*)?(?<name_and_type_args>\\\\g<identifier>\\\\s*(?<type_args>\\\\s*<(?:[^<>]|\\\\g<type_args>)+>\\\\s*)?)(?:\\\\s*\\\\.\\\\s*\\\\g<name_and_type_args>)*(?:\\\\s*\\\\?\\\\s*)?(?:\\\\s*\\\\[(?:\\\\s*,\\\\s*)*]\\\\s*)*)\\\\s*(?:(\\\\g<identifier>)\\\\b)?\"}]},{\"include\":\"#comment\"},{\"include\":\"#block\"}]},\"class-declaration\":{\"begin\":\"(?=\\\\bclass\\\\b)\",\"end\":\"(?<=})\",\"patterns\":[{\"begin\":\"\\\\b(class)\\\\b\\\\s+(@?[_[:alpha:]][_[:alnum:]]*)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.class.apex\"},\"2\":{\"name\":\"entity.name.type.class.apex\"}},\"end\":\"(?=\\\\{)\",\"patterns\":[{\"include\":\"#javadoc-comment\"},{\"include\":\"#comment\"},{\"include\":\"#type-parameter-list\"},{\"include\":\"#extends-class\"},{\"include\":\"#implements-class\"}]},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.open.apex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.curlybrace.close.apex\"}},\"patterns\":[{\"include\":\"#class-or-trigger-members\"}]},{\"include\":\"#javadoc-commLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+16
View File
@@ -0,0 +1,16 @@
import html from './html.mjs'
import xml from './xml.mjs'
import css from './css.mjs'
import javascript from './javascript.mjs'
import json from './json.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"APL\",\"fileTypes\":[\"apl\",\"apla\",\"aplc\",\"aplf\",\"apli\",\"apln\",\"aplo\",\"dyalog\",\"dyapp\",\"mipage\"],\"firstLineMatch\":\"[⌶-⍺]|^#!.*(?:[/\\\\s]|(?<=!)\\\\b)(?:gnu[-._]?apl|aplx?|dyalog)(?:$|\\\\s)|(?i:-\\\\*-(?:\\\\s*(?=[^:;\\\\s]+\\\\s*-\\\\*-)|(?:.*?[;\\\\s]|(?<=-\\\\*-))mode\\\\s*:\\\\s*)apl(?=[;\\\\s]|(?<![-*])-\\\\*-).*?-\\\\*-|(?:(?:\\\\s|^)vi(?:m(?:[<=>]?\\\\d+|))?|\\\\sex)(?=:(?:(?=\\\\s*set?\\\\s[^\\\\n:]+:)|(?!\\\\s*set?\\\\s)))(?:(?:\\\\s|\\\\s*:\\\\s*)\\\\w*(?:\\\\s*=(?:[^\\\\n\\\\\\\\\\\\s]|\\\\\\\\.)*)?)*[:\\\\s](?:filetype|ft|syntax)\\\\s*=apl(?=[:\\\\s]|$))\",\"foldingStartMarker\":\"\\\\{\",\"foldingStopMarker\":\"}\",\"name\":\"apl\",\"patterns\":[{\"match\":\"\\\\A#!.*$\",\"name\":\"comment.line.shebang.apl\"},{\"include\":\"#heredocs\"},{\"include\":\"#main\"},{\"begin\":\"^\\\\s*((\\\\))OFF|(])NEXTFILE)\\\\b(.*)$\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.command.eof.apl\"},\"2\":{\"name\":\"punctuation.definition.command.apl\"},\"3\":{\"name\":\"punctuation.definition.command.apl\"},\"4\":{\"patterns\":[{\"include\":\"#comment\"}]}},\"contentName\":\"text.embedded.apl\",\"end\":\"(?=N)A\"},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.round.bracket.begin.apl\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.round.bracket.end.apl\"}},\"name\":\"meta.round.bracketed.group.apl\",\"patterns\":[{\"include\":\"#main\"}]},{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.square.bracket.begin.apl\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.square.bracket.end.apl\"}},\"name\":\"meta.square.bracketed.group.apl\",\"patterns\":[{\"include\":\"#main\"}]},{\"begin\":\"^\\\\s*((\\\\))\\\\S+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.command.apl\"},\"2\":{\"name\":\"punctuation.definition.command.apl\"}},\"end\":\"$\",\"name\":\"meta.system.command.apl\",\"patterns\":[{\"include\":\"#command-arguments\"},{\"include\":\"#command-switches\"},{\"include\":\"#main\"}]},{\"begin\":\"^\\\\s*((])\\\\S+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.command.apl\"},\"2\":{\"name\":\"punctuation.definition.command.apl\"}},\"end\":\"$\",\"name\":\"meta.user.command.apl\",\"patterns\":[{\"include\":\"#command-arguments\"},{\"include\":\"#command-switches\"},{\"include\":\"#main\"}]}],\"repository\":{\"class\":{\"patterns\":[{\"begin\":\"(?<=\\\\s|^)((:)Class)\\\\s+('[^']*'?|[A-Z_a-zÀ-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ][0-9A-Z_a-z¯À-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ]*)\\\\s*((:)\\\\s*(?:('[^']*'?|[A-Z_a-zÀ-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ][0-9A-Z_a-z¯À-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ]*)\\\\s*)?)?(.*?)$\",\"beginCaptures\":{\"0\":{\"name\":\"meta.class.apl\"},\"1\":{\"name\":\"keyword.control.class.apl\"},\"2\":{\"name\":\"punctuation.definition.class.apl\"},\"3\":{\"name\":\"entity.name.type.class.apl\",\"patterns\":[{\"include\":\"#strings\"}]},\"4\":{\"name\":\"entity.other.inherited-class.apl\"},\"5\":{\"name\":\"punctuation.separator.inheritance.apl\"},\"6\":{\"patterns\":[{\"include\":\"#strings\"}]},\"7\":{\"name\":\"entity.other.class.interfaces.apl\",\"patterns\":[{\"include\":\"#csv\"}]}},\"end\":\"(?<=\\\\s|^)((:)EndClass)(?=\\\\b)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.class.apl\"},\"2\":{\"name\":\"punctuation.definition.class.apl\"}},\"patterns\":[{\"begin\":\"(?<=\\\\s|^)(:)Field(?=\\\\s)\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.field.apl\"},\"1\":{\"name\":\"punctuation.definition.field.apl\"}},\"end\":\"\\\\s*(←.*)?(?:$|(?=⍝))\",\"endCaptures\":{\"0\":{\"name\":\"entity.other.initial-value.apl\"},\"1\":{\"patterns\":[{\"include\":\"#main\"}]}},\"name\":\"meta.field.apl\",\"patterns\":[{\"match\":\"(?<=\\\\s|^)Public(?=\\\\s|$)\",\"name\":\"storage.modifier.access.public.apl\"},{\"match\":\"(?<=\\\\s|^)Private(?=\\\\s|$)\",\"name\":\"storage.modifier.access.private.apl\"},{\"match\":\"(?<=\\\\s|^)Shared(?=\\\\s|$)\",\"name\":\"storage.modifier.shared.apl\"},{\"match\":\"(?<=\\\\s|^)Instance(?=\\\\s|$)\",\"name\":\"storage.modifier.instance.apl\"},{\"match\":\"(?<=\\\\s|^)ReadOnly(?=\\\\s|$)\",\"name\":\"storage.modifier.readonly.apl\"},{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#strings\"}]}},\"match\":\"('[^']*'?|[A-Z_a-zÀ-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ][0-9A-Z_a-z¯À-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ]*)\",\"name\":\"entity.name.type.apl\"}]},{\"include\":\"$self\"}]}]},\"command-arguments\":{\"patterns\":[{\"begin\":\"\\\\b(?=\\\\S)\",\"end\":\"\\\\b(?=\\\\s)\",\"name\":\"variable.parameter.argument.apl\",\"patterns\":[{\"include\":\"#main\"}]}]},\"command-switches\":{\"patterns\":[{\"begin\":\"(?<=\\\\s)(-)([A-Z_a-zÀ-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ][0-9A-Z_a-z¯À-ÖØ-Ýß-öø-üþ∆⍙Ⓐ-Ⓩ]*)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.delimiter.switch.apl\"},\"2\":{\"name\":\"entity.name.switch.apl\"},\"3\":{\"name\":\"punctuation.assignment.switch.Line truncated
export default [
...html,
...xml,
...css,
...javascript,
...json,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"AppleScript\",\"fileTypes\":[\"applescript\",\"scpt\",\"script editor\"],\"firstLineMatch\":\"^#!.*(osascript)\",\"name\":\"applescript\",\"patterns\":[{\"include\":\"#blocks\"},{\"include\":\"#inline\"}],\"repository\":{\"attributes.considering-ignoring\":{\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.array.attributes.applescript\"},{\"match\":\"\\\\b(and)\\\\b\",\"name\":\"keyword.control.attributes.and.applescript\"},{\"match\":\"\\\\b(?i:case|diacriticals|hyphens|numeric\\\\s+strings|punctuation|white\\\\s+space)\\\\b\",\"name\":\"constant.other.attributes.text.applescript\"},{\"match\":\"\\\\b(?i:application\\\\s+responses)\\\\b\",\"name\":\"constant.other.attributes.application.applescript\"}]},\"blocks\":{\"patterns\":[{\"begin\":\"^\\\\s*(script)\\\\s+(\\\\w+)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.script.applescript\"},\"2\":{\"name\":\"entity.name.type.script-object.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+script)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.script.applescript\"}},\"name\":\"meta.block.script.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(to|on)\\\\s+(\\\\w+)(\\\\()((?:[,:{}\\\\s]*\\\\w+{0,1})*)(\\\\))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"},\"2\":{\"name\":\"entity.name.function.handler.applescript\"},\"3\":{\"name\":\"punctuation.definition.parameters.begin.applescript\"},\"4\":{\"name\":\"variable.parameter.handler.applescript\"},\"5\":{\"name\":\"punctuation.definition.parameters.end.applescript\"}},\"end\":\"^\\\\s*(end)(?:\\\\s+(\\\\2))?(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"}},\"name\":\"meta.function.positional.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(to|on)\\\\s+(\\\\w+)(?:\\\\s+(of|in)\\\\s+(\\\\w+))?(?=\\\\s+(above|against|apart\\\\s+from|around|aside\\\\s+from|at|below|beneath|beside|between|by|for|from|instead\\\\s+of|into|on|onto|out\\\\s+of|over|thru|under)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"},\"2\":{\"name\":\"entity.name.function.handler.applescript\"},\"3\":{\"name\":\"keyword.control.function.applescript\"},\"4\":{\"name\":\"variable.parameter.handler.direct.applescript\"}},\"end\":\"^\\\\s*(end)(?:\\\\s+(\\\\2))?(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"}},\"name\":\"meta.function.prepositional.applescript\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.preposition.applescript\"},\"2\":{\"name\":\"variable.parameter.handler.applescript\"}},\"match\":\"\\\\b(?i:above|against|apart\\\\s+from|around|aside\\\\s+from|at|below|beneath|beside|between|by|for|from|instead\\\\s+of|into|on|onto|out\\\\s+of|over|thru|under)\\\\s+(\\\\w+)\\\\b\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(to|on)\\\\s+(\\\\w+)(?=\\\\s*(--.*?)?$)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"},\"2\":{\"name\":\"entity.name.function.handler.applescript\"}},\"end\":\"^\\\\s*(end)(?:\\\\s+(\\\\2))?(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.function.applescript\"}},\"name\":\"meta.function.parameterless.applescript\",\"patterns\":[{\"include\":\"$self\"}]},{\"include\":\"#blocks.tell\"},{\"include\":\"#blocks.repeat\"},{\"include\":\"#blocks.statement\"},{\"include\":\"#blocks.other\"}]},\"blocks.other\":{\"patterns\":[{\"begin\":\"^\\\\s*(considering)\\\\b\",\"end\":\"^\\\\s*(end(?:\\\\s+considering)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.considering.applescript\",\"patterns\":[{\"begin\":\"(?<=considering)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.considering.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"begin\":\"(?<=ignoring)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.ignoring.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"match\":\"\\\\b(but)\\\\b\",\"name\":\"keyword.control.but.applescript\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(ignoring)\\\\b\",\"end\":\"^\\\\s*(end(?:\\\\s+ignoring)?)(?=\\\\s*(--.*?)?$)\",\"name\":\"meta.block.ignoring.applescript\",\"patterns\":[{\"begin\":\"(?<=considering)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.considering.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"begin\":\"(?<=ignoring)\",\"end\":\"(?<!¬)$\",\"name\":\"meta.array.attributes.ignoring.applescript\",\"patterns\":[{\"include\":\"#attributes.considering-ignoring\"}]},{\"match\":\"\\\\b(but)\\\\b\",\"name\":\"keyword.control.but.applescript\"},{\"include\":\"$self\"}]},{\"begin\":\"^\\\\s*(if)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.if.applescript\"}},\"end\":\"^\\\\s*(end(?:\\\\s+if)?)(?=\\\\s*(--.*?)?$)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.contLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Ara\",\"fileTypes\":[\"ara\"],\"name\":\"ara\",\"patterns\":[{\"include\":\"#namespace\"},{\"include\":\"#named-arguments\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#strings\"},{\"include\":\"#numbers\"},{\"include\":\"#operators\"},{\"include\":\"#type\"},{\"include\":\"#function-call\"}],\"repository\":{\"class-name\":{\"patterns\":[{\"begin\":\"\\\\b(?i)(?<!\\\\$)(?=[A-Z\\\\\\\\_a-z])\",\"end\":\"(?i)([_a-z][0-9_a-z]*)?(?=[^0-9\\\\\\\\_a-z])\\\\b\",\"endCaptures\":{\"1\":{\"name\":\"support.class.ara\"}},\"patterns\":[{\"include\":\"#namespace\"}]}]},\"comments\":{\"patterns\":[{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.ara\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block.ara\"},{\"begin\":\"(^[\\\\t ]+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.ara\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"//\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.ara\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-slash.ara\"}]}]},\"function-call\":{\"patterns\":[{\"begin\":\"(?i)(?=\\\\\\\\?[0-9\\\\\\\\_a-z]+\\\\\\\\[_a-z][0-9_a-z]*\\\\s*(\\\\(|(::<)))\",\"end\":\"(?=\\\\s*(\\\\(|(::<)))\",\"patterns\":[{\"include\":\"#user-function-call\"}]},{\"begin\":\"(?i)(\\\\\\\\)?(?=\\\\b[_a-z][0-9_a-z]*\\\\s*(\\\\(|(::<)))\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.inheritance.php\"}},\"end\":\"(?=\\\\s*(\\\\(|(::<)))\",\"patterns\":[{\"include\":\"#user-function-call\"}]}]},\"interpolation\":{\"patterns\":[{\"match\":\"\\\\\\\\[0-7]{1,3}\",\"name\":\"constant.numeric.octal.ara\"},{\"match\":\"\\\\\\\\x\\\\h{1,2}\",\"name\":\"constant.numeric.hex.ara\"},{\"match\":\"\\\\\\\\[\\\"$\\\\\\\\nrt]\",\"name\":\"constant.character.escape.ara\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(await|async|concurrently|break|continue|do|else|elseif|for|if|loop|while|foreach|match|return|try|yield|from|catch|finally|default|exit)\\\\b\",\"name\":\"keyword.control.ara\"},{\"match\":\"\\\\b(const|enum|class|interface|trait|namespace|type|case|function|fn)\\\\b\",\"name\":\"storage.decl.ara\"},{\"match\":\"\\\\b(final|abstract|static|readonly|public|private|protected)\\\\b\",\"name\":\"storage.modifier.ara\"},{\"match\":\"\\\\b(as|is|extends|implements|use|where|clone|new)\\\\b\",\"name\":\"keyword.other.ara\"}]},\"named-arguments\":{\"captures\":{\"1\":{\"name\":\"entity.name.variable.parameter.ara\"},\"2\":{\"name\":\"punctuation.separator.colon.ara\"}},\"match\":\"(?i)(?<=^|[(,])\\\\s*([_a-z\\\\x7F-\\\\x{10FFFF}][0-9_a-z\\\\x7F-\\\\x{10FFFF}]*)\\\\s*(:)(?!:)\"},\"namespace\":{\"begin\":\"(?i)((namespace)|[0-9_a-z]+)?(\\\\\\\\)(?=.*?[^0-9\\\\\\\\_a-z])\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.namespace.php\"},\"3\":{\"name\":\"punctuation.separator.inheritance.php\"}},\"end\":\"(?i)(?=[0-9_a-z]*[^0-9\\\\\\\\_a-z])\",\"name\":\"support.other.namespace.php\",\"patterns\":[{\"match\":\"(?i)[0-9_a-z]+(?=\\\\\\\\)\",\"name\":\"entity.name.type.namespace.php\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.inheritance.php\"}},\"match\":\"(?i)(\\\\\\\\)\"}]},\"numbers\":{\"patterns\":[{\"match\":\"0[Xx]\\\\h+(?:_\\\\h+)*\",\"name\":\"constant.numeric.hex.ara\"},{\"match\":\"0[Bb][01]+(?:_[01]+)*\",\"name\":\"constant.numeric.binary.ara\"},{\"match\":\"0[Oo][0-7]+(?:_[0-7]+)*\",\"name\":\"constant.numeric.octal.ara\"},{\"match\":\"0(?:_?[0-7]+)+\",\"name\":\"constant.numeric.octal.ara\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.decimal.period.ara\"},\"2\":{\"name\":\"punctuation.separator.decimal.period.ara\"}},\"match\":\"(?:[0-9]+(?:_[0-9]+)*)?(\\\\.)[0-9]+(?:_[0-9]+)*(?:[Ee][-+]?[0-9]+(?:_[0-9]+)*)?|[0-9]+(?:_[0-9]+)*(\\\\.)(?:[0-9]+(?:_[0-9]+)*)?(?:[Ee][-+]?[0-9]+(?:_[0-9]+)*)?|[0-9]+(?:_[0-9]+)*[Ee][-+]?[0-9]+(?:_[0-9]+)*\",\"name\":\"constant.numeric.decimal.ara\"},{\"match\":\"0|[1-9](?:_?[0-9]+)*\",\"name\":\"constant.numeric.decimal.ara\"}]},\"operators\":{\"patterns\":[{\"match\":\"((?:[-%*+/^]|&&|[\\\\&<>|]|<<|>>|\\\\?\\\\?)=)\",\"name\":\"keyword.assignments.ara\"},{\"match\":\"([\\\\^|]|\\\\|\\\\||&&|>>|<<|[\\\\&~]|<<|>>|[<>]|<=>|\\\\?\\\\?|[:?]|\\\\?:)(?!=)\",\"name\":\"keyword.operators.ara\"},{\"match\":\"(===??|!==?|<=|>=|[<>])(?!=)\",\"name\":\"keyword.operator.comparison.ara\"},{\"match\":\"(([%+]|(\\\\*(?!\\\\w)))(?!=))|(-(?!>))|(/(?!/))\",\"name\":\"keyword.operator.math.ara\"},{\"match\":\"(?<![<>])=(?![=>])\",\"name\":\"keyword.operator.assignment.ara\"},{\"captures\":{\"1\":{\"name\":\"punctuation.brackets.round.ara\"},\"2\":{\"name\":\"punctuation.brackets.square.ara\"},\"3\":{\"name\":\"punctuation.brackets.curly.ara\"},\"4\":{\"name\":\"keyword.operator.comparison.ara\"},\"5\":{\"name\":\"punctuation.brackets.round.ara\"},\"6\":{\"name\":\"punctuation.brackets.square.ara\"},\"7\":{\"name\":\"punctuation.brackets.curly.ara\"}},\"match\":\"(?:\\\\b|(?:(\\\\))|(])|(}Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"AsciiDoc\",\"fileTypes\":[\"ad\",\"asc\",\"adoc\",\"asciidoc\",\"adoc.txt\"],\"name\":\"asciidoc\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#callout-list-item\"},{\"include\":\"#titles\"},{\"include\":\"#attribute-entry\"},{\"include\":\"#blocks\"},{\"include\":\"#block-title\"},{\"include\":\"#tables\"},{\"include\":\"#horizontal-rule\"},{\"include\":\"#list\"},{\"include\":\"#inlines\"},{\"include\":\"#block-attribute\"},{\"include\":\"#line-break\"}],\"repository\":{\"admonition-paragraph\":{\"patterns\":[{\"begin\":\"(?=(?>^\\\\[(NOTE|TIP|IMPORTANT|WARNING|CAUTION)([#%,.][^]]+)*]$))\",\"end\":\"((?<=--|====)|^\\\\p{blank}*)$\",\"name\":\"markup.admonition.asciidoc\",\"patterns\":[{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"#block-attribute-inner\"}]}},\"match\":\"^\\\\[(NOTE|TIP|IMPORTANT|WARNING|CAUTION)([#%,.]([^],]+))*]$\"},{\"include\":\"#inlines\"},{\"include\":\"#block-title\"},{\"begin\":\"^(={4,})\\\\s*$\",\"end\":\"(?<=\\\\1)\",\"patterns\":[{\"include\":\"#inlines\"},{\"include\":\"#list\"}]},{\"begin\":\"^(-{2})\\\\s*$\",\"end\":\"(?<=\\\\1)\",\"patterns\":[{\"include\":\"#inlines\"},{\"include\":\"#list\"}]}]},{\"begin\":\"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\\\p{blank}+\",\"captures\":{\"1\":{\"name\":\"entity.name.function.asciidoc\"}},\"end\":\"^\\\\p{blank}*$\",\"name\":\"markup.admonition.asciidoc\",\"patterns\":[{\"include\":\"#inlines\"}]}]},\"anchor-macro\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.constant.asciidoc\"},\"2\":{\"name\":\"markup.blockid.asciidoc\"},\"3\":{\"name\":\"string.unquoted.asciidoc\"},\"4\":{\"name\":\"support.constant.asciidoc\"}},\"match\":\"(?<!\\\\\\\\)(\\\\[{2})([:_[:alpha:]][-.:[:word:]]*)(?:,\\\\p{blank}*(\\\\S.*?))?(]{2})\",\"name\":\"markup.other.anchor.asciidoc\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.asciidoc\"},\"2\":{\"name\":\"markup.blockid.asciidoc\"},\"3\":{\"name\":\"string.unquoted.asciidoc\"}},\"match\":\"(?<!\\\\\\\\)(anchor):(\\\\S+)\\\\[(.*?[^\\\\\\\\])?]\",\"name\":\"markup.other.anchor.asciidoc\"}]},\"attribute-entry\":{\"patterns\":[{\"begin\":\"^(:)(!?\\\\w.*?)(:)(\\\\p{blank}+.+\\\\p{blank}[+\\\\\\\\])$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.attribute-entry.asciidoc\"},\"2\":{\"name\":\"support.constant.attribute-name.asciidoc\"},\"3\":{\"name\":\"punctuation.separator.attribute-entry.asciidoc\"},\"4\":{\"name\":\"string.unquoted.attribute-value.asciidoc\",\"patterns\":[{\"include\":\"#inlines\"},{\"include\":\"#hard-break-backslash\"},{\"include\":\"#line-break\"},{\"include\":\"#line-break-backslash\"}]}},\"contentName\":\"string.unquoted.attribute-value.asciidoc\",\"end\":\"^(?:\\\\p{blank}+.+$(?<![+\\\\\\\\])|\\\\p{blank}*$)\",\"endCaptures\":{\"0\":{\"name\":\"string.unquoted.attribute-value.asciidoc\"}},\"name\":\"meta.definition.attribute-entry.asciidoc\",\"patterns\":[{\"include\":\"#inlines\"},{\"include\":\"#hard-break-backslash\"},{\"include\":\"#line-break\"},{\"include\":\"#line-break-backslash\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.asciidoc\"},\"2\":{\"name\":\"support.constant.attribute-name.asciidoc\"},\"3\":{\"name\":\"punctuation.separator.asciidoc\"},\"4\":{\"name\":\"string.unquoted.attribute-value.asciidoc\",\"patterns\":[{\"include\":\"#inlines\"},{\"include\":\"#line-break\"}]}},\"match\":\"^(:)(!?\\\\w.*?)(:)(\\\\p{blank}+(.*))?$\",\"name\":\"meta.definition.attribute-entry.asciidoc\"}]},\"attribute-reference\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"entity.name.function.asciidoc\"},\"3\":{\"name\":\"punctuation.separator.asciidoc\"},\"4\":{\"name\":\"support.constant.attribute-name.asciidoc\"},\"6\":{\"name\":\"punctuation.separator.asciidoc\"},\"7\":{\"name\":\"string.unquoted.attribute-value.asciidoc\"}},\"match\":\"(?<!\\\\\\\\)(\\\\{)(set|counter2?)(:)([-!_[:alnum:]]+)((:)(.*?))?(?<!\\\\\\\\)(})\",\"name\":\"markup.substitution.attribute-reference.asciidoc\"},{\"match\":\"(?<!\\\\\\\\)(\\\\{)(\\\\w+(?:-\\\\w+)*)(?<!\\\\\\\\)(})\",\"name\":\"markup.substitution.attribute-reference.asciidoc\"}]},\"bibliography-anchor\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.constant.asciidoc\"},\"2\":{\"name\":\"markup.biblioref.asciidoc\"},\"3\":{\"name\":\"support.constant.asciidoc\"}},\"match\":\"(?<!\\\\\\\\)(\\\\[{3})([:[:word:]][-.:[:word:]]*?)(]{3})\",\"name\":\"bibliography-anchor.asciidoc\"}]},\"bibtex-macro\":{\"patterns\":[{\"begin\":\"(?<!\\\\\\\\)(citenp:)([,a-z]*)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.asciidoc\"},\"2\":{\"name\":\"markup.meta.attribute-list.asciidoc\"}},\"contentName\":\"string.unquoted.asciidoc\",\"end\":\"]|^$\",\"name\":\"markup.macro.inline.bibtex.asciidoc\"}]},\"block-attribute\":{\"patterns\":[{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"#block-attribute-inner\"}]}},\"match\":\"^\\\\[(|\\\\p{blank}*[\\\"#%',.{[:word:]].*)]$\",\"name\":\"markup.heading.block-attribute.asciidLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Assembly\",\"fileTypes\":[\"asm\",\"nasm\",\"yasm\",\"inc\",\"s\"],\"name\":\"asm\",\"patterns\":[{\"include\":\"#registers\"},{\"include\":\"#mnemonics\"},{\"include\":\"#constants\"},{\"include\":\"#entities\"},{\"include\":\"#support\"},{\"include\":\"#comments\"},{\"include\":\"#preprocessor\"},{\"include\":\"#strings\"}],\"repository\":{\"comments\":{\"patterns\":[{\"match\":\"(;|(^|\\\\s)#\\\\s).*$\",\"name\":\"comment.line\"},{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block\"},{\"begin\":\"^\\\\s*[#%]\\\\s*if\\\\s+0\\\\b\",\"end\":\"^\\\\s*[#%]\\\\s*endif\\\\b\",\"name\":\"comment.preprocessor\"}]},\"constants\":{\"patterns\":[{\"match\":\"(?i)\\\\b0[by][01][01_]*\\\\.(?:(?:[01][01_]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?\",\"name\":\"constant.numeric.binary.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b0[by][01][01_]*p[-+]?[0-9][0-9_]*\\\\b\",\"name\":\"constant.numeric.binary.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b0[oq][0-7][0-7_]*\\\\.(?:(?:[0-7][0-7_]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?\",\"name\":\"constant.numeric.octal.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b0[oq][0-7][0-7_]*p[-+]?[0-9][0-9_]*\\\\b\",\"name\":\"constant.numeric.octal.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b(?:0[dt])?[0-9][0-9_]*\\\\.(?:(?:[0-9][0-9_]*)?(?:e[-+]?[0-9][0-9_]*)?\\\\b)?\",\"name\":\"constant.numeric.decimal.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b[0-9][0-9_]*e[-+]?[0-9][0-9_]*\\\\b\",\"name\":\"constant.numeric.decimal.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b[0-9][0-9_]*p(?:[0-9][0-9_]*)?\\\\b\",\"name\":\"constant.numeric.decimal.packed-bcd.asm.x86_64\"},{\"match\":\"(?i)\\\\b0[hx]\\\\h[_\\\\h]*\\\\.(?:(?:\\\\h[_\\\\h]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?\",\"name\":\"constant.numeric.hex.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b0[hx]\\\\h[_\\\\h]*p[-+]?[0-9][0-9_]*\\\\b\",\"name\":\"constant.numeric.hex.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\$[0-9]_?(?:\\\\h[_\\\\h]*)?\\\\.(?:(?:\\\\h[_\\\\h]*)?(?:p[-+]?[0-9][0-9_]*)?\\\\b)?\",\"name\":\"constant.numeric.hex.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\$[0-9]_?\\\\h[_\\\\h]*p[-+]?[0-9][0-9_]*\\\\b\",\"name\":\"constant.numeric.hex.floating-point.asm.x86_64\"},{\"match\":\"(?i)\\\\b(?:0[by][01][01_]*|[01][01_]*[by])\\\\b\",\"name\":\"constant.numeric.binary.asm.x86_64\"},{\"match\":\"(?i)\\\\b(?:0[oq][0-7][0-7_]*|[0-7][0-7_]*[oq])\\\\b\",\"name\":\"constant.numeric.octal.asm.x86_64\"},{\"match\":\"(?i)\\\\b(?:0[dt][0-9][0-9_]*|[0-9][0-9_]*[dt]?)\\\\b\",\"name\":\"constant.numeric.decimal.asm.x86_64\"},{\"match\":\"(?i)\\\\$[0-9]_?(?:\\\\h[_\\\\h]*)?\\\\b\",\"name\":\"constant.numeric.hex.asm.x86_64\"},{\"match\":\"(?i)\\\\b(?:0[hx]\\\\h[_\\\\h]*|\\\\h[_\\\\h]*[HXhx])\\\\b\",\"name\":\"constant.numeric.hex.asm.x86_64\"}]},\"entities\":{\"patterns\":[{\"match\":\"((se(?:ction|gment))\\\\s+)?\\\\.((ro)?data|bss|text)\",\"name\":\"entity.name.section\"},{\"match\":\"^\\\\.?(globa?l|extern|required)\\\\b\",\"name\":\"entity.directive\"},{\"match\":\"(\\\\$\\\\w+)\\\\b\",\"name\":\"text.variable\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64\"},\"2\":{\"name\":\"entity.name.function.special.asm.x86_64\"},\"3\":{\"name\":\"punctuation.separator.asm.x86_64\"}},\"match\":\"(\\\\.\\\\.@)([?_[:alpha:]][#$.?@_~[:alnum:]]*)(?:(:)?|\\\\b)\",\"name\":\"entity.name.function.asm.x86_64\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64\"},\"2\":{\"name\":\"entity.name.function.asm.x86_64\"},\"3\":{\"name\":\"punctuation.separator.asm.x86_64\"}},\"match\":\"(?:(\\\\.)?|\\\\b)([?_[:alpha:]][#$.?@_~[:alnum:]]*)(:)\",\"name\":\"entity.name.function.asm.x86_64\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64\"},\"2\":{\"name\":\"entity.name.function.asm.x86_64\"},\"3\":{\"name\":\"punctuation.separator.asm.x86_64\"}},\"match\":\"(\\\\.)([0-9]+[#$.?@_~[:alnum:]]*)(?:(:)?|\\\\b)\",\"name\":\"entity.name.function.asm.x86_64\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.asm.x86_64 storage.modifier.asm.x86_64\"},\"2\":{\"name\":\"invalid.illegal.entity.name.function.asm.x86_64\"},\"3\":{\"name\":\"punctuation.separator.asm.x86_64\"}},\"match\":\"(?:(\\\\.)?|\\\\b)([$0-9@~][#$.?@_~[:alnum:]]*)(:)\",\"name\":\"invalid.illegal.entity.name.function.asm.x86_64\"}]},\"mnemonics\":{\"patterns\":[{\"include\":\"#mnemonics-general-purpose\"},{\"include\":\"#mnemonics-fpu\"},{\"include\":\"#mnemonics-mmx\"},{\"include\":\"#mnemonics-sse\"},{\"include\":\"#mnemonics-sse2\"},{\"include\":\"#mnemonics-sse3\"},{\"include\":\"#mnemonics-sse4\"},{\"include\":\"#mnemonics-aesni\"},{\"include\":\"#mnemonics-avx\"},{\"include\":\"#mnemonics-avx2\"},{\"include\":\"#mnemonics-tsx\"},{\"include\":\"#mnemonics-sha\"},{\"include\":\"#mnemonics-avx512\"},{\"include\":\"#mnemonics-system\"},{\"include\":\"#mnemonicLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+18
View File
@@ -0,0 +1,18 @@
import json from './json.mjs'
import javascript from './javascript.mjs'
import typescript from './typescript.mjs'
import css from './css.mjs'
import postcss from './postcss.mjs'
import tsx from './tsx.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Astro\",\"fileTypes\":[\"astro\"],\"injections\":{\"L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.js\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.js\"}]}]},\"L:(meta.script.astro) (meta.lang.json) - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.json\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.json\"}]}]},\"L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.ts\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.ts\"}]}]},\"L:meta.script.astro - meta.lang - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.js\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.js\"}]}]},\"L:meta.style.astro - meta.lang - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.css\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.css\"}]}]},\"L:meta.style.astro meta.lang.css - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.css\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.css\"}]}]},\"L:meta.style.astro meta.lang.less - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.css.less\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.css.less\"}]}]},\"L:meta.style.astro meta.lang.postcss - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.css.postcss\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.css.postcss\"}]}]},\"L:meta.style.astro meta.lang.sass - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.sass\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.sass\"}]}]},\"L:meta.style.astro meta.lang.scss - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.css.scss\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.css.scss\"}]}]},\"L:meta.style.astro meta.lang.stylus - (meta source)\":{\"patterns\":[{\"begin\":\"(?<=>)(?!</)\",\"contentName\":\"source.stylus\",\"end\":\"(?=</)\",\"name\":\"meta.embedded.block.astro\",\"patterns\":[{\"include\":\"source.stylus\"}]}]}},\"name\":\"astro\",\"patterns\":[{\"include\":\"#scope\"},{\"include\":\"#frontmatter\"},{\"include\":\"#text\"}],\"repository\":{\"attribute-literal\":{\"begin\":\"(`)\",\"end\":\"\\\\1\",\"name\":\"string.template.astro\",\"patterns\":[{\"include\":\"source.tsx#template-substitution-element\"},{\"include\":\"source.tsx#string-character-escape\"}]},\"attributes\":{\"patterns\":[{\"include\":\"#attributes-events\"},{\"include\":\"#attributes-keyvalue\"},{\"include\":\"#attributes-interpolated\"}]},\"attributes-events\":{\"begin\":\"(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o((?:n|ff)line)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d((?:|meta)data)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![-:\\\\\\\\w])\",\"beginCaptures\":{\"0\":{\"patterns\":[{\"match\":\".*\",\"name\":\"entity.other.attribute-name.astro\"}]}},\"end\":\"(?=\\\\s*+[^=\\\\s])\",\"name\":\"meta.attribute.$1.astro\",\"patterns\":[{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.key-value.astro\"}},\"end\":\"(?<=[^=\\\\s])(?!\\\\s*=)|(?=/?>)\",\"patterns\":[{\"include\":\"#interpolation\"},{\"include\":\"#attribute-literal\"},{\"begin\":\"(?=[^/<=>`\\\\s]|/(?!>))\",\"end\":\"(?!\\\\G)\",\"name\":\"meta.embedded.line.js\",\"patterns\":[{\"captures\":{\"0\":{\"name\":\"source.js\"},\"1\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"match\":\"(([^\\\"'/<=>`\\\\s]|/(?!>))+)\",\"name\":\"string.unquoted.astro\"},{\"begin\":\"(\\\")\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.astro\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.astro\"}},\"name\":\"string.quoted.astro\",\"patterns\":[{\"captures\":{\"0\":{\"patterns\Line truncated
export default [
...json,
...javascript,
...typescript,
...css,
...postcss,
...tsx,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"AWK\",\"fileTypes\":[\"awk\"],\"name\":\"awk\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#procedure\"},{\"include\":\"#pattern\"}],\"repository\":{\"builtin-pattern\":{\"match\":\"\\\\b(BEGINFILE|BEGIN|ENDFILE|END)\\\\b\",\"name\":\"constant.language.awk\"},\"command\":{\"patterns\":[{\"match\":\"\\\\b(?:next|printf??)\\\\b\",\"name\":\"keyword.other.command.awk\"},{\"match\":\"\\\\b(?:close|getline|delete|system)\\\\b\",\"name\":\"keyword.other.command.nawk\"},{\"match\":\"\\\\b(?:fflush|nextfile)\\\\b\",\"name\":\"keyword.other.command.bell-awk\"}]},\"comment\":{\"match\":\"#.*\",\"name\":\"comment.line.number-sign.awk\"},\"constant\":{\"patterns\":[{\"include\":\"#numeric-constant\"},{\"include\":\"#string-constant\"}]},\"escaped-char\":{\"match\":\"\\\\\\\\(?:[\\\"/\\\\\\\\abfnrtv]|x\\\\h{2}|[0-7]{3})\",\"name\":\"constant.character.escape.awk\"},\"expression\":{\"patterns\":[{\"include\":\"#command\"},{\"include\":\"#function\"},{\"include\":\"#constant\"},{\"include\":\"#variable\"},{\"include\":\"#regexp-in-expression\"},{\"include\":\"#operator\"},{\"include\":\"#groupings\"}]},\"function\":{\"patterns\":[{\"match\":\"\\\\b(?:exp|int|log|sqrt|index|length|split|sprintf|substr)\\\\b\",\"name\":\"support.function.awk\"},{\"match\":\"\\\\b(?:atan2|cos|rand|sin|srand|gsub|match|sub|tolower|toupper)\\\\b\",\"name\":\"support.function.nawk\"},{\"match\":\"\\\\b(?:gensub|strftime|systime)\\\\b\",\"name\":\"support.function.gawk\"}]},\"function-definition\":{\"begin\":\"\\\\b(function)\\\\s+(\\\\w+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.awk\"},\"2\":{\"name\":\"entity.name.function.awk\"},\"3\":{\"name\":\"punctuation.definition.parameters.begin.awk\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.awk\"}},\"patterns\":[{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"variable.parameter.function.awk\"},{\"match\":\"\\\\b(,)\\\\b\",\"name\":\"punctuation.separator.parameters.awk\"}]},\"groupings\":{\"patterns\":[{\"match\":\"\\\\(\",\"name\":\"meta.brace.round.awk\"},{\"match\":\"\\\\)\",\"name\":\"meta.brace.round.awk\"},{\"match\":\",\",\"name\":\"punctuation.separator.parameters.awk\"}]},\"keyword\":{\"match\":\"\\\\b(?:break|continue|do|while|exit|for|if|else|return)\\\\b\",\"name\":\"keyword.control.awk\"},\"numeric-constant\":{\"match\":\"\\\\b[0-9]+(?:\\\\.[0-9]+)?(?:e[-+][0-9]+)?\\\\b\",\"name\":\"constant.numeric.awk\"},\"operator\":{\"patterns\":[{\"match\":\"(!?~|[!<=>]=|[<>])\",\"name\":\"keyword.operator.comparison.awk\"},{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.operator.comparison.awk\"},{\"match\":\"([-%*+/^]=|\\\\+\\\\+|--|>>|=)\",\"name\":\"keyword.operator.assignment.awk\"},{\"match\":\"(\\\\|\\\\||&&|!)\",\"name\":\"keyword.operator.boolean.awk\"},{\"match\":\"([-%*+/^])\",\"name\":\"keyword.operator.arithmetic.awk\"},{\"match\":\"([:?])\",\"name\":\"keyword.operator.trinary.awk\"},{\"match\":\"([]\\\\[])\",\"name\":\"keyword.operator.index.awk\"}]},\"pattern\":{\"patterns\":[{\"include\":\"#regexp-as-pattern\"},{\"include\":\"#function-definition\"},{\"include\":\"#builtin-pattern\"},{\"include\":\"#expression\"}]},\"procedure\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#procedure\"},{\"include\":\"#keyword\"},{\"include\":\"#expression\"}]},\"regex-as-assignment\":{\"begin\":\"([^-!%*+/<=>^]=)\\\\s*(/)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.assignment.awk\"},\"2\":{\"name\":\"punctuation.definition.regex.begin.awk\"}},\"contentName\":\"string.regexp\",\"end\":\"/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.regex.end.awk\"}},\"patterns\":[{\"include\":\"source.regexp\"}]},\"regex-as-comparison\":{\"begin\":\"(!?~)\\\\s*(/)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.comparison.awk\"},\"2\":{\"name\":\"punctuation.definition.regex.begin.awk\"}},\"contentName\":\"string.regexp\",\"end\":\"/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.regex.end.awk\"}},\"patterns\":[{\"include\":\"source.regexp\"}]},\"regex-as-first-argument\":{\"begin\":\"(\\\\()\\\\s*(/)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.brace.round.awk\"},\"2\":{\"name\":\"punctuation.definition.regex.begin.awk\"}},\"contentName\":\"string.regexp\",\"end\":\"/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.regex.end.awk\"}},\"patterns\":[{\"include\":\"source.regexp\"}]},\"regex-as-nth-argument\":{\"begin\":\"(,)\\\\s*(/)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.separator.parameters.awk\"},\"2\":{\"name\":\"punctuation.definition.regex.begin.awk\"}},\"contentName\":\"string.regexp\",\"end\":\"/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.regex.end.awk\"}},\"patterns\":[{\"include\":\"source.regexp\"}]},\"regexp-as-pattern\":{\"begin\":\"/\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.regex.begin.awk\"}},\"contentName\Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Ballerina\",\"fileTypes\":[\"bal\"],\"name\":\"ballerina\",\"patterns\":[{\"include\":\"#statements\"}],\"repository\":{\"access-modifier\":{\"patterns\":[{\"match\":\"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(p(?:ublic|rivate))(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))\",\"name\":\"storage.modifier.ballerina keyword.other.ballerina\"}]},\"annotationAttachment\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.decorator.ballerina\"},\"2\":{\"name\":\"support.type.ballerina\"},\"3\":{\"name\":\"punctuation.decorator.ballerina\"},\"4\":{\"name\":\"support.type.ballerina\"}},\"match\":\"(@)([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(:?)\\\\s*((?:[$_[:alpha:]][$_[:alnum:]]*)?)\"}]},\"annotationDefinition\":{\"patterns\":[{\"begin\":\"\\\\bannotation\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.ballerina\"}},\"end\":\";\",\"patterns\":[{\"include\":\"#code\"}]}]},\"array-literal\":{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.brace.square.ballerina\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.ballerina\"}},\"name\":\"meta.array.literal.ballerina\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"}]},\"booleans\":{\"patterns\":[{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.boolean.ballerina\"}]},\"butClause\":{\"patterns\":[{\"begin\":\"=>\",\"beginCaptures\":{\"0\":{\"name\":\"meta.arrow.ballerina storage.type.function.arrow.ballerina\"}},\"end\":\",|(?=})\",\"patterns\":[{\"include\":\"#code\"}]}]},\"butExp\":{\"patterns\":[{\"begin\":\"\\\\bbut\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.ballerina\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina.documentation\"}},\"patterns\":[{\"include\":\"#butExpBody\"},{\"include\":\"#comment\"}]}]},\"butExpBody\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina.documentation\"}},\"end\":\"(?=})\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina.documentation\"}},\"patterns\":[{\"include\":\"#parameter\"},{\"include\":\"#butClause\"},{\"include\":\"#comment\"}]}]},\"call\":{\"patterns\":[{\"match\":\"'?([$_[:alpha:]][$_[:alnum:]]*)\\\\s*(?=\\\\()\",\"name\":\"entity.name.function.ballerina\"}]},\"callableUnitBody\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina\"}},\"end\":\"(?=})\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina\"}},\"patterns\":[{\"include\":\"#workerDef\"},{\"include\":\"#service-decl\"},{\"include\":\"#objectDec\"},{\"include\":\"#function-defn\"},{\"include\":\"#forkStatement\"},{\"include\":\"#code\"}]}]},\"class-body\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.ballerina\"}},\"name\":\"meta.class.body.ballerina\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#mdDocumentation\"},{\"include\":\"#function-defn\"},{\"include\":\"#var-expr\"},{\"include\":\"#variable-initializer\"},{\"include\":\"#access-modifier\"},{\"include\":\"#keywords\"},{\"begin\":\"(?<=:)\\\\s*\",\"end\":\"(?=[-\\\\])+,:;}\\\\s]|^\\\\s*$|^\\\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\\\b)\"},{\"include\":\"#decl-block\"},{\"include\":\"#expression\"},{\"include\":\"#punctuation-comma\"},{\"include\":\"#punctuation-semicolon\"}]},\"class-defn\":{\"begin\":\"(\\\\s+)(class)\\\\b|^class\\\\b(?=\\\\s+|/[*/])\",\"beginCaptures\":{\"0\":{\"name\":\"storage.type.class.ballerina keyword.other.ballerina\"}},\"end\":\"(?<=})\",\"name\":\"meta.class.ballerina\",\"patterns\":[{\"include\":\"#keywords\"},{\"captures\":{\"0\":{\"name\":\"entity.name.type.class.ballerina\"}},\"match\":\"[$_[:alpha:]][$_[:alnum:]]*\"},{\"include\":\"#class-body\"}]},\"code\":{\"patterns\":[{\"include\":\"#booleans\"},{\"include\":\"#matchStatement\"},{\"include\":\"#butExp\"},{\"include\":\"#xml\"},{\"include\":\"#stringTemplate\"},{\"include\":\"#keywords\"},{\"include\":\"#strings\"},{\"include\":\"#comment\"},{\"include\":\"#mdDocumentation\"},{\"include\":\"#annotationAttachment\"},{\"include\":\"#numbers\"},{\"include\":\"#maps\"},{\"include\":\"#paranthesised\"},{\"include\":\"#paranthesisedBracket\"},{\"include\":\"#regex\"}]},\"comment\":{\"patterns\":[{\"match\":\"//.*\",\"name\":\"comment.ballerina\"}]},\"constrainType\":{\"patterns\":[{\"begin\":\"<\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.begin.ballerina\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.parameters.end.ballerina\"}},\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#constrainType\"},{\"match\":\"\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\bLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias bash for shellscript */
export { default } from './shellscript.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Batch File\",\"injections\":{\"L:meta.block.repeat.batchfile\":{\"patterns\":[{\"include\":\"#repeatParameter\"}]}},\"name\":\"bat\",\"patterns\":[{\"include\":\"#commands\"},{\"include\":\"#comments\"},{\"include\":\"#constants\"},{\"include\":\"#controls\"},{\"include\":\"#escaped_characters\"},{\"include\":\"#labels\"},{\"include\":\"#numbers\"},{\"include\":\"#operators\"},{\"include\":\"#parens\"},{\"include\":\"#strings\"},{\"include\":\"#variables\"}],\"repository\":{\"command_set\":{\"patterns\":[{\"begin\":\"(?<=^|[@\\\\s])(?i:SET)(?=$|\\\\s)\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.command.batchfile\"}},\"end\":\"(?=$\\\\n|[\\\\&)<>|])\",\"patterns\":[{\"include\":\"#command_set_inside\"}]}]},\"command_set_group\":{\"patterns\":[{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.batchfile\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.batchfile\"}},\"patterns\":[{\"include\":\"#command_set_inside_arithmetic\"}]}]},\"command_set_inside\":{\"patterns\":[{\"include\":\"#escaped_characters\"},{\"include\":\"#variables\"},{\"include\":\"#numbers\"},{\"include\":\"#parens\"},{\"include\":\"#command_set_strings\"},{\"include\":\"#strings\"},{\"begin\":\"([^ ][^=]*)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.readwrite.batchfile\"},\"2\":{\"name\":\"keyword.operator.assignment.batchfile\"}},\"end\":\"(?=$\\\\n|[\\\\&)<>|])\",\"patterns\":[{\"include\":\"#escaped_characters\"},{\"include\":\"#variables\"},{\"include\":\"#numbers\"},{\"include\":\"#parens\"},{\"include\":\"#strings\"}]},{\"begin\":\"\\\\s+/[Aa]\\\\s+\",\"end\":\"(?=$\\\\n|[\\\\&)<>|])\",\"name\":\"meta.expression.set.batchfile\",\"patterns\":[{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.batchfile\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.batchfile\"}},\"name\":\"string.quoted.double.batchfile\",\"patterns\":[{\"include\":\"#command_set_inside_arithmetic\"},{\"include\":\"#command_set_group\"},{\"include\":\"#variables\"}]},{\"include\":\"#command_set_inside_arithmetic\"},{\"include\":\"#command_set_group\"}]},{\"begin\":\"\\\\s+/[Pp]\\\\s+\",\"end\":\"(?=$\\\\n|[\\\\&)<>|])\",\"patterns\":[{\"include\":\"#command_set_strings\"},{\"begin\":\"([^ ][^=]*)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.readwrite.batchfile\"},\"2\":{\"name\":\"keyword.operator.assignment.batchfile\"}},\"end\":\"(?=$\\\\n|[\\\\&)<>|])\",\"name\":\"meta.prompt.set.batchfile\",\"patterns\":[{\"include\":\"#strings\"}]}]}]},\"command_set_inside_arithmetic\":{\"patterns\":[{\"include\":\"#command_set_operators\"},{\"include\":\"#numbers\"},{\"match\":\",\",\"name\":\"punctuation.separator.batchfile\"}]},\"command_set_operators\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.other.readwrite.batchfile\"},\"2\":{\"name\":\"keyword.operator.assignment.augmented.batchfile\"}},\"match\":\"([^ ]*)((?:[-*+/]|%%|[\\\\&^|]|<<|>>)=)\"},{\"match\":\"[-*+/]|%%|[\\\\&^|]|<<|>>|~\",\"name\":\"keyword.operator.arithmetic.batchfile\"},{\"match\":\"!\",\"name\":\"keyword.operator.logical.batchfile\"},{\"captures\":{\"1\":{\"name\":\"variable.other.readwrite.batchfile\"},\"2\":{\"name\":\"keyword.operator.assignment.batchfile\"}},\"match\":\"([^ =]*)(=)\"}]},\"command_set_strings\":{\"patterns\":[{\"begin\":\"(\\\")\\\\s*([^ ][^=]*)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.batchfile\"},\"2\":{\"name\":\"variable.other.readwrite.batchfile\"},\"3\":{\"name\":\"keyword.operator.assignment.batchfile\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.batchfile\"}},\"name\":\"string.quoted.double.batchfile\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#numbers\"},{\"include\":\"#escaped_characters\"}]}]},\"commands\":{\"patterns\":[{\"match\":\"(?<=^|[@\\\\s])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|managLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias batch for bat */
export { default } from './bat.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias be for berry */
export { default } from './berry.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Beancount\",\"fileTypes\":[\"beancount\"],\"name\":\"beancount\",\"patterns\":[{\"match\":\";.*\",\"name\":\"comment.line.beancount\"},{\"begin\":\"^\\\\s*(p(?:op|ush)tag)\\\\s+(#)([\\\\--9A-Z_a-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"keyword.operator.tag.beancount\"},\"3\":{\"name\":\"entity.name.tag.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.tag.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(include)\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.include.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(option)\\\\s+(\\\".*\\\")\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"support.variable.beancount\"},\"3\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.option.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(plugin)\\\\s*(\\\"(.*?)\\\")\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"},\"3\":{\"name\":\"entity.name.function.beancount\"},\"4\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"keyword.operator.directive.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(open|close|pad)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#commodity\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(custom)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#bool\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#date\"},{\"include\":\"#account\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(event)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(commodity)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(note|document)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Berry\",\"name\":\"berry\",\"patterns\":[{\"include\":\"#controls\"},{\"include\":\"#strings\"},{\"include\":\"#comment-block\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#function\"},{\"include\":\"#member\"},{\"include\":\"#identifier\"},{\"include\":\"#number\"},{\"include\":\"#operator\"}],\"repository\":{\"comment-block\":{\"begin\":\"#-\",\"end\":\"-#\",\"name\":\"comment.berry\",\"patterns\":[{}]},\"comments\":{\"begin\":\"#\",\"end\":\"\\\\n\",\"name\":\"comment.line.berry\",\"patterns\":[{}]},\"controls\":{\"patterns\":[{\"match\":\"\\\\b(if|elif|else|for|while|do|end|break|continue|return|try|except|raise)\\\\b\",\"name\":\"keyword.control.berry\"}]},\"function\":{\"patterns\":[{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*(?=\\\\s*\\\\())\",\"name\":\"entity.name.function.berry\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b[A-Z_a-z]\\\\w+\\\\b\",\"name\":\"identifier.berry\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(var|static|def|class|true|false|nil|self|super|import|as|_class)\\\\b\",\"name\":\"keyword.berry\"}]},\"member\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"entity.other.attribute-name.berry\"}},\"match\":\"\\\\.([A-Z_a-z][0-9A-Z_a-z]*)\"}]},\"number\":{\"patterns\":[{\"match\":\"0x\\\\h+|\\\\d+|(\\\\d+\\\\.?|\\\\.\\\\d)\\\\d*([Ee][-+]?\\\\d+)?\",\"name\":\"constant.numeric.berry\"}]},\"operator\":{\"patterns\":[{\"match\":\"[-\\\\]!%\\\\&(-+./:<=>\\\\[^|~]\",\"name\":\"keyword.operator.berry\"}]},\"strings\":{\"patterns\":[{\"begin\":\"f(?=[\\\"'])\",\"patterns\":[{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.other.berry\",\"patterns\":[{\"match\":\"(\\\\\\\\x\\\\h{2})|(\\\\\\\\[0-7]{3})|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)\",\"name\":\"constant.character.escape.berry\"},{\"match\":\"\\\\{\\\\{[^}]*}}\",\"name\":\"string.quoted.other.berry\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"keyword.other.unit.berry\",\"patterns\":[{\"include\":\"#keywords\"},{\"include\":\"#numbers\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#member\"},{\"include\":\"#function\"}]}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.other.berry\",\"patterns\":[{\"match\":\"(\\\\\\\\x\\\\h{2})|(\\\\\\\\[0-7]{3})|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)\",\"name\":\"constant.character.escape.berry\"},{\"match\":\"\\\\{\\\\{[^}]*}}\",\"name\":\"string.quoted.other.berry\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"keyword.other.unit.berry\",\"patterns\":[{\"include\":\"#keywords\"},{\"include\":\"#numbers\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#member\"},{\"include\":\"#function\"}]}]}],\"while\":\"\\\\G|^[\\\\t ]*(?=[\\\"'])\"},{\"begin\":\"([\\\"'])\",\"end\":\"\\\\1\",\"name\":\"string.quoted.double.berry\",\"patterns\":[{\"match\":\"(\\\\\\\\x\\\\h{2})|(\\\\\\\\[0-7]{3})|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)\",\"name\":\"constant.character.escape.berry\"}]}]}},\"scopeName\":\"source.berry\",\"aliases\":[\"be\"]}"))
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"BibTeX\",\"name\":\"bibtex\",\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.bibtex\"}},\"match\":\"@(?i:comment)(?=[({\\\\s])\",\"name\":\"comment.block.at-sign.bibtex\"},{\"include\":\"#preamble\"},{\"include\":\"#string\"},{\"include\":\"#entry\"},{\"begin\":\"[^\\\\n@]\",\"end\":\"(?=@)\",\"name\":\"comment.block.bibtex\"}],\"repository\":{\"entry\":{\"patterns\":[{\"begin\":\"((@)[-!$\\\\&*+./:;<>-z|~][!$\\\\&*+\\\\--<>-z|~]*)\\\\s*(\\\\{)\\\\s*([^,}\\\\s]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.entry-type.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.entry.begin.bibtex\"},\"4\":{\"name\":\"entity.name.type.entry-key.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.entry.end.bibtex\"}},\"name\":\"meta.entry.braces.bibtex\",\"patterns\":[{\"begin\":\"([-!$\\\\&*+./:;<>-z|~][!$\\\\&*+\\\\--<>-z|~]*)\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.key.bibtex\"},\"2\":{\"name\":\"punctuation.separator.key-value.bibtex\"}},\"end\":\"(?=[,}])\",\"name\":\"meta.key-assignment.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]},{\"begin\":\"((@)[-!$\\\\&*+./:;<>-z|~][!$\\\\&*+\\\\--<>-z|~]*)\\\\s*(\\\\()\\\\s*([^,\\\\s]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.entry-type.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.entry.begin.bibtex\"},\"4\":{\"name\":\"entity.name.type.entry-key.bibtex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.entry.end.bibtex\"}},\"name\":\"meta.entry.parenthesis.bibtex\",\"patterns\":[{\"begin\":\"([-!$\\\\&*+./:;<>-z|~][!$\\\\&*+\\\\--<>-z|~]*)\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.key.bibtex\"},\"2\":{\"name\":\"punctuation.separator.key-value.bibtex\"}},\"end\":\"(?=[),])\",\"name\":\"meta.key-assignment.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]}]},\"field_value\":{\"patterns\":[{\"include\":\"#string_content\"},{\"include\":\"#integer\"},{\"include\":\"#string_var\"},{\"match\":\"#\",\"name\":\"keyword.operator.bibtex\"}]},\"integer\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.bibtex\"}},\"match\":\"\\\\s*(\\\\d+)\\\\s*\"},\"nested_braces\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.begin.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.end.bibtex\"}},\"patterns\":[{\"include\":\"#nested_braces\"}]},\"preamble\":{\"patterns\":[{\"begin\":\"((@)(?i:preamble))\\\\s*(\\\\{)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.preamble.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.preamble.begin.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.preamble.end.bibtex\"}},\"name\":\"meta.preamble.braces.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]},{\"begin\":\"((@)(?i:preamble))\\\\s*(\\\\()\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.preamble.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.preamble.begin.bibtex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.preamble.end.bibtex\"}},\"name\":\"meta.preamble.parenthesis.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]},\"string\":{\"patterns\":[{\"begin\":\"((@)(?i:string))\\\\s*(\\\\{)\\\\s*([-!$\\\\&*+./:;<>-z|~][!$\\\\&*+\\\\--<>-z|~]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.string-constant.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.string-constant.begin.bibtex\"},\"4\":{\"name\":\"variable.other.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.string-constant.end.bibtex\"}},\"name\":\"meta.string-constant.braces.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]},{\"begin\":\"((@)(?i:string))\\\\s*(\\\\()\\\\s*([-!$\\\\&*+./:;<>-z|~][!$\\\\&*+\\\\--<>-z|~]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.string-constant.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.string-constant.begin.bibtex\"},\"4\":{\"name\":\"variable.other.bibtex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.string-constant.end.bibtex\"}},\"name\":\"meta.string-constant.parenthesis.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]},\"string_content\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.bibtex\"}},\"patterns\":[{\"include\":\"#nested_braces\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definitioLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Bicep\",\"fileTypes\":[\".bicep\",\".bicepparam\"],\"name\":\"bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}],\"repository\":{\"array-literal\":{\"begin\":\"\\\\[(?!(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\bfor\\\\b)\",\"end\":\"]\",\"name\":\"meta.array-literal.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"block-comment\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.bicep\"},\"comments\":{\"patterns\":[{\"include\":\"#line-comment\"},{\"include\":\"#block-comment\"}]},\"decorator\":{\"begin\":\"@(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*(?=\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b)\",\"end\":\"\",\"name\":\"meta.decorator.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"directive\":{\"begin\":\"#\\\\b[-0-9A-Z_a-z]+\\\\b\",\"end\":\"$\",\"name\":\"meta.directive.bicep\",\"patterns\":[{\"include\":\"#directive-variable\"},{\"include\":\"#comments\"}]},\"directive-variable\":{\"match\":\"\\\\b[-0-9A-Z_a-z]+\\\\b\",\"name\":\"keyword.control.declaration.bicep\"},\"escape-character\":{\"match\":\"\\\\\\\\(u\\\\{\\\\h+}|['\\\\\\\\nrt]|\\\\$\\\\{)\",\"name\":\"constant.character.escape.bicep\"},\"expression\":{\"patterns\":[{\"include\":\"#string-literal\"},{\"include\":\"#multiline-string\"},{\"include\":\"#multiline-string-1-interp\"},{\"include\":\"#multiline-string-2-interp\"},{\"include\":\"#numeric-literal\"},{\"include\":\"#named-literal\"},{\"include\":\"#object-literal\"},{\"include\":\"#array-literal\"},{\"include\":\"#keyword\"},{\"include\":\"#identifier\"},{\"include\":\"#function-call\"},{\"include\":\"#decorator\"},{\"include\":\"#lambda-start\"},{\"include\":\"#directive\"}]},\"function-call\":{\"begin\":\"\\\\b([$_[:alpha:]][$_[:alnum:]]*)\\\\b(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.bicep\"}},\"end\":\"\\\\)\",\"name\":\"meta.function-call.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"identifier\":{\"match\":\"\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b(?!(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\()\",\"name\":\"variable.other.readwrite.bicep\"},\"keyword\":{\"match\":\"\\\\b(metadata|targetScope|resource|module|param|var|output|for|in|if|existing|import|as|type|with|using|extends|func|assert|extension)\\\\b\",\"name\":\"keyword.control.declaration.bicep\"},\"lambda-start\":{\"begin\":\"(\\\\((?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*(,(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*)*\\\\)|\\\\((?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\)|(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[$_[:alpha:]][$_[:alnum:]]*\\\\b(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*)(?=(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*=>)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.undefined.bicep\",\"patterns\":[{\"include\":\"#identifier\"},{\"include\":\"#comments\"}]}},\"end\":\"(?:[\\\\t\\\\n\\\\r ]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*=>\",\"name\":\"meta.lambda-start.bicep\"},\"line-comment\":{\"match\":\"//.*(?=$)\",\"name\":\"comment.line.double-slash.bicep\"},\"multiline-1-string-subst\":{\"begin\":\"(\\\\$\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.bicep\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.end.bicep\"}},\"name\":\"meta.multiline-1-string-subst.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"multiline-2-string-subst\":{\"begin\":\"(\\\\$\\\\$\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.bicep\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.end.bicep\"}},\"name\":\"meta.multiline-2-string-subst.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"multiline-string\":{\"begin\":\"'''\",\"end\":\"'''(?!')\",\"name\":\"string.quoted.multi.bicep\",\"patterns\":[]},\"multiline-string-1-interp\":{\"begin\":\"(?<!\\\\$)\\\\$'''\",\"end\":\"'''(?!')\",\"name\":\"string.quoted.multi.bicep\",\"patterns\":[{\"include\":\"#multiline-1-string-subst\"}]},\"multiline-string-2-interp\":{\"begin\":\"\\\\$\\\\$'''\",\"end\":\"'''(?!')\",\"name\":\"string.quoted.multi.bicep\",\"patterns\":[{\"include\":\"#multiline-2-string-subst\"}]},\"named-literal\":{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.bicep\"},\"numeric-literal\":{\"match\":\"[0-9]+\",\"name\":\"constant.numeric.bicep\"},\"object-literal\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"nLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias bird for bird2 */
export { default } from './bird2.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"BIRD2 Configuration\",\"fileTypes\":[\"conf\",\"bird\",\"bird2\",\"bird3\",\"bird.conf\",\"bird2.conf\",\"bird3.conf\"],\"foldingStartMarker\":\"\\\\{\\\\s*$\",\"foldingStopMarker\":\"^\\\\s*}\",\"name\":\"bird2\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#strings\"},{\"include\":\"#numbers\"},{\"include\":\"#ip-addresses\"},{\"include\":\"#vpn-rd\"},{\"include\":\"#bytestrings\"},{\"include\":\"#bgp-paths\"},{\"include\":\"#prefixes\"},{\"include\":\"#template-definitions\"},{\"include\":\"#filter-definitions\"},{\"include\":\"#function-definitions\"},{\"include\":\"#protocol-definitions\"},{\"include\":\"#next-hop-statements\"},{\"include\":\"#neighbor-statements\"},{\"include\":\"#import-export-statements\"},{\"include\":\"#structural-keywords\"},{\"include\":\"#functional-keywords\"},{\"include\":\"#semantic-modifiers\"},{\"include\":\"#builtin-functions\"},{\"include\":\"#method-properties\"},{\"include\":\"#route-attributes\"},{\"include\":\"#data-types\"},{\"include\":\"#operators\"},{\"include\":\"#constants\"},{\"include\":\"#filter-names\"},{\"include\":\"#user-variables\"},{\"include\":\"#function-calls\"},{\"include\":\"#method-calls\"},{\"include\":\"#variable-declarations\"},{\"include\":\"#symbols\"},{\"include\":\"#blocks\"},{\"include\":\"#print-statements\"}],\"repository\":{\"bgp-paths\":{\"patterns\":[{\"begin\":\"\\\\[=\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.bgp-path.begin.bird\"}},\"end\":\"=]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.bgp-path.end.bird\"}},\"name\":\"meta.bgp-path.bird\",\"patterns\":[{\"match\":\"[*+?]\",\"name\":\"keyword.operator.wildcard.bird\"},{\"match\":\"\\\\b[0-9]+\\\\b\",\"name\":\"constant.numeric.asn.bird\"},{\"include\":\"#numbers\"}]}]},\"blocks\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.begin.bird\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.end.bird\"}},\"name\":\"meta.block.bird\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.set.begin.bird\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.set.end.bird\"}},\"name\":\"meta.set.bird\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tuple.begin.bird\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tuple.end.bird\"}},\"name\":\"meta.tuple.bird\",\"patterns\":[{\"include\":\"$self\"}]},{\"match\":\";\",\"name\":\"punctuation.terminator.statement.bird\"},{\"match\":\",\",\"name\":\"punctuation.separator.bird\"}]},\"builtin-functions\":{\"patterns\":[{\"match\":\"\\\\b(?:defined|unset|printn??|roa_check|aspa_check|aspa_check_downstream|aspa_check_upstream|from_hex|format|prepend|add|delete|filter|empty|reset|bt_assert|bt_test_suite|bt_test_same)\\\\b\",\"name\":\"support.function.builtin.bird\"}]},\"bytestrings\":{\"patterns\":[{\"match\":\"\\\\b(?:hex:)?(?:\\\\h{2}[-.:\\\\s]*){2,}\\\\h{2}\\\\b\",\"name\":\"constant.numeric.bytestring.bird\"},{\"match\":\"\\\\b\\\\h{32,}\\\\b\",\"name\":\"constant.numeric.bytestring.bird\"}]},\"comments\":{\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.bird\"}},\"end\":\"$\",\"name\":\"comment.line.number-sign.bird\"},{\"begin\":\"/\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.bird\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.bird\"}},\"name\":\"comment.block.bird\"}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b(?:on|off|yes|no|true|false)\\\\b\",\"name\":\"constant.language.boolean.bird\"},{\"match\":\"\\\\b(?:empty|unknown|generic|rt|ro|one|ten)\\\\b\",\"name\":\"constant.language.special.bird\"},{\"match\":\"\\\\bSCOPE_(?:HOST|LINK|SITE|ORGANIZATION|UNIVERSE)\\\\b\",\"name\":\"constant.language.scope.bird\"},{\"match\":\"\\\\bRTS_(?:STATIC|INHERIT|DEVICE|RIP|OSPF|OSPF_IA|OSPF_EXT1|OSPF_EXT2|BGP|PIPE|BABEL)\\\\b\",\"name\":\"constant.language.source.bird\"},{\"match\":\"\\\\bRTD_(?:ROUTER|DEVICE|MULTIPATH|BLACKHOLE|UNREACHABLE|PROHIBIT)\\\\b\",\"name\":\"constant.language.dest.bird\"},{\"match\":\"\\\\bROA_(?:UNKNOWN|INVALID|VALID)\\\\b\",\"name\":\"constant.language.roa.bird\"},{\"match\":\"\\\\bASPA_(?:UNKNOWN|INVALID|VALID)\\\\b\",\"name\":\"constant.language.aspa.bird\"},{\"match\":\"\\\\bNET_(?:IP4|IP6|IP6_SADR|VPN4|VPN6|ROA4|ROA6|FLOW4|FLOW6|MPLS)\\\\b\",\"name\":\"constant.language.net-type.bird\"},{\"match\":\"\\\\bMPLS_POLICY_(?:NONE|STATIC|PREFIX|AGGREGATE|VRF)\\\\b\",\"name\":\"constant.language.mpls.bird\"}]},\"data-types\":{\"patterns\":[{\"match\":\"\\\\b(?:int|bool|ip|prefix|rd|pair|quad|ec|lc|string|bytestring|bgpmask|bgppath|clist|eclist|lclist|set|enum|route)\\\\b\",\"name\":\"storage.type.bird\"}]},\"filter-Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+20
View File
@@ -0,0 +1,20 @@
import html_derivative from './html-derivative.mjs'
import html from './html.mjs'
import xml from './xml.mjs'
import sql from './sql.mjs'
import javascript from './javascript.mjs'
import json from './json.mjs'
import css from './css.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Blade\",\"fileTypes\":[\"blade.php\"],\"foldingStartMarker\":\"(/\\\\*|\\\\{\\\\s*$|<<<HTML)\",\"foldingStopMarker\":\"(\\\\*/|^\\\\s*}|^HTML;)\",\"injections\":{\"text.html.php.blade - (meta.embedded | meta.tag | comment.block.blade), L:(text.html.php.blade meta.tag - (comment.block.blade | meta.embedded.block.blade)), L:(source.js.embedded.html - (comment.block.blade | meta.embedded.block.blade))\":{\"patterns\":[{\"include\":\"#blade\"},{\"begin\":\"^(\\\\s*)(?=<\\\\?(?![^?]*\\\\?>))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.leading.php\"}},\"end\":\"(?!\\\\G)(\\\\s*$\\\\n)?\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.trailing.php\"}},\"patterns\":[{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]}]},{\"begin\":\"<\\\\?(?i:php|=)?(?![^?]*\\\\?>)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]},{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"}},\"name\":\"meta.embedded.line.php\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"source.php\"},\"2\":{\"name\":\"punctuation.section.embedded.end.php\"},\"3\":{\"name\":\"source.php\"}},\"match\":\"\\\\G(\\\\s*)((\\\\?))(?=>)\",\"name\":\"meta.special.empty-tag.php\"},{\"begin\":\"\\\\G\",\"contentName\":\"source.php\",\"end\":\"(\\\\?)(?=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"patterns\":[{\"include\":\"#language\"}]}]}]}},\"name\":\"blade\",\"patterns\":[{\"include\":\"text.html.derivative\"}],\"repository\":{\"balance_brackets\":{\"patterns\":[{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#balance_brackets\"}]},{\"match\":\"[^()]+\"}]},\"blade\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{--\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.blade\"}},\"end\":\"--}}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.blade\"}},\"name\":\"comment.block.blade\",\"patterns\":[{\"begin\":\"^(\\\\s*)(?=<\\\\?(?![^?]*\\\\?>))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.leading.php\"}},\"end\":\"(?!\\\\G)(\\\\s*$\\\\n)?\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.trailing.php\"}},\"name\":\"invalid.illegal.php-code-in-comment.blade\",\"patterns\":[{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]}]},{\"begin\":\"<\\\\?(?i:php|=)?(?![^?]*\\\\?>)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"invalid.illegal.php-code-in-comment.blade.meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]},{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"}},\"name\":\"invalid.illegal.php-code-in-comment.blade.meta.embedded.line.php\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"source.php\"},\"2\":{\"name\":\"punctuation.section.embedded.end.php\"},\"3\":{\"name\":\"source.php\"}},\"match\":\"\\\\G(\\\\s*)((\\\\?))(?=>)\",\"name\":\"meta.special.empty-tag.php\"},{\"begin\":\"\\\\G\",\"contentName\":\"source.php\",\"end\":\"(\\\\?)(?=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"patterns\":[{\"include\":\"#language\"}]}]}]},{\"begin\":\"(?<!@)\\\\{\\\\{\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"support.function.construct.begin.blade\"}},\"contentName\":\"source.php\",\"end\":\"}}}\",\"endCaptures\":{\"0\":{\"name\":\"support.function.construct.end.blade\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.function.echo.blade\",\"patterns\":[{\"include\":\"#language\"}]},{\"begin\":\"(?<![@{])\\\\{\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"suppoLine truncated
export default [
...html_derivative,
...html,
...xml,
...sql,
...javascript,
...json,
...css,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+8
View File
@@ -0,0 +1,8 @@
import sdbl from './sdbl.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"1C (Enterprise)\",\"fileTypes\":[\"bsl\",\"os\"],\"name\":\"bsl\",\"patterns\":[{\"include\":\"#basic\"},{\"include\":\"#miscellaneous\"},{\"begin\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Процедура|Procedure|Функция|Function)\\\\s+([0-9_a-zа-яё]+)\\\\s*(\\\\())\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.bsl\"},\"2\":{\"name\":\"entity.name.function.bsl\"},\"3\":{\"name\":\"punctuation.bracket.begin.bsl\"}},\"end\":\"(?i:(\\\\))\\\\s*((Экспорт|Export)(?=[^.а-яё\\\\w]|$))?)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.bracket.end.bsl\"},\"2\":{\"name\":\"storage.modifier.bsl\"}},\"patterns\":[{\"include\":\"#annotations\"},{\"include\":\"#basic\"},{\"match\":\"(=)\",\"name\":\"keyword.operator.assignment.bsl\"},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Знач|Val)(?=[^.а-яё\\\\w]|$))\",\"name\":\"storage.modifier.bsl\"},{\"match\":\"(?<=[^.а-яё\\\\w]|^)((?<==)(?i)[0-9_a-zа-яё]+)(?=[^.а-яё\\\\w]|$)\",\"name\":\"invalid.illegal.bsl\"},{\"match\":\"(?<=[^.а-яё\\\\w]|^)((?<==\\\\s)\\\\s*(?i)[0-9_a-zа-яё]+)(?=[^.а-яё\\\\w]|$)\",\"name\":\"invalid.illegal.bsl\"},{\"match\":\"(?i:[0-9_a-zа-яё]+)\",\"name\":\"variable.parameter.bsl\"}]},{\"begin\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Перем|Var)\\\\s+([0-9_a-zа-яё]+)\\\\s*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.var.bsl\"},\"2\":{\"name\":\"variable.bsl\"}},\"end\":\"(;)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.operator.bsl\"}},\"patterns\":[{\"match\":\"(,)\",\"name\":\"keyword.operator.bsl\"},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Экспорт|Export)(?=[^.а-яё\\\\w]|$))\",\"name\":\"storage.modifier.bsl\"},{\"match\":\"(?i:[0-9_a-zа-яё]+)\",\"name\":\"variable.bsl\"}]},{\"begin\":\"(?i:(?<=;|^)\\\\s*(Если|If))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.bsl\"}},\"end\":\"(?i:(Тогда|Then))\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.bsl\"}},\"name\":\"meta.conditional.bsl\",\"patterns\":[{\"include\":\"#basic\"},{\"include\":\"#miscellaneous\"}]},{\"begin\":\"(?i:(?<=;|^)\\\\s*([а-яё\\\\w]+))\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.assignment.bsl\"},\"2\":{\"name\":\"keyword.operator.assignment.bsl\"}},\"end\":\"(?i:(?=(;|Иначе|Конец|Els|End)))\",\"name\":\"meta.var-single-variable.bsl\",\"patterns\":[{\"include\":\"#basic\"},{\"include\":\"#miscellaneous\"}]},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(КонецПроцедуры|EndProcedure|КонецФункции|EndFunction)(?=[^.а-яё\\\\w]|$))\",\"name\":\"storage.type.bsl\"},{\"match\":\"(?i)#(Использовать|Use)(?=[^.а-яё\\\\w]|$)\",\"name\":\"keyword.control.import.bsl\"},{\"match\":\"(?i)#native\",\"name\":\"keyword.control.native.bsl\"},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Прервать|Break|Продолжить|Continue|Возврат|Return)(?=[^.а-яё\\\\w]|$))\",\"name\":\"keyword.control.bsl\"},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Если|If|Иначе|Else|ИначеЕсли|ElsIf|Тогда|Then|КонецЕсли|EndIf)(?=[^.а-яё\\\\w]|$))\",\"name\":\"keyword.control.conditional.bsl\"},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Попытка|Try|Исключение|Except|КонецПопытки|EndTry|ВызватьИсключение|Raise)(?=[^.а-яё\\\\w]|$))\",\"name\":\"keyword.control.exception.bsl\"},{\"match\":\"(?i:(?<=[^.а-яё\\\\w]|^)(Пока|While|(Для|For)(\\\\s+(Каждого|Each))?|Из|In|По|To|Цикл|Do|КонецЦикла|EndDo)(?=[^.а-яё\\\\w]|$))\",\"name\":\"keyword.control.repeat.bsl\"},{\"match\":\"(?i:&(НаКлиенте((НаСервере(БезКонтекста)?)?)|AtClient((AtServer(NoContext)?)?)|НаСервере(БезКонтекста)?|AtServer(NoContext)?))\",\"name\":\"storage.modifier.directive.bsl\"},{\"include\":\"#annotations\"},{\"match\":\"(?i:#(Если|If|ИначеЕсли|ElsIf|Иначе|Else|КонецЕсли|EndIf).*(Тогда|Then)?)\",\"name\":\"keyword.other.preprocessor.bsl\"},{\"begin\":\"(?i)(#(Область|Region))(\\\\s+([а-яё\\\\w]+))?\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.section.bsl\"},\"4\":{\"name\":\"entity.name.section.bsl\"}},\"end\":\"$\"},{\"match\":\"(?i)#(КонецОбласти|EndRegion)\",\"name\":\"keyword.other.section.bsl\"},{\"match\":\"(?i)#(Удаление|Delete)\",\"name\":\"keyword.other.section.bsl\"},{\"match\":\"(?i)#(КонецУдаления|EndDelete)\",\"name\":\"keyword.other.section.bsl\"},{\"match\":\"(?i)#(Вставка|Insert)\",\"name\":\"keyword.other.section.bsl\"},{\"match\":\"(?i)#(КонецВставки|EndInsert)\",\"name\":\"keyword.other.section.bsl\"}],\"repository\":{\"annotations\":{\"patterns\":[{\"begin\":\"(?i)(&([0-9_a-zа-яё]+))\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.annotation.bsl\"},\"3\":{\"name\":\"punctuation.bracket.begin.bsl\"}},\"end\":\"(\\\\))Line truncated
export default [
...sdbl,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"C\",\"name\":\"c\",\"patterns\":[{\"include\":\"#preprocessor-rule-enabled\"},{\"include\":\"#preprocessor-rule-disabled\"},{\"include\":\"#preprocessor-rule-conditional\"},{\"include\":\"#predefined_macros\"},{\"include\":\"#comments\"},{\"include\":\"#switch_statement\"},{\"include\":\"#anon_pattern_1\"},{\"include\":\"#storage_types\"},{\"include\":\"#anon_pattern_2\"},{\"include\":\"#anon_pattern_3\"},{\"include\":\"#anon_pattern_4\"},{\"include\":\"#anon_pattern_5\"},{\"include\":\"#anon_pattern_6\"},{\"include\":\"#anon_pattern_7\"},{\"include\":\"#operators\"},{\"include\":\"#numbers\"},{\"include\":\"#strings\"},{\"include\":\"#anon_pattern_range_1\"},{\"include\":\"#anon_pattern_range_2\"},{\"include\":\"#anon_pattern_range_3\"},{\"include\":\"#pragma-mark\"},{\"include\":\"#anon_pattern_range_4\"},{\"include\":\"#anon_pattern_range_5\"},{\"include\":\"#anon_pattern_range_6\"},{\"include\":\"#anon_pattern_8\"},{\"include\":\"#anon_pattern_9\"},{\"include\":\"#anon_pattern_10\"},{\"include\":\"#anon_pattern_11\"},{\"include\":\"#anon_pattern_12\"},{\"include\":\"#anon_pattern_13\"},{\"include\":\"#block\"},{\"include\":\"#parens\"},{\"include\":\"#anon_pattern_range_7\"},{\"include\":\"#line_continuation_character\"},{\"include\":\"#anon_pattern_range_8\"},{\"include\":\"#anon_pattern_range_9\"},{\"include\":\"#anon_pattern_14\"},{\"include\":\"#anon_pattern_15\"}],\"repository\":{\"access-method\":{\"begin\":\"([A-Z_a-z][0-9A-Z_a-z]*|(?<=[])]))\\\\s*(?:(\\\\.)|(->))((?:[A-Z_a-z][0-9A-Z_a-z]*\\\\s*(?:\\\\.|->))*)\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"variable.object.c\"},\"2\":{\"name\":\"punctuation.separator.dot-access.c\"},\"3\":{\"name\":\"punctuation.separator.pointer-access.c\"},\"4\":{\"patterns\":[{\"match\":\"\\\\.\",\"name\":\"punctuation.separator.dot-access.c\"},{\"match\":\"->\",\"name\":\"punctuation.separator.pointer-access.c\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.object.c\"},{\"match\":\".+\",\"name\":\"everything.else.c\"}]},\"5\":{\"name\":\"entity.name.function.member.c\"},\"6\":{\"name\":\"punctuation.section.arguments.begin.bracket.round.function.member.c\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.arguments.end.bracket.round.function.member.c\"}},\"name\":\"meta.function-call.member.c\",\"patterns\":[{\"include\":\"#function-call-innards\"}]},\"anon_pattern_1\":{\"match\":\"\\\\b(break|continue|do|else|for|goto|if|_Pragma|return|while)\\\\b\",\"name\":\"keyword.control.c\"},\"anon_pattern_10\":{\"match\":\"\\\\b((?:int8|int16|int32|int64|uint8|uint16|uint32|uint64|int_least8|int_least16|int_least32|int_least64|uint_least8|uint_least16|uint_least32|uint_least64|int_fast8|int_fast16|int_fast32|int_fast64|uint_fast8|uint_fast16|uint_fast32|uint_fast64|intptr|uintptr|intmax|uintmax)_t)\\\\b\",\"name\":\"support.type.stdint.c\"},\"anon_pattern_11\":{\"match\":\"\\\\b(noErr|kNilOptions|kInvalidID|kVariableLengthArray)\\\\b\",\"name\":\"support.constant.mac-classic.c\"},\"anon_pattern_12\":{\"match\":\"\\\\b(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\\\\b\",\"name\":\"support.type.mac-classic.c\"},\"anon_pattern_13\":{\"match\":\"\\\\b([0-9A-Z_a-z]+_t)\\\\b\",\"name\":\"support.type.posix-reserved.c\"},\"anon_pattern_14\":{\"match\":\";\",\"name\":\"punctuation.terminator.statement.c\"},\"anon_pattern_15\":{\"match\":\",\",\"name\":\"punctuation.separator.delimiter.c\"},\"anon_pattern_2\":{\"match\":\"typedef\",\"name\":\"keyword.other.typedef.c\"},\"anon_pattern_3\":{\"match\":\"\\\\b(const|extern|register|restrict|static|volatile|inline)\\\\b\",\"name\":\"storage.modifier.c\"},\"anon_pattern_4\":{\"match\":\"\\\\bk[A-Z]\\\\w*\\\\b\",\"name\":\"constant.other.variable.mac-classic.c\"},\"anon_pattern_5\":{\"match\":\"\\\\bg[A-Z]\\\\w*\\\\b\",\"name\":\"variable.other.readwrite.global.mac-classic.c\"},\"anon_pattern_6\":{\"match\":\"\\\\bs[A-Z]\\\\w*\\\\b\",\"name\":\"variable.other.readwrite.static.mac-classic.c\"},\"anon_pattern_7\":{\"match\":\"\\\\b(NULL|true|false|TRUE|FALSE)\\\\b\",\"name\":\"constant.language.c\"},\"anon_pattern_8\":{\"match\":\"\\\\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|div_tLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"C3\",\"fileTypes\":[\"c3\",\"c3i\",\"c3t\"],\"name\":\"c3\",\"patterns\":[{\"include\":\"#top_level\"},{\"include\":\"#statements\"}],\"repository\":{\"assign_right_expression\":{\"begin\":\"=\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.c3\"}},\"end\":\"(?=;)\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#expression\"}]},\"attribute\":{\"patterns\":[{\"begin\":\"@(?:(?:align|allow_deprecated|benchmark|bigendian|builtin|callconv|cname|compact|const|deprecated|dynamic|export|extern|finalizer|format|if|inline|init|jump|link|littleendian|local|maydiscard|naked|noalias|nodiscard|noinit|noinline|nopadding|norecurse|noreturn|nosanitize|nostrip|obfuscate|operator|operator_r|operator_s|optional|overlap|packed|private|public|pure|reflect|safeinfer|safemacro|simd|section|structlike|tag|test|unused|used|wasm|weak|winmain)|\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.annotation.c3\"}},\"end\":\"(?=[^\\\\t (])|(?<=\\\\))\",\"name\":\"meta.annotation.c3\",\"patterns\":[{\"include\":\"#parens\"}]}]},\"block\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.block.begin.c3\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.c3\"}},\"name\":\"meta.block.c3\",\"patterns\":[{\"include\":\"#statements\"}]}]},\"block_comment\":{\"begin\":\"/\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.c3\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.c3\"}},\"name\":\"comment.block.c3\",\"patterns\":[{\"include\":\"#block_comment_body\"}]},\"block_comment_body\":{\"patterns\":[{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"patterns\":[{\"include\":\"#block_comment_body\"}]}]},\"brackets\":{\"patterns\":[{\"begin\":\"\\\\[<?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.begin.c3\"}},\"end\":\">?]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.end.c3\"}},\"name\":\"meta.brackets.c3\",\"patterns\":[{\"include\":\"#expression\"}]}]},\"builtin\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.language.c3\"},\"2\":{\"name\":\"entity.name.function.builtin.c3\"}},\"match\":\"(?:(\\\\$\\\\$\\\\b_*[A-Z][0-9A-Z_]*)|(\\\\$\\\\$\\\\b_*[a-z][0-9A-Z_a-z]*))\\\\b\"}]},\"bytes_literal\":{\"patterns\":[{\"begin\":\"(x)([\\\"'`])\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.c3\"},\"2\":{\"name\":\"punctuation.definition.string.begin.c3\"}},\"end\":\"\\\\2\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.c3\"}},\"name\":\"string.quoted.other.c3\",\"patterns\":[{\"match\":\"[f\\\\s\\\\h]+\",\"name\":\"constant.numeric.integer.c3\"}]},{\"begin\":\"(b64)([\\\"'`])\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.c3\"},\"2\":{\"name\":\"punctuation.definition.string.begin.c3\"}},\"end\":\"\\\\2\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.c3\"}},\"name\":\"string.quoted.other.c3\",\"patterns\":[{\"match\":\"[+/-9=A-Za-z\\\\s]+\",\"name\":\"constant.numeric.integer.c3\"}]}]},\"char_literal\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.c3\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.c3\"}},\"name\":\"string.quoted.single.c3\",\"patterns\":[{\"include\":\"#escape_sequence\"}]},\"comments\":{\"patterns\":[{\"include\":\"#line_comment\"},{\"include\":\"#block_comment\"},{\"include\":\"#doc_comment\"}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.c3\"},{\"begin\":\"\\\\b_*[A-Z][0-9A-Z_]*\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"variable.other.constant.c3\"}},\"end\":\"(?=[^\\\\t {])|(?<=})\",\"patterns\":[{\"include\":\"#generic_args\"}]}]},\"control_statements\":{\"patterns\":[{\"begin\":\"\\\\$for\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.ct.c3\"}},\"end\":\":\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.separator.c3\"}},\"patterns\":[{\"include\":\"#statements\"}]},{\"begin\":\"\\\\$foreach\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.ct.c3\"}},\"end\":\"(?<=:)\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\$\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b\",\"name\":\"variable.other.c3\"},{\"match\":\",\",\"name\":\"punctuation.separator.c3\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.c3\"}},\"end\":\":\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.separator.c3\"}},\"patterns\":[{\"include\":\"#expression\"}]}]},{\"begin\":\"\\\\bfor\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.c3\"}},\"end\":\"(?<=\\\\))\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.group.begin.c3\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.group.end.c3\"}},\"patterns\":[{Line truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Cadence\",\"name\":\"cadence\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#declarations\"},{\"include\":\"#keywords\"},{\"include\":\"#code-block\"},{\"include\":\"#expressions\"},{\"include\":\"#composite\"},{\"include\":\"#event\"}],\"repository\":{\"code-block\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.cadence\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.cadence\"}},\"patterns\":[{\"include\":\"$self\"}]},\"comments\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.cadence\"}},\"match\":\"\\\\A^(#!).*$\\\\n?\",\"name\":\"comment.line.number-sign.cadence\"},{\"begin\":\"/\\\\*\\\\*(?!/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.cadence\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.cadence\"}},\"name\":\"comment.block.documentation.cadence\",\"patterns\":[{\"include\":\"#nested\"}]},{\"begin\":\"/\\\\*:\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.cadence\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.cadence\"}},\"name\":\"comment.block.documentation.playground.cadence\",\"patterns\":[{\"include\":\"#nested\"}]},{\"begin\":\"/\\\\*\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.cadence\"}},\"end\":\"\\\\*/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.cadence\"}},\"name\":\"comment.block.cadence\",\"patterns\":[{\"include\":\"#nested\"}]},{\"match\":\"\\\\*/\",\"name\":\"invalid.illegal.unexpected-end-of-block-comment.cadence\"},{\"begin\":\"(^[\\\\t ]+)?(?=//)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.cadence\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"///\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.cadence\"}},\"end\":\"$\",\"name\":\"comment.line.triple-slash.documentation.cadence\"},{\"begin\":\"//:\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.cadence\"}},\"end\":\"$\",\"name\":\"comment.line.double-slash.documentation.cadence\"},{\"begin\":\"//\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.cadence\"}},\"end\":\"$\",\"name\":\"comment.line.double-slash.cadence\"}]}],\"repository\":{\"nested\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"patterns\":[{\"include\":\"#nested\"}]}}},\"composite\":{\"begin\":\"\\\\b((?:struct|resource|contract|attachment)(?:\\\\s+interface)?|enum)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.$1.cadence\"},\"2\":{\"name\":\"entity.name.type.$1.cadence\"}},\"end\":\"(?<=})|(?=\\\\s*\\\\Z)\",\"name\":\"meta.definition.type.composite.cadence\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#conformance-clause\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.type.begin.cadence\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.type.end.cadence\"}},\"name\":\"meta.definition.type.body.cadence\",\"patterns\":[{\"include\":\"$self\"}]}]},\"conformance-clause\":{\"begin\":\"(:)(?=\\\\s*\\\\{)|(:)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"invalid.illegal.empty-conformance-clause.cadence\"},\"2\":{\"name\":\"punctuation.separator.conformance-clause.cadence\"}},\"end\":\"(?!\\\\G)$|(?=[={}])\",\"name\":\"meta.conformance-clause.cadence\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?!\\\\G)$|(?=[={}])\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#type\"}]}]},\"declarations\":{\"patterns\":[{\"include\":\"#var-let-declaration\"},{\"include\":\"#function\"},{\"include\":\"#initializer\"},{\"include\":\"#prepare-execute\"},{\"include\":\"#execute-phase\"},{\"include\":\"#pre-post\"},{\"include\":\"#transaction\"}]},\"event\":{\"begin\":\"\\\\b(event)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.event.cadence\"},\"2\":{\"name\":\"entity.name.type.event.cadence\"}},\"end\":\"(?<=\\\\))\",\"name\":\"meta.definition.type.event.cadence\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#parameter-clause\"}]},\"execute-phase\":{\"begin\":\"(?<!\\\\.)\\\\b(execute)\\\\b\\\\s*(?=\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.phase.cadence\"}},\"end\":\"(?<=})\",\"name\":\"meta.definition.transaction.phase.cadence\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.phase.begin.cadence\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.phase.end.cadence\"}},\"patterns\":[{\"include\":\"$self\"}]}]},\"expression-element-list\":{\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"variabLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+8
View File
@@ -0,0 +1,8 @@
import python from './python.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Cairo\",\"name\":\"cairo\",\"patterns\":[{\"begin\":\"\\\\b(if).*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.if\"},\"2\":{\"name\":\"entity.name.condition\"}},\"contentName\":\"source.cairo0\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"keyword.control.end\"}},\"name\":\"meta.control.if\",\"patterns\":[{\"include\":\"source.cairo0\"}]},{\"begin\":\"\\\\b(with)\\\\s+(.+)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.with\"},\"2\":{\"name\":\"entity.name.identifiers\"}},\"contentName\":\"source.cairo0\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"keyword.control.end\"}},\"name\":\"meta.control.with\",\"patterns\":[{\"include\":\"source.cairo0\"}]},{\"begin\":\"\\\\b(with_attr)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*[({]\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.with_attr\"},\"2\":{\"name\":\"entity.name.function\"}},\"contentName\":\"source.cairo0\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"keyword.control.end\"}},\"name\":\"meta.control.with_attr\",\"patterns\":[{\"include\":\"source.cairo0\"}]},{\"match\":\"\\\\belse\\\\b\",\"name\":\"keyword.control.else\"},{\"match\":\"\\\\b(call|jmp|ret|abs|rel|if)\\\\b\",\"name\":\"keyword.other.opcode\"},{\"match\":\"\\\\b([af]p)\\\\b\",\"name\":\"keyword.other.register\"},{\"match\":\"\\\\b(const|let|local|tempvar|felt|as|from|import|static_assert|return|assert|cast|alloc_locals|with|with_attr|nondet|dw|codeoffset|new|using|and)\\\\b\",\"name\":\"keyword.other.meta\"},{\"match\":\"\\\\b(SIZE(?:OF_LOCALS|))\\\\b\",\"name\":\"markup.italic\"},{\"match\":\"//[^\\\\n]*\\\\n\",\"name\":\"comment.line.sharp\"},{\"match\":\"\\\\b[A-Z_a-z][0-9A-Z_a-z]*:\\\\s*$\",\"name\":\"entity.name.function\"},{\"begin\":\"\\\\b(func)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*[({]\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.cairo\"},\"2\":{\"name\":\"entity.name.function\"}},\"contentName\":\"source.cairo0\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"storage.type.function.cairo\"}},\"name\":\"meta.function.cairo\",\"patterns\":[{\"include\":\"source.cairo0\"}]},{\"begin\":\"\\\\b(struct|namespace)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.cairo\"},\"2\":{\"name\":\"entity.name.function\"}},\"contentName\":\"source.cairo0\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"storage.type.function.cairo\"}},\"name\":\"meta.function.cairo\",\"patterns\":[{\"include\":\"source.cairo0\"}]},{\"match\":\"\\\\b[-+]?[0-9]+\\\\b\",\"name\":\"constant.numeric.decimal\"},{\"match\":\"\\\\b[-+]?0x\\\\h+\\\\b\",\"name\":\"constant.numeric.hexadecimal\"},{\"match\":\"'[^']*'\",\"name\":\"string.quoted.single\"},{\"match\":\"\\\"[^\\\"]*\\\"\",\"name\":\"string.quoted.double\"},{\"begin\":\"%\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.python\"}},\"contentName\":\"source.python\",\"end\":\"%}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.python\"},\"1\":{\"name\":\"source.python\"}},\"name\":\"meta.embedded.block.python\",\"patterns\":[{\"include\":\"source.python\"}]}],\"scopeName\":\"source.cairo0\",\"embeddedLangs\":[\"python\"]}"))
export default [
...python,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias cdc for cadence */
export { default } from './cadence.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias cjs for javascript */
export { default } from './javascript.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Clarity\",\"name\":\"clarity\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#define-constant\"},{\"include\":\"#define-data-var\"},{\"include\":\"#define-map\"},{\"include\":\"#define-function\"},{\"include\":\"#define-fungible-token\"},{\"include\":\"#define-non-fungible-token\"},{\"include\":\"#define-trait\"},{\"include\":\"#use-trait\"}],\"repository\":{\"built-in-func\":{\"begin\":\"(\\\\()\\\\s*([-+]|<=|>=|[*/<>]|and|append|as-contract\\\\???|as-max-len\\\\?|asserts!|at-block|begin|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|buff-to-int-be|buff-to-int-le|buff-to-uint-be|buff-to-uint-le|concat|contract-call\\\\?|contract-of|default-to|element-at\\\\???|filter|fold|from-consensus-buff\\\\?|ft-burn\\\\?|ft-get-balance|ft-get-supply|ft-mint\\\\?|ft-transfer\\\\?|get-block-info\\\\?|get-burn-block-info\\\\?|get-stacks-block-info\\\\?|get-tenure-info\\\\?|hash160|if|impl-trait|index-of\\\\???|int-to-ascii|int-to-utf8|is-eq|is-err|is-none|is-ok|is-some|is-standard|keccak256|len|log2|map|match|merge|mod|nft-burn\\\\?|nft-get-owner\\\\?|nft-mint\\\\?|nft-transfer\\\\?|not|or|pow|principal-construct\\\\?|principal-destruct\\\\?|principal-of\\\\?|print|replace-at\\\\?|secp256k1-recover\\\\?|secp256k1-verify|sha256|sha512|sha512/256|slice\\\\?|sqrti|string-to-int\\\\?|string-to-uint\\\\?|to-ascii\\\\?|stx-account|stx-burn\\\\?|stx-get-balance|stx-transfer-memo\\\\?|stx-transfer\\\\?|to-consensus-buff\\\\?|to-int|to-uint|try!|unwrap!|unwrap-err!|unwrap-err-panic|unwrap-panic|xor|contract-hash\\\\?|restrict-assets\\\\?|with-stx|with-ft|with-nft|with-stacking|with-all-assets-unsafe|secp256r1-recover\\\\?|secp256r1-verify)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.built-in-function.start.clarity\"},\"2\":{\"name\":\"keyword.declaration.built-in-function.clarity\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.built-in-function.end.clarity\"}},\"name\":\"meta.built-in-function\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#user-func\"}]},\"comment\":{\"match\":\"(?<=^|[]\\\"'(),;\\\\[`{}\\\\s])(;).*$\",\"name\":\"comment.line.semicolon.clarity\"},\"data-type\":{\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\b(u?int)\\\\b\",\"name\":\"entity.name.type.numeric.clarity\"},{\"match\":\"\\\\b(principal)\\\\b\",\"name\":\"entity.name.type.principal.clarity\"},{\"match\":\"\\\\b(bool)\\\\b\",\"name\":\"entity.name.type.bool.clarity\"},{\"captures\":{\"1\":{\"name\":\"punctuation.string_type-def.start.clarity\"},\"2\":{\"name\":\"entity.name.type.string_type.clarity\"},\"3\":{\"name\":\"constant.numeric.string_type-len.clarity\"},\"4\":{\"name\":\"punctuation.string_type-def.end.clarity\"}},\"match\":\"(\\\\()\\\\s*(string-(?:ascii|utf8))\\\\s+(\\\\d+)\\\\s*(\\\\))\"},{\"captures\":{\"1\":{\"name\":\"punctuation.buff-def.start.clarity\"},\"2\":{\"name\":\"entity.name.type.buff.clarity\"},\"3\":{\"name\":\"constant.numeric.buf-len.clarity\"},\"4\":{\"name\":\"punctuation.buff-def.end.clarity\"}},\"match\":\"(\\\\()\\\\s*(buff)\\\\s+(\\\\d+)\\\\s*(\\\\))\"},{\"begin\":\"(\\\\()\\\\s*(optional)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.optional-def.start.clarity\"},\"2\":{\"name\":\"storage.type.modifier\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.optional-def.end.clarity\"}},\"name\":\"meta.optional-def\",\"patterns\":[{\"include\":\"#data-type\"}]},{\"begin\":\"(\\\\()\\\\s*(response)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.response-def.start.clarity\"},\"2\":{\"name\":\"storage.type.modifier\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.response-def.end.clarity\"}},\"name\":\"meta.response-def\",\"patterns\":[{\"include\":\"#data-type\"}]},{\"begin\":\"(\\\\()\\\\s*(list)\\\\s+(\\\\d+)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.list-def.start.clarity\"},\"2\":{\"name\":\"entity.name.type.list.clarity\"},\"3\":{\"name\":\"constant.numeric.list-len.clarity\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.list-def.end.clarity\"}},\"name\":\"meta.list-def\",\"patterns\":[{\"include\":\"#data-type\"}]},{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.tuple-def.start.clarity\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.tuple-def.end.clarity\"}},\"name\":\"meta.tuple-def\",\"patterns\":[{\"match\":\"([A-Za-z][-!?\\\\w]*)(?=:)\",\"name\":\"entity.name.tag.tuple-data-type-key.clarity\"},{\"include\":\"#data-type\"}]}]},\"define-constant\":{\"begin\":\"(\\\\()\\\\s*(define-constant)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.define-constant.start.clarity\"},\"2\":{\"name\":\"keyword.declaration.define-constant.clarity\"},\"3\":{\"name\":\"entity.name.constant-name.clarity variable.other.clarity\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.define-constant.enLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias clj for clojure */
export { default } from './clojure.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Clojure\",\"name\":\"clojure\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#shebang-comment\"},{\"include\":\"#quoted-sexp\"},{\"include\":\"#sexp\"},{\"include\":\"#keyfn\"},{\"include\":\"#string\"},{\"include\":\"#vector\"},{\"include\":\"#set\"},{\"include\":\"#map\"},{\"include\":\"#regexp\"},{\"include\":\"#var\"},{\"include\":\"#constants\"},{\"include\":\"#dynamic-variables\"},{\"include\":\"#metadata\"},{\"include\":\"#namespace-symbol\"},{\"include\":\"#symbol\"}],\"repository\":{\"comment\":{\"begin\":\"(?<!\\\\\\\\);\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.clojure\"}},\"end\":\"$\",\"name\":\"comment.line.semicolon.clojure\"},\"constants\":{\"patterns\":[{\"match\":\"(nil)(?=([])}\\\\s]))\",\"name\":\"constant.language.nil.clojure\"},{\"match\":\"(true|false)\",\"name\":\"constant.language.boolean.clojure\"},{\"match\":\"(##(?:Inf|-Inf|NaN))\",\"name\":\"constant.numeric.symbol.clojure\"},{\"match\":\"([-+]?\\\\d+/\\\\d+)\",\"name\":\"constant.numeric.ratio.clojure\"},{\"match\":\"([-+]?(?:3[0-6]|[12]\\\\d|[2-9])[Rr][0-9A-Za-z]+N?)\",\"name\":\"constant.numeric.arbitrary-radix.clojure\"},{\"match\":\"([-+]?0[Xx]\\\\h+N?)\",\"name\":\"constant.numeric.hexadecimal.clojure\"},{\"match\":\"([-+]?0[0-7]+N?)\",\"name\":\"constant.numeric.octal.clojure\"},{\"match\":\"([-+]?[0-9]+(\\\\.|(?=[EMe]))[0-9]*([Ee][-+]?[0-9]+)?M?)\",\"name\":\"constant.numeric.double.clojure\"},{\"match\":\"([-+]?\\\\d+N?)\",\"name\":\"constant.numeric.long.clojure\"},{\"include\":\"#keyword\"}]},\"dynamic-variables\":{\"match\":\"\\\\*[-!+.:<-?_\\\\w\\\\d]+\\\\*\",\"name\":\"meta.symbol.dynamic.clojure\"},\"keyfn\":{\"patterns\":[{\"match\":\"(?<=([(\\\\[{\\\\s]))(if(-[-?\\\\p{Ll}]*)?|when(-[-\\\\p{Ll}]*)?|for(-[-\\\\p{Ll}]*)?|cond|do|let(-[-?\\\\p{Ll}]*)?|binding|loop|recur|fn|throw[-\\\\p{Ll}]*|try|catch|finally|(\\\\p{Ll}*case))(?=([])}\\\\s]))\",\"name\":\"storage.control.clojure\"},{\"match\":\"(?<=([(\\\\[{\\\\s]))(declare-?|(in-)?ns|import|use|require|load|compile|(def[-\\\\p{Ll}]*))(?=([])}\\\\s]))\",\"name\":\"keyword.control.clojure\"}]},\"keyword\":{\"match\":\"(?<=([(\\\\[{\\\\s])):[-!#*+./:<-?_\\\\w]+(?=([]),}\\\\s]))\",\"name\":\"constant.keyword.clojure\"},\"map\":{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.map.begin.clojure\"}},\"end\":\"(}(?=[])}\\\\s]*(?:;|$)))|(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.map.end.trailing.clojure\"},\"2\":{\"name\":\"punctuation.section.map.end.clojure\"}},\"name\":\"meta.map.clojure\",\"patterns\":[{\"include\":\"$self\"}]},\"metadata\":{\"patterns\":[{\"begin\":\"(\\\\^\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.metadata.map.begin.clojure\"}},\"end\":\"(}(?=[])}\\\\s]*(?:;|$)))|(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.metadata.map.end.trailing.clojure\"},\"2\":{\"name\":\"punctuation.section.metadata.map.end.clojure\"}},\"name\":\"meta.metadata.map.clojure\",\"patterns\":[{\"include\":\"$self\"}]},{\"begin\":\"(\\\\^)\",\"end\":\"(\\\\s)\",\"name\":\"meta.metadata.simple.clojure\",\"patterns\":[{\"include\":\"#keyword\"},{\"include\":\"$self\"}]}]},\"namespace-symbol\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"meta.symbol.namespace.clojure\"}},\"match\":\"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)/\"}]},\"quoted-sexp\":{\"begin\":\"(['`]\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.begin.clojure\"}},\"end\":\"(\\\\))$|(\\\\)(?=[])}\\\\s]*(?:;|$)))|(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.end.trailing.clojure\"},\"2\":{\"name\":\"punctuation.section.expression.end.trailing.clojure\"},\"3\":{\"name\":\"punctuation.section.expression.end.clojure\"}},\"name\":\"meta.quoted-expression.clojure\",\"patterns\":[{\"include\":\"$self\"}]},\"regexp\":{\"begin\":\"#\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.regexp.begin.clojure\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.regexp.end.clojure\"}},\"name\":\"string.regexp.clojure\",\"patterns\":[{\"include\":\"#regexp_escaped_char\"}]},\"regexp_escaped_char\":{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.clojure\"},\"set\":{\"begin\":\"(#\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.set.begin.clojure\"}},\"end\":\"(}(?=[])}\\\\s]*(?:;|$)))|(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.set.end.trailing.clojure\"},\"2\":{\"name\":\"punctuation.section.set.end.clojure\"}},\"name\":\"meta.set.clojure\",\"patterns\":[{\"include\":\"$self\"}]},\"sexp\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.begin.clojure\"}},\"end\":\"(\\\\))$|(\\\\)(?=[])}\\\\s]*(?:;|$)))|(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.expression.end.trailing.clojure\"},\"2\":{\"name\":\"punctuation.section.expression.end.trailing.clojuLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias closure-templates for soy */
export { default } from './soy.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"CMake\",\"fileTypes\":[\"cmake\",\"CMakeLists.txt\"],\"name\":\"cmake\",\"patterns\":[{\"match\":\"\\\\b(?i:APPLE|BORLAND|(CMAKE_)?(CL_64|COMPILER_2005|HOST_APPLE|HOST_SYSTEM|HOST_SYSTEM_NAME|HOST_SYSTEM_PROCESSOR|HOST_SYSTEM_VERSION|HOST_UNIX|HOST_WIN32|LIBRARY_ARCHITECTURE|LIBRARY_ARCHITECTURE_REGEX|OBJECT_PATH_MAX|SYSTEM|SYSTEM_NAME|SYSTEM_PROCESSOR|SYSTEM_VERSION)|CYGWIN|MSVC|MSVC80|MSVC_IDE|MSVC_VERSION|UNIX|WIN32|XCODE_VERSION|MSVC60|MSVC70|MSVC90|MSVC71)\\\\b\",\"name\":\"constant.source.cmake\"},{\"match\":\"\\\\b(?i:ABSOLUTE|AND|BOOL|CACHE|COMMAND|COMMENT|DEFINED|DOC|EQUAL|EXISTS|EXT|FALSE|GREATER|GREATER_EQUAL|INTERNAL|IN_LIST|IS_ABSOLUTE|IS_DIRECTORY|IS_NEWER_THAN|IS_SYMLINK|LESS|LESS_EQUAL|MATCHES|NAMES??|NAME_WE|NOT|OFF|ON|OR|PATHS??|POLICY|PROGRAM|STREQUAL|STRGREATER|STRGREATER_EQUAL|STRING|STRLESS|STRLESS_EQUAL|TARGET|TEST|TRUE|VERSION_EQUAL|VERSION_GREATER|VERSION_GREATER_EQUAL|VERSION_LESS)\\\\b\",\"name\":\"keyword.cmake\"},{\"match\":\"^\\\\s*\\\\b(?i:add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_libraries|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)\\\\b\",\"name\":\"keyword.cmake\"},{\"match\":\"\\\\b(?i:BUILD_SHARED_LIBS|(CMAKE_)?(ABSOLUTE_DESTINATION_FILES|AUTOMOC_RELAXED_MODE|BACKWARDS_COMPATIBILITY|BUILD_TYPE|COLOR_MAKEFILE|CONFIGURATION_TYPES|DEBUG_TARGET_PROPERTIES|DISABLE_FIND_PACKAGE_\\\\w+|FIND_LIBRARY_PREFIXES|FIND_LIBRARY_SUFFIXES|IGNORE_PATH|INCLUDE_PATH|INSTALL_DEFAULT_COMPONENT_NAME|INSTALL_PREFIX|LIBRARY_PATH|MFC_FLAG|MODULE_PATH|NOT_USING_CONFIG_FLAGS|POLICY_DEFAULT_CMP\\\\w+|PREFIX_PATH|PROGRAM_PATH|SKIP_INSTALL_ALL_DEPENDENCY|SYSTEM_IGNORE_PATH|SYSTEM_INCLUDE_PATH|SYSTEM_LIBRARY_PATH|SYSTEM_PREFIX_PATH|SYSTEM_PROGRAM_PATH|USER_MAKE_RULES_OVERRIDE|WARN_ON_ABSOLUTE_INSTALL_DESTINATION))\\\\b\",\"name\":\"variable.source.cmake\"},{\"match\":\"\\\\$\\\\{\\\\w+}\",\"name\":\"storage.source.cmake\"},{\"match\":\"\\\\$ENV\\\\{\\\\w+}\",\"name\":\"storage.source.cmake\"},{\"match\":\"\\\\b(?i:(CMAKE_)?(\\\\w+_POSTFIX|ARCHIVE_OUTPUT_DIRECTORY|AUTOMOC|AUTOMOC_MOC_OPTIONS|BUILD_WITH_INSTALL_RPATH|DEBUG_POSTFIX|EXE_LINKER_FLAGS|EXE_LINKER_FLAGS_\\\\w+|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GNUtoMS|INCLUDE_CURRENT_DIR|INCLUDE_CURRENT_DIR_IN_INTERFACE|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_PATH_FLAG|LINK_DEF_FILE_FLAG|LINK_DEPENDS_NO_SHARED|LINK_INTERFACE_LIBRARIES|LINK_LIBRARY_FILE_FLAG|LINK_LIBRARY_FLAG|MACOSX_BUNDLE|NO_BUILTIN_CHRPATH|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|RUNTIME_OUTPUT_DIRECTORY|SKIP_BUILD_RPATH|SKIP_INSTALL_RPATH|TRY_COMPILE_CONFIGURATION|USE_RELATIVE_PATHS|WIN32_EXECUTABLE)|EXECUTABLE_OUTPUT_PATH|LIBRARY_OUTPUT_PATH)\\\\b\",\"name\":\"variable.source.cmake\"},{\"match\":\"\\\\b(?i:CMAKE_(AR|ARGC|ARGV0|BINARY_DIR|BUILD_TOOL|CACHEFILE_DIR|CACHE_MAJOR_VERSION|CACHE_MINOR_VERSION|CACHE_PATCH_VERSION|CFG_INTDIR|COMMAND|CROSSCOMPILING|CTEST_COMMAND|CURRENT_BINARY_DIR|CURRENT_LIST_DIR|CURRENT_LIST_FILE|CURRENT_LIST_LINE|CURRENT_SOURCE_DIR|DL_LIBS|EDIT_COMMAND|EXECUTABLE_SUFFIX|EXTRA_GENERATOR|EXTRA_SHARED_LIBRARY_SUFFIXES|GENERATOR|HOME_DIRECTORY|IMPORT_LIBRARY_PREFIX|IMPORT_LIBRARY_SUFFIX|LINK_LIBRARY_SUFFIX|MAJOR_VERSION|MAKE_PROGRAM|MINOR_VERSION|PARENT_LIST_FILE|PATCH_VERSION|PROJECT_NAME|RANLIB|ROOT|SCRIPT_MODE_FILE|SHARED_LIBRARY_PREFIX|SHARED_LIBRARY_SUFFIX|SHARED_MODULE_PREFIX|SHLine truncated
export default [
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+2
View File
@@ -0,0 +1,2 @@
/* Alias cmd for vb */
export { default } from './vb.mjs'
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+10
View File
@@ -0,0 +1,10 @@
import html from './html.mjs'
import java from './java.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"COBOL\",\"fileTypes\":[\"ccp\",\"scbl\",\"cobol\",\"cbl\",\"cblle\",\"cblsrce\",\"cblcpy\",\"lks\",\"pdv\",\"cpy\",\"copybook\",\"cobcopy\",\"fd\",\"sel\",\"scb\",\"scbl\",\"sqlcblle\",\"cob\",\"dds\",\"def\",\"src\",\"ss\",\"wks\",\"bib\",\"pco\"],\"name\":\"cobol\",\"patterns\":[{\"match\":\"^([ *][ *][ *][ *][ *][ *])([Dd]\\\\s.*)$\",\"name\":\"token.info-token.cobol\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"comment.line.cobol.newpage\"}},\"match\":\"^([ *][ *][ *][ *][ *][ *])(/.*)$\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"comment.line.cobol.fixed\"}},\"match\":\"^([ *][ *][ *][ *][ *][ *])(\\\\*.*)$\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"comment.line.cobol.newpage\"}},\"match\":\"^([0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s])(/.*)$\"},{\"match\":\"^[0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s]$\",\"name\":\"constant.numeric.cobol\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"comment.line.cobol.fixed\"}},\"match\":\"^([0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s][0-9\\\\s])(\\\\*.*)$\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"comment.line.cobol.fixed\"}},\"match\":\"^([- #$%+.0-9@-Za-z\\\\s][- #$%+.0-9@-Za-z\\\\s][- #$%+.0-9@-Za-z\\\\s][- #$%+.0-9@-Za-z\\\\s][- #$%+.0-9@-Za-z\\\\s][- #$%+.0-9@-Za-z\\\\s])(\\\\*.*)$\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"variable.other.constant\"}},\"match\":\"^\\\\s+(78)\\\\s+([0-9A-Za-z][-0-9A-Z_a-z]+)\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.cobol\"},\"2\":{\"name\":\"variable.other.constant\"},\"3\":{\"name\":\"keyword.identifers.cobol\"}},\"match\":\"^\\\\s+([0-9]+)\\\\s+([0-9A-Za-z][-0-9A-Z_a-z]+)\\\\s+((?i:constant))\"},{\"captures\":{\"1\":{\"name\":\"constant.cobol\"},\"2\":{\"name\":\"comment.line.cobol.newpage\"}},\"match\":\"^([#$%.0-9@-Za-z\\\\s][#$%.0-9@-Za-z\\\\s][#$%.0-9@-Za-z\\\\s][#$%.0-9@-Za-z\\\\s][#$%.0-9@-Za-z\\\\s][#$%.0-9@-Za-z\\\\s])(/.*)$\"},{\"match\":\"^\\\\*.*$\",\"name\":\"comment.line.cobol.fixed\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.directive.conditional.cobol\"},\"2\":{\"name\":\"entity.name.function.preprocessor.cobol\"},\"3\":{\"name\":\"entity.name.function.cobol\"},\"4\":{\"name\":\"keyword.control.directive.conditional.cobol\"}},\"match\":\"((?:^|\\\\s+)(?i:\\\\$set)\\\\s+)((?i:constant)\\\\s+)([0-9A-Za-z][-0-9A-Za-z]+\\\\s*)([-0-9A-Za-z]*)\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.preprocessor.cobol\"},\"2\":{\"name\":\"storage.modifier.import.cobol\"},\"3\":{\"name\":\"punctuation.begin.bracket.round.cobol\"},\"4\":{\"name\":\"string.quoted.other.cobol\"},\"5\":{\"name\":\"punctuation.end.bracket.round.cobol\"}},\"match\":\"((?i:\\\\$\\\\s*set\\\\s+)(ilusing)(\\\\()(.*)(\\\\)))\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.preprocessor.cobol\"},\"2\":{\"name\":\"storage.modifier.import.cobol\"},\"3\":{\"name\":\"punctuation.definition.string.begin.cobol\"},\"4\":{\"name\":\"string.quoted.other.cobol\"},\"5\":{\"name\":\"punctuation.definition.string.begin.cobol\"}},\"match\":\"((?i:\\\\$\\\\s*set\\\\s+)(ilusing)(\\\")(.*)(\\\"))\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.directive.conditional.cobol\"},\"2\":{\"name\":\"entity.name.function.preprocessor.cobol\"},\"3\":{\"name\":\"punctuation.definition.string.begin.cobol\"},\"4\":{\"name\":\"string.quoted.other.cobol\"},\"5\":{\"name\":\"punctuation.definition.string.begin.cobol\"}},\"match\":\"((?i:\\\\$set))\\\\s+(\\\\w+)\\\\s*(\\\")(\\\\w*)(\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.directive.conditional.cobol\"},\"2\":{\"name\":\"entity.name.function.preprocessor.cobol\"},\"3\":{\"name\":\"punctuation.begin.bracket.round.cobol\"},\"4\":{\"name\":\"string.quoted.other.cobol\"},\"5\":{\"name\":\"punctuation.end.bracket.round.cobol\"}},\"match\":\"((?i:\\\\$set))\\\\s+(\\\\w+)\\\\s*(\\\\()(.*)(\\\\))\"},{\"captures\":{\"0\":{\"name\":\"keyword.control.directive.conditional.cobol\"},\"1\":{\"name\":\"invalid.illegal.directive\"},\"2\":{\"name\":\"comment.line.set.cobol\"}},\"match\":\"(?:^|\\\\s+)(?i:\\\\$\\\\s*set\\\\s)((?i:01SHUFFLE|64KPARA|64KSECT|AUXOPT|CHIP|DATALIT|EANIM|EXPANDDATA|FIXING|FLAG-CHIP|MASM|MODEL|OPTSIZE|OPTSPEED|PARAS|PROTMODE|REGPARM|SEGCROSS|SEGSIZE|SIGNCOMPARE|SMALLDD|TABLESEGCROSS|TRICKLECHECK|\\\\s)+).*$\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.directive.cobol\"},\"2\":{\"name\":\"entity.other.attribute-name.preprocessor.cobol\"}},\"match\":\"(\\\\$(?:(?i:region)|(?i:end-region)))(.*)$\"},{\"begin\":\"\\\\$(?i:doc)(.*)$\",\"end\":\"\\\\$(?i:end-doc)(.*)$\",\"name\":\"invalid.illegal.iscobol\"},{\"match\":\">>\\\\s*(?i:turn|page|listing|leap-seconds|d)\\\\s+.*$\",\"name\":\"invalid.illegal.meta.preprocessor.cobolit\"},{\"match\":\"(?i:substitute(?:-case|)Line truncated
export default [
...html,
...java,
lang
]
+3
View File
@@ -0,0 +1,3 @@
import type { LanguageRegistration } from '@shikijs/types'
declare const langs: LanguageRegistration[]
export default langs
+5
View File
@@ -0,0 +1,5 @@
const lang = Object.freeze(JSON.parse("{\"displayName\":\"CODEOWNERS\",\"name\":\"codeowners\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#pattern\"},{\"include\":\"#owner\"}],\"repository\":{\"comment\":{\"patterns\":[{\"begin\":\"^\\\\s*#\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.codeowners\"}},\"end\":\"$\",\"name\":\"comment.line.codeowners\"}]},\"owner\":{\"match\":\"\\\\S*@\\\\S+\",\"name\":\"storage.type.function.codeowners\"},\"pattern\":{\"match\":\"^\\\\s*(\\\\S+)\",\"name\":\"variable.other.codeowners\"}},\"scopeName\":\"text.codeowners\"}"))
export default [
lang
]
Loaded 100 of 10119 files, more files were not shown because too many files have changed in this diff. Show more