mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 23:20:02 +00:00
14 lines
1.7 KiB
JavaScript
14 lines
1.7 KiB
JavaScript
import javascript from './javascript.mjs';
|
|
import handlebars from './handlebars.mjs';
|
|
import './html.mjs';
|
|
import './css.mjs';
|
|
import './yaml.mjs';
|
|
|
|
const lang = Object.freeze({ "displayName": "Glimmer JS", "injections": { "L:source.gjs -comment -string": { "patterns": [{ "begin": "\\s*(<)(template)\\s*(>)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.other.html" }, "3": { "name": "punctuation.definition.tag.html" } }, "end": "(</)(template)(>)", "endCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.other.html" }, "3": { "name": "punctuation.definition.tag.html" } }, "name": "meta.js.embeddedTemplateWithoutArgs", "patterns": [{ "include": "text.html.handlebars" }] }, { "begin": "(<)(template)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.other.html" } }, "end": "(</)(template)(>)", "endCaptures": { "1": { "name": "punctuation.definition.tag.html" }, "2": { "name": "entity.name.tag.other.html" }, "3": { "name": "punctuation.definition.tag.html" } }, "name": "meta.js.embeddedTemplateWithArgs", "patterns": [{ "begin": "(?<=\\<template)", "end": "(?=\\>)", "patterns": [{ "include": "text.html.handlebars#tag-stuff" }] }, { "begin": "(>)", "beginCaptures": { "1": { "name": "punctuation.definition.tag.end.js" } }, "contentName": "meta.html.embedded.block", "end": "(?=</template>)", "patterns": [{ "include": "text.html.handlebars" }] }] }] } }, "name": "glimmer-js", "patterns": [{ "include": "source.js" }], "scopeName": "source.gjs", "embeddedLangs": ["javascript", "handlebars"], "aliases": ["gjs"] });
|
|
var glimmerJs = [
|
|
...javascript,
|
|
...handlebars,
|
|
lang
|
|
];
|
|
|
|
export { glimmerJs as default };
|