Initial commit
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias 1c-query for sdbl */
|
||||
export { default } from './sdbl.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias 1c for bsl */
|
||||
export { default } from './bsl.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias adoc for asciidoc */
|
||||
export { default } from './asciidoc.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+16
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+8
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+10
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+8
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+10
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+8
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+18
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+16
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+18
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias bash for shellscript */
|
||||
export { default } from './shellscript.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias batch for bat */
|
||||
export { default } from './bat.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias be for berry */
|
||||
export { default } from './berry.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+20
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+8
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+8
@@ -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
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias cdc for cadence */
|
||||
export { default } from './cadence.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias cjs for javascript */
|
||||
export { default } from './javascript.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias clj for clojure */
|
||||
export { default } from './clojure.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias closure-templates for soy */
|
||||
export { default } from './soy.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/* Alias cmd for vb */
|
||||
export { default } from './vb.mjs'
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+10
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
@@ -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
|
||||
]
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+5
File diff suppressed because one or more lines are too long
+3
@@ -0,0 +1,3 @@
|
||||
import type { LanguageRegistration } from '@shikijs/types'
|
||||
const langs: LanguageRegistration []
|
||||
export default langs
|
||||
+8
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user