node_modules ignore

This commit is contained in:
oier committed 2025-05-08 23:43:47 +02:00
1 parent e19d52f172
commit 4574544c9f
65041 files changed
+10593536

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Pine Wu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+62
View File
@@ -0,0 +1,62 @@
<p>
<h2 align="center">Shiki</h2>
</p>
<p align="center">
Shiki is a beautiful Syntax Highlighter. <a href="http://shiki.matsu.io">Demo</a>.
</p>
## Usage
```sh
npm i shiki
```
```js
const shiki = require('shiki')
shiki
.getHighlighter({
theme: 'nord'
})
.then(highlighter => {
console.log(highlighter.codeToHtml(`console.log('shiki');`, { lang: 'js' }))
})
// <pre class="shiki" style="background-color: #2e3440"><code>
// <!-- Highlighted Code -->
// </code></pre>
```
```html
<script src="https://unpkg.com/shiki"></script>
<script>
shiki
.getHighlighter({
theme: 'nord'
})
.then(highlighter => {
const code = highlighter.codeToHtml(`console.log('shiki');`, { lang: 'js' })
document.getElementById('output').innerHTML = code
})
</script>
```
Clone [shikijs/shiki-starter](https://github.com/shikijs/shiki-starter) to play with Shiki, or try it out on [Repl.it](https://repl.it/@octref/shiki-starter).
Learn more from the GitHub repo: [shikijs/shiki](https://github.com/shikijs/shiki).
## Credits
- Shiki uses [vscode-oniguruma](https://github.com/microsoft/vscode-oniguruma)
- A lot of code is based on [vscode-textmate](https://github.com/Microsoft/vscode-textmate)
## Sponsorship
If you find Shiki useful, please consider sponsoring my Open Source development. Thank you 🙏
https://github.com/sponsors/octref
## License
MIT © [Pine Wu](https://github.com/octref)
+41
View File
@@ -0,0 +1,41 @@
function _loadWasmModule (sync, filepath, src, imports) {
function _instantiateOrCompile(source, imports, stream) {
var instantiateFunc = stream ? WebAssembly.instantiateStreaming : WebAssembly.instantiate;
var compileFunc = stream ? WebAssembly.compileStreaming : WebAssembly.compile;
if (imports) {
return instantiateFunc(source, imports)
} else {
return compileFunc(source)
}
}
var buf = null;
if (filepath) {
return _instantiateOrCompile(fetch(filepath), imports, true);
}
var raw = globalThis.atob(src);
var rawLength = raw.length;
buf = new Uint8Array(new ArrayBuffer(rawLength));
for(var i = 0; i < rawLength; i++) {
buf[i] = raw.charCodeAt(i);
}
if(sync) {
var mod = new WebAssembly.Module(buf);
return imports ? new WebAssembly.Instance(mod, imports) : mod
} else {
return _instantiateOrCompile(buf, imports, false)
}
}
function onig(imports){return _loadWasmModule(0, './onig.wasm', null, imports)}
export { onig as default };
+1
View File
@@ -0,0 +1 @@
const e=["css-variables","dark-plus","dracula-soft","dracula","github-dark-dimmed","github-dark","github-light","light-plus","material-theme-darker","material-theme-lighter","material-theme-ocean","material-theme-palenight","material-theme","min-dark","min-light","monokai","nord","one-dark-pro","poimandres","rose-pine-dawn","rose-pine-moon","rose-pine","slack-dark","slack-ochin","solarized-dark","solarized-light","vitesse-black","vitesse-dark","vitesse-light"],t=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf",samplePath:"apache.sample"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",samplePath:"apl.sample",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX",samplePath:"bibtex.sample"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",aliases:["c++"],embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"csv",scopeName:"text.csv",path:"csv.tmLanguage.json",displayName:"csv syntax",samplePath:"csv.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",sLine truncated
+352
View File
@@ -0,0 +1,352 @@
import { IGrammar, IRawTheme } from 'vscode-textmate';
type Theme = 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'light-plus' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'material-theme' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'one-dark-pro' | 'poimandres' | 'rose-pine-dawn' | 'rose-pine-moon' | 'rose-pine' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
declare const themes: Theme[];
declare enum FontStyle {
NotSet = -1,
None = 0,
Italic = 1,
Bold = 2,
Underline = 4
}
interface IThemedTokenScopeExplanation {
scopeName: string;
themeMatches: any[];
}
interface IThemedTokenExplanation {
content: string;
scopes: IThemedTokenScopeExplanation[];
}
/**
* A single token with color, and optionally with explanation.
*
* For example:
*
* {
* "content": "shiki",
* "color": "#D8DEE9",
* "explanation": [
* {
* "content": "shiki",
* "scopes": [
* {
* "scopeName": "source.js",
* "themeMatches": []
* },
* {
* "scopeName": "meta.objectliteral.js",
* "themeMatches": []
* },
* {
* "scopeName": "meta.object.member.js",
* "themeMatches": []
* },
* {
* "scopeName": "meta.array.literal.js",
* "themeMatches": []
* },
* {
* "scopeName": "variable.other.object.js",
* "themeMatches": [
* {
* "name": "Variable",
* "scope": "variable.other",
* "settings": {
* "foreground": "#D8DEE9"
* }
* },
* {
* "name": "[JavaScript] Variable Other Object",
* "scope": "source.js variable.other.object",
* "settings": {
* "foreground": "#D8DEE9"
* }
* }
* ]
* }
* ]
* }
* ]
* }
*
*/
interface IThemedToken {
/**
* The content of the token
*/
content: string;
/**
* 6 or 8 digit hex code representation of the token's color
*/
color?: string;
/**
* Font style of token. Can be None/Italic/Bold/Underline
*/
fontStyle?: FontStyle;
/**
* Explanation of
*
* - token text's matching scopes
* - reason that token text is given a color (one matching scope matches a rule (scope -> color) in the theme)
*/
explanation?: IThemedTokenExplanation[];
}
interface HighlighterOptions {
/**
* The theme to load upfront.
*
* Default to: 'nord'
*/
theme?: IThemeRegistration;
/**
* A list of themes to load upfront.
*/
themes?: IThemeRegistration[];
/**
* A list of languages to load upfront.
*
* Default to all the bundled languages.
*/
langs?: (Lang | ILanguageRegistration)[];
/**
* Paths for loading themes and langs. Relative to the package's root.
*/
paths?: IHighlighterPaths;
}
interface Highlighter {
/**
* Convert code to HTML tokens.
* `lang` and `theme` must have been loaded.
* @deprecated Please use the `codeToHtml(code, options?)` overload instead.
*/
codeToHtml(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>, options?: CodeToHtmlOptions): string;
/**
* Convert code to HTML tokens.
* `lang` and `theme` must have been loaded.
*/
codeToHtml(code: string, options?: CodeToHtmlOptions): string;
/**
* Convert code to themed tokens for custom processing.
* `lang` and `theme` must have been loaded.
* You may customize the bundled HTML / SVG renderer or write your own
* renderer for another render target.
*/
codeToThemedTokens(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>, options?: ThemedTokenizerOptions): IThemedToken[][];
/**
* Convert ansi-escaped text to HTML tokens.
* `theme` must have been loaded.
*/
ansiToHtml(ansi: string, options?: AnsiToHtmlOptions): string;
/**
* Convert ansi-escaped text to themed tokens for custom processing.
* `theme` must have been loaded.
* You may customize the bundled HTML / SVG renderer or write your own
* renderer for another render target.
*/
ansiToThemedTokens(ansi: string, theme?: StringLiteralUnion<Theme>): IThemedToken[][];
/**
* Get the loaded theme
*/
getTheme(theme?: IThemeRegistration): IShikiTheme;
/**
* Load a theme
*/
loadTheme(theme: IThemeRegistration): Promise<void>;
/**
* Load a language
*/
loadLanguage(lang: ILanguageRegistration | Lang): Promise<void>;
/**
* Get all loaded themes
*/
getLoadedThemes(): Theme[];
/**
* Get all loaded languages
*/
getLoadedLanguages(): Lang[];
/**
* Get the foreground color for theme. Can be used for CSS `color`.
*/
getForegroundColor(theme?: StringLiteralUnion<Theme>): string;
/**
* Get the background color for theme. Can be used for CSS `background-color`.
*/
getBackgroundColor(theme?: StringLiteralUnion<Theme>): string;
setColorReplacements(map: Record<string, string>): void;
}
interface IHighlighterPaths {
/**
* @default 'themes/'
*/
themes?: string;
/**
* @default 'languages/'
*/
languages?: string;
/**
* @default 'dist/'
*/
wasm?: string;
}
type ILanguageRegistration = {
id: string;
scopeName: string;
displayName?: string;
aliases?: string[];
samplePath?: string;
/**
* A list of languages the current language embeds.
* If manually specifying languages to load, make sure to load the embedded
* languages for each parent language.
*/
embeddedLangs?: Lang[];
balancedBracketSelectors?: string[];
unbalancedBracketSelectors?: string[];
} & {
path: string;
grammar?: IGrammar;
};
type IThemeRegistration = IShikiTheme | StringLiteralUnion<Theme>;
interface IShikiTheme extends IRawTheme {
/**
* @description theme name
*/
name: string;
/**
* @description light/dark theme
*/
type: 'light' | 'dark' | 'css';
/**
* @description tokenColors of the theme file
*/
settings: any[];
/**
* @description text default foreground color
*/
fg: string;
/**
* @description text default background color
*/
bg: string;
/**
* @description relative path of included theme
*/
include?: string;
/**
*
* @description color map of the theme file
*/
colors?: Record<string, string>;
}
interface Nothing {
}
/**
* type StringLiteralUnion<'foo'> = 'foo' | string
* This has auto completion whereas `'foo' | string` doesn't
* Adapted from https://github.com/microsoft/TypeScript/issues/29729
*/
type StringLiteralUnion<T extends U, U = string> = T | (U & Nothing);
interface CodeToHtmlOptions {
lang?: StringLiteralUnion<Lang>;
theme?: StringLiteralUnion<Theme>;
lineOptions?: LineOption[];
}
interface AnsiToHtmlOptions {
theme?: StringLiteralUnion<Theme>;
lineOptions?: LineOption[];
}
interface HtmlRendererOptions {
langId?: string;
fg?: string;
bg?: string;
lineOptions?: LineOption[];
elements?: ElementsOptions;
themeName?: string;
}
interface LineOption {
/**
* 1-based line number.
*/
line: number;
classes?: string[];
}
interface ElementProps {
children: string;
[key: string]: unknown;
}
interface PreElementProps extends ElementProps {
className: string;
style: string;
}
interface CodeElementProps extends ElementProps {
}
interface LineElementProps extends ElementProps {
className: string;
lines: IThemedToken[][];
line: IThemedToken[];
index: number;
}
interface TokenElementProps extends ElementProps {
style: string;
tokens: IThemedToken[];
token: IThemedToken;
index: number;
}
interface ElementsOptions {
pre?: (props: PreElementProps) => string;
code?: (props: CodeElementProps) => string;
line?: (props: LineElementProps) => string;
token?: (props: TokenElementProps) => string;
}
interface ThemedTokenizerOptions {
/**
* Whether to include explanation of each token's matching scopes and
* why it's given its color. Default to false to reduce output verbosity.
*/
includeExplanation?: boolean;
}
type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'beancount' | 'berry' | 'be' | 'bibtex' | 'bicep' | 'blade' | 'c' | 'cadence' | 'cdc' | 'clarity' | 'clojure' | 'clj' | 'cmake' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'c++' | 'crystal' | 'csharp' | 'c#' | 'cs' | 'css' | 'csv' | 'cue' | 'cypher' | 'cql' | 'd' | 'dart' | 'dax' | 'diff' | 'docker' | 'dockerfile' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'erl' | 'fish' | 'fsharp' | 'f#' | 'fs' | 'gdresource' | 'gdscript' | 'gdshader' | 'gherkin' | 'git-commit' | 'git-rebase' | 'glimmer-js' | 'gjs' | 'glimmer-ts' | 'gts' | 'glsl' | 'gnuplot' | 'go' | 'graphql' | 'gql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hs' | 'hcl' | 'hjson' | 'hlsl' | 'html' | 'http' | 'imba' | 'ini' | 'properties' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'jison' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'kotlin' | 'kt' | 'kts' | 'kusto' | 'kql' | 'latex' | 'less' | 'liquid' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'marko' | 'matlab' | 'mdc' | 'mdx' | 'mermaid' | 'mojo' | 'narrat' | 'nar' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nushell' | 'nu' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powerquery' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'proto' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'reg' | 'rel' | 'riscv' | 'rst' | 'ruby' | 'rb' | 'rust' | 'rs' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'bash' | 'sh' | 'shell' | 'zsh' | 'shellsession' | 'console' | 'smalltalk' | 'solidity' | 'sparql' | 'splunk' | 'spl' | 'sql' | 'ssh-config' | 'stata' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'v' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vim' | 'vimscript' | 'vue-html' | 'vue' | 'vyper' | 'vy' | 'wasm' | 'wenyan' | '文言' | 'wgsl' | 'wolfram' | 'wl' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig';
declare const languages: ILanguageRegistration[];
declare function getHighlighter(options: HighlighterOptions): Promise<Highlighter>;
declare function renderToHtml(lines: IThemedToken[][], options?: HtmlRendererOptions): string;
declare global {
interface Response {
json(): Promise<any>;
text(): Promise<any>;
}
}
/**
* Set the route for loading the assets
* URL should end with `/`
*
* For example:
* ```ts
* setCDN('https://unpkg.com/shiki/') // use unpkg
* setCDN('/assets/shiki/') // serve by yourself
* ```
*/
declare function setCDN(root: string): void;
/**
* Explicitly set the source for loading the oniguruma web assembly module.
* *
* Accepts ArrayBuffer or Response (usage of string is deprecated)
*/
declare function setWasm(data: string | ArrayBuffer | Response): void;
/**
* @param themePath related path to theme.json
*/
declare function fetchTheme(themePath: string): Promise<IShikiTheme>;
declare function toShikiTheme(rawTheme: IRawTheme): IShikiTheme;
/** @deprecated use setWasm instead, will be removed in a future version */
declare function setOnigasmWASM(path: string | ArrayBuffer): void;
export { languages as BUNDLED_LANGUAGES, themes as BUNDLED_THEMES, FontStyle, Highlighter, HighlighterOptions, HtmlRendererOptions, ILanguageRegistration, IShikiTheme, IThemeRegistration, IThemedToken, Lang, Theme, getHighlighter, fetchTheme as loadTheme, renderToHtml, setCDN, setOnigasmWASM, setWasm, toShikiTheme };
+3278
View File
File diff suppressed because it is too large. Load diff
+3289
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
!function(e){"use strict";const t=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf",samplePath:"apache.sample"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",samplePath:"apl.sample",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX",samplePath:"bibtex.sample"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",aliases:["c++"],embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"csv",scopeName:"text.csv",path:"csv.tmLanguage.json",displayName:"csv syntax",samplePath:"csv.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",scopeName:"source.dax",path:"dax.tmLanguage.json",displayName:"DAX",samplePath:"dax.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",displayName:"Diff",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",displayName:"Docker",samplePath:"docker.sample",aliases:["dockerfile"]},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json",displayName:"Line truncated
+2439
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
!function(e){"use strict";const t=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf",samplePath:"apache.sample"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",samplePath:"apl.sample",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX",samplePath:"bibtex.sample"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",aliases:["c++"],embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"csv",scopeName:"text.csv",path:"csv.tmLanguage.json",displayName:"csv syntax",samplePath:"csv.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",scopeName:"source.dax",path:"dax.tmLanguage.json",displayName:"DAX",samplePath:"dax.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",displayName:"Diff",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",displayName:"Docker",samplePath:"docker.sample",aliases:["dockerfile"]},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json",displayName:"Line truncated
@@ -0,0 +1,3 @@
var abap_tmLanguage = {fileTypes:["abap","ABAP"],foldingStartMarker:"/\\*\\*|\\{\\s*$",foldingStopMarker:"\\*\\*/|^\\s*\\}",keyEquivalent:"^~A",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_\\/][a-z_0-9\\/]*)(?=\\s+(?:=|\\+=|-=|\\*=|\\/=|&&=|&=)\\s+)",name:"variable.other.abap"},{match:"\\b[0-9]+(\\b|\\.|,)",name:"constant.numeric.abap"},{match:"(?ix)(^|\\s+)((PUBLIC|PRIVATE|PROTECTED)\\sSECTION)(?=\\s+|:|\\.)",name:"storage.modifier.class.abap"},{begin:"(?<!\\\\)(\\|)(.*?)",end:"(?<!\\\\)(\\||(\\\\\\\\\\|))",name:"string.interpolated.abap",beginCaptures:{"1":{name:"constant.character.escape.abap"}},endCaptures:{"1":{name:"constant.character.escape.abap"}},patterns:[{match:"({ )|( })",name:"constant.character.escape"},{match:"(?<={ ).*?(?= })",name:"variable.other.abap"},{match:"\\\\\\|",name:"constant.character.escape.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_\\/][a-z_0-9\\/]*)",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:"(?ix)(^|\\s+)(definition|implementation|public|inheriting\\s+from|final|deferred|abstract|shared\\s+memory\\s+enabled|(global|local)*\\s*friends|(create\\s+(public|protected|private))|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-Za-z_][A-Za-z0-9_]*)",contentName:"entity.name.type.block.abap",end:"(?![A-Za-z0-9_])",patterns:[{include:"#generic_names"}]}]},{begin:"(?ix)^\\s*(method)\\s(?:([a-z_\\/][a-z_0-9\\/]*)~)?([a-z_\\/][a-z_0-9\\/]*)",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:"(?ix)(?<=^|\\s)(BY\\s+DATABASE(\\s+PROCEDURE|\\s+FUNCTION|\\s+GRAPH\\s+WORKSPACE)|BY\\s+KERNEL\\s+MODULE)(?=\\s+|\\.)",name:"storage.modifier.method.abap"},{match:"(?ix)(?<=^|\\s)(FOR\\s+(HDB|LLANG))(?=\\s+|\\.)",name:"storage.modifier.method.abap"},{match:"(?ix)(?<=\\s)(OPTIONS\\s+(READ-ONLY|DETERMINISTIC|SUPPRESS\\s+SYNTAX\\s+ERRORS))(?=\\s+|\\.)",name:"storage.modifier.method.abap"},{match:"(?ix)(?<=^|\\s)(LANGUAGE\\s+(SQLSCRIPT|SQL|GRAPH))(?=\\s+|\\.)",name:"storage.modifier.method.abap"},{match:"(?ix)(?<=\\s)(USING)\\s+([a-z_\\/][a-z_0-9\\/=\\>]*)+(?=\\s+|\\.)",captures:{"1":{name:"storage.modifier.method.abap"}}},{begin:"(?=[A-Za-z_][A-Za-z0-9_]*)",end:"(?![A-Za-z0-9_])",patterns:[{include:"#generic_names"}]}]},{begin:"(?ix)^\\s*(INTERFACE)\\s([a-z_\\/][a-z_0-9\\/]*)",beginCaptures:{"1":{name:"storage.type.block.abap"},"2":{name:"entity.name.type.abap"}},end:"\\s*\\.\\s*\\n?",patterns:[{match:"(?ix)(?<=^|\\s)(DEFERRED|PUBLIC)(?=\\s+|\\.)",name:"storage.modifier.method.abap"}]},{begin:"(?ix)^\\s*(FORM)\\s([a-z_\\/][a-z_0-9\\/\\-\\?]*)",beginCaptures:{"1":{name:"storage.type.block.abap"},"2":{name:"entity.name.type.abap"}},end:"\\s*\\.\\s*\\n?",patterns:[{match:"(?ix)(?<=^|\\s)(USING|TABLES|CHANGING|RAISING|IMPLEMENTATION|DEFINITION)(?=\\s+|\\.)",name:"storage.modifier.form.abap"},{include:"#abaptypes"},{include:"#keywords_followed_by_braces"}]},{match:"(?i)(endclass|endmethod|endform|endinterface)",name:"storage.type.block.end.abap"},{match:"(?i)(<[A-Za-z_][A-Za-z0-9_]*>)",name:"variable.other.field.symbol.abap"},{include:"#keywords"},{include:"#abap_constants"},{include:"#reserved_names"},{include:"#operators"},{include:"#builtin_functions"},{include:"#abaptypes"},{include:"#system_fields"},{include:"#sql_functions"},{include:"#sql_types"}],repository:{abap_constants:{match:"(?ix)(?<=\\s)(initial|null|space|abap_true|abap_false|abap_undefined|table_line|\n\t\t\t\t%_final|%_hints|%_predefined|col_background|col_group|col_heading|col_key|col_negative|col_normal|col_positive|col_total|\n\t\t\t\tadabas|as400|db2|db6|hdb|oracle|sybase|mssqlnt|pos_low|pos_high)(?=\\s|\\.|,)",name:"constant.language.abap"},reserved_names:{match:"(?ix)(?<=\\s)(me|super)(?=\\s|\\.|,|->)",name:"constant.language.abap"},abaptypes:{patterns:[{match:"(?ix)\\s(abap_bool|string|xstring|any|clike|csequence|numeric|xsequence|decfloat|decfloat16|decfloat34|utclong|simple|int8|c|n|i|p|f|d|t|x)(?=\\s|\\.|,)",name:"support.type.abap"},{match:"(?ix)\\s(TYPE|REF|TO|LIKE|LINE|OF|STRUCTURE|STANDARD|SORTED|HASHED|INDEX|TABLE|WITH|UNIQUE|NON-UNIQUE|SECONDARY|DEFAULT|KEY)(?=\\s|\\.|,)",name:"keyword.control.simple.abap"}]},aLine truncated
export { abap_tmLanguage as default };
@@ -0,0 +1,3 @@
var actionscript3_tmLanguage = {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:"(?x) (^|\\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:"#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"}]},namespace_declaration:{captures:{"2":{name:"storage.modifier.actionscript.3"},"3":{name:"storage.modifier.actionscript.3"}},match:"(?x) ((\\w+)\\s+)? (namespace) \\s+ (?:[A-Za-z0-9_\\$]+)",name:"meta.namespace_declaration.actionscript.3"},class_declaration:{begin:"(?x) \\b(class)\\b \\s+ ([\\.\\w]+|\\*)",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"}]},code_block:{begin:"\\{",end:"\\}",name:"meta.code_block.actionscript.3",patterns:[{include:"#code_block"},{include:"#comments"},{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"},{include:"#import"}]},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"}]},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"},dynamic_type:{captures:{"1":{name:"support.type.actionscript.3"}},match:"(?<=:)\\s*(\\*)"},escapes:{match:"\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",name:"constant.character.escape.actionscript.3"},"extends":{captures:{"1":{name:"keyword.other.actionscript.3"},"2":{name:"entity.other.inherited-class.actionscript.3"},"3":{name:"entity.other.inherited-class.actionscript.3"}},match:"(?x) \\b(extends)\\b \\s+ ([\\.\\w]+) \\s* (?:, \\s* ([\\.\\w]+))* \\s*",name:"meta.extends.actionscript.3"},function_arguments:{begin:"\\(",end:"\\)",name:"meta.function_arguments.actionscript.3",patterns:[{include:"#parameters"},{include:"#comments"}]},parameters:{begin:"(\\.\\.\\.)?\\s*([A-Za-z\\_\\$][A-Za-z0-9_\\$]*)(?:\\s*(\\:)\\s*(?:(?:([A-Za-z\\$][A-Za-z0-9_\\$]+(?:\\.[A-Za-z\\$][A-Za-z0-9_\\$]+)*)(?:\\.<([A-Za-z\\$][A-Za-z0-9_\\$]+(?:\\.[A-Za-z\\$][A-Za-z0-9_\\$]+)*)>)?)|(\\*)))?(?:\\s*(=))?",end:",|(?=\\))",beginCaptures:{"1":{name:"keyword.operator.actionscript.3"},"2":{name:"variable.parameter.actionscript.3"},"3":{name:"keLine truncated
export { actionscript3_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var ada_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"ada",patterns:[{include:"#library_unit"},{include:"#comment"},{include:"#use_clause"},{include:"#with_clause"},{include:"#pragma"},{include:"#keyword"}],repository:{abort_statement:{name:"meta.statement.abort.ada",begin:"(?i)\\babort\\b",end:";",beginCaptures:{"0":{name:"keyword.control.ada"}},endCaptures:{"0":{name:"punctuation.ada"}},patterns:[{name:"punctuation.ada",match:","},{name:"entity.name.task.ada",match:"\\b(\\w|\\d|\\.|_)+\\b"}]},accept_statement:{name:"meta.statement.accept.ada",begin:"(?i)\\b(accept)\\s+((?:\\w|\\d|\\.|_)+)\\b",end:"(?i)(?:\\b(end)\\s*(\\s\\2)?\\s*)?(;)",beginCaptures:{"1":{name:"keyword.control.ada"},"2":{name:"entity.name.accept.ada"}},endCaptures:{"1":{name:"keyword.control.ada"},"2":{name:"entity.name.accept.ada"},"3":{name:"punctuation.ada"}},patterns:[{begin:"(?i)\\bdo\\b",end:"(?i)\\b(?=end)\\b",beginCaptures:{"0":{name:"keyword.control.ada"}},patterns:[{include:"#statement"}]},{include:"#parameter_profile"}]},access_definition:{name:"meta.declaration.access.definition.ada",match:"(?i)(not\\s+null\\s+)?(access)\\s+(constant\\s+)?((?:\\w|\\d|\\.|_)+)\\b",captures:{"1":{name:"storage.visibility.ada"},"2":{name:"storage.visibility.ada"},"3":{name:"storage.modifier.ada"},"4":{name:"entity.name.type.ada"}}},access_type_definition:{name:"meta.declaration.type.definition.access.ada",begin:"(?i)\\b(not\\s+null\\s+)?(access)\\b",end:"(?i)(?=(with|;))",beginCaptures:{"1":{name:"storage.visibility.ada"},"2":{name:"storage.visibility.ada"}},patterns:[{name:"storage.visibility.ada",match:"(?i)\\ball\\b"},{name:"storage.modifier.ada",match:"(?i)\\bconstant\\b"},{include:"#subtype_mark"}]},actual_parameter_part:{begin:"\\(",end:"\\)",captures:{"0":{name:"punctuation.ada"}},patterns:[{name:"punctuation.ada",match:","},{include:"#parameter_association"}]},adding_operator:{name:"keyword.operator.adding.ada",match:"(\\+|-|\\&)"},array_aggregate:{name:"meta.definition.array.aggregate.ada",begin:"\\(",end:"\\)",captures:{"0":{name:"punctuation.ada"}},patterns:[{name:"punctuation.ada",match:","},{include:"#positional_array_aggregate"},{include:"#array_component_association"}]},array_component_association:{name:"meta.definition.array.aggregate.component.ada",match:"(?i)\\b([^(=>)]*)\\s*(=>)\\s*([^,\\)]+)",captures:{"1":{name:"variable.name.ada"},"2":{name:"keyword.other.ada"},"3":{patterns:[{name:"keyword.modifier.unknown.ada",match:"<>"},{include:"#expression"}]}}},array_dimensions:{name:"meta.declaration.type.definition.array.dimensions.ada",begin:"\\(",end:"\\)",captures:{"0":{name:"punctuation.ada"}},patterns:[{name:"punctuation.ada",match:","},{name:"storage.modifier.ada",match:"(?i)\\brange\\b"},{name:"keyword.modifier.unknown.ada",match:"<>"},{name:"keyword.ada",match:"\\.\\."},{include:"#expression"},{patterns:[{include:"#subtype_mark"}]}]},array_type_definition:{name:"meta.declaration.type.definition.array.ada",begin:"(?i)\\barray\\b",end:"(?i)(?=(with|;))",beginCaptures:{"0":{name:"storage.modifier.ada"}},patterns:[{include:"#array_dimensions"},{name:"storage.modifier.ada",match:"(?i)\\bof\\b"},{name:"storage.visibility.ada",match:"(?i)\\baliased\\b"},{include:"#access_definition"},{include:"#subtype_mark"}]},aspect_clause:{name:"meta.aspect.clause.ada",begin:"(?i)\\b(for)\\b",end:";",beginCaptures:{"1":{name:"keyword.ada"},"2":{patterns:[{include:"#subtype_mark"}]},"3":{name:"punctuation.ada"},"5":{name:"keyword.ada"}},endCaptures:{"0":{name:"punctuation.ada"}},patterns:[{begin:"(?i)\\buse\\b",end:"(?=;)",beginCaptures:{"0":{name:"keyword.ada"}},endCaptures:{"0":{name:"punctuation.ada"}},patterns:[{include:"#record_representation_clause"},{include:"#array_aggregate"},{include:"#expression"}]},{begin:"(?i)(?<=for)",end:"(?i)(?=use)",captures:{"0":{name:"keyword.ada"}},patterns:[{match:"((?:\\w|\\d|_)+)('((?:\\w|\\d|_)+))?",captures:{"1":{patterns:[{include:"#subtype_mark"}]},"2":{patterns:[{include:"#attribute"}]}}}]}]},aspect_definition:{name:"meta.aspect.definition.ada",begin:"=>",end:"(?i)(?=(,|;|\\bis\\b))",beginCaptures:{"0":{name:"keyword.other.ada"}},patterns:[{include:"#expression"}]},aspect_mark:{name:"meta.aspect.mark.ada",match:"(?i)\\b((?:\\w|\\d|\\.|_)+)(?:(')(class))?\\b",captures:{"1":{name:"keyword.control.directive.ada"},"2":{name:"punctuation.ada"},"3":{name:"entity.other.attribute-name.ada"}}},aspect_specification:{name:"meta.aspect.specification.ada",begin:"(?i)\\bwith\\b",end:"(?i)(?=(;|\\bis\\b))",beginCaptures:{"0":{name:"keyword.ada"}},patterns:[{name:"punctuation.ada",match:","},{match:"(?i)\\b(null)\\s+(record)\\b",captures:{"1":{name:"storage.modifier.ada"},"2":{name:"storage.modifier.ada"}}},{begin:"(?i)\\brecord\\b",end:"(?i)\\b(end)\\s+(record)\\b",beginCaptures:{"0":{name:"storage.modifier.ada"}},endCaptures:{"1":{name:"keyword.ada"},"2":{name:"storage.modifier.ada"}},patterns:[{include:"#component_item"}]},{match:"(?i)\\bprivate\\b",caLine truncated
export { ada_tmLanguage as default };
@@ -0,0 +1,3 @@
var apache_tmLanguage = {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:"(?<=ScriptAliasMatch|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(O|o)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(AuthAuthoritative|AuthGroupFile|AuthUserFile|AuthBasicProvider|AuthBasicFake|AuthBasicAuthoritative|AuthBasicUseDigestAlgorithm)\\b"},{captures:{"1":{name:"keyword.auth_anon.apacheconf"}},match:"\\b(Anonymous|Anonymous_Authoritative|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail)\\b"},{captures:{"1":{name:"keyword.auth_dbm.apacheconf"}},match:"\\b(AuthDBMAuthoritative|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile)\\b"},{captures:{"1":{name:"keyword.auth_digest.apacheconf"}},match:"\\b(AuthDigestAlgorithm|AuthDigestDomain|AuthDigestFile|AuthDigestGroupFile|AuthDigestNcCheck|AuthDigestNonceFormat|AuthDigestNonceLifetime|AuthDigestQop|AuthDigestShmemSize|AuthDigestProvider)\\b"},{captures:{"1":{name:"keyword.auth_ldap.apacheconf"}},match:"\\b(AuthLDAPAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPEnabled|AuthLDAPFrontPageHack|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPRemoteUserIsDN|AuthLDAPUrl)\Line truncated
export { apache_tmLanguage as default };
@@ -0,0 +1,3 @@
var apex_tmLanguage = {name:"apex",scopeName:"source.apex",fileTypes:["apex","cls","trigger"],uuid:"F5FC6824-F257-43B1-B53A-14E1CCD18631",patterns:[{include:"#javadoc-comment"},{include:"#comment"},{include:"#directives"},{include:"#declarations"},{include:"#script-top-level"}],repository:{directives:{patterns:[{include:"#punctuation-semicolon"}]},declarations:{patterns:[{include:"#type-declarations"},{include:"#punctuation-semicolon"}]},"script-top-level":{patterns:[{include:"#method-declaration"},{include:"#statement"},{include:"#punctuation-semicolon"}]},"type-declarations":{patterns:[{include:"#javadoc-comment"},{include:"#comment"},{include:"#annotation-declaration"},{include:"#storage-modifier"},{include:"#sharing-modifier"},{include:"#class-declaration"},{include:"#enum-declaration"},{include:"#interface-declaration"},{include:"#trigger-declaration"},{include:"#punctuation-semicolon"}]},"class-or-trigger-members":{patterns:[{include:"#javadoc-comment"},{include:"#comment"},{include:"#storage-modifier"},{include:"#sharing-modifier"},{include:"#type-declarations"},{include:"#field-declaration"},{include:"#property-declaration"},{include:"#indexer-declaration"},{include:"#variable-initializer"},{include:"#constructor-declaration"},{include:"#method-declaration"},{include:"#punctuation-semicolon"}]},"interface-members":{patterns:[{include:"#javadoc-comment"},{include:"#comment"},{include:"#property-declaration"},{include:"#indexer-declaration"},{include:"#method-declaration"},{include:"#punctuation-semicolon"}]},statement:{patterns:[{include:"#comment"},{include:"#while-statement"},{include:"#do-statement"},{include:"#for-statement"},{include:"#switch-statement"},{include:"#when-else-statement"},{include:"#when-sobject-statement"},{include:"#when-statement"},{include:"#when-multiple-statement"},{include:"#if-statement"},{include:"#else-part"},{include:"#goto-statement"},{include:"#return-statement"},{include:"#break-or-continue-statement"},{include:"#throw-statement"},{include:"#try-statement"},{include:"#soql-query-expression"},{include:"#local-declaration"},{include:"#block"},{include:"#expression"},{include:"#punctuation-semicolon"}]},expression:{patterns:[{include:"#comment"},{include:"#merge-expression"},{include:"#support-expression"},{include:"#throw-expression"},{include:"#this-expression"},{include:"#trigger-context-declaration"},{include:"#conditional-operator"},{include:"#expression-operators"},{include:"#soql-query-expression"},{include:"#object-creation-expression"},{include:"#array-creation-expression"},{include:"#invocation-expression"},{include:"#member-access-expression"},{include:"#element-access-expression"},{include:"#cast-expression"},{include:"#literal"},{include:"#parenthesized-expression"},{include:"#initializer-expression"},{include:"#identifier"}]},"annotation-declaration":{begin:"([@][_[:alpha:]]+)\\b",beginCaptures:{"1":{name:"storage.type.annotation.apex"}},end:"(?<=\\)|$)",patterns:[{begin:"\\(",beginCaptures:{"0":{name:"punctuation.parenthesis.open.apex"}},end:"\\)",endCaptures:{"0":{name:"punctuation.parenthesis.close.apex"}},patterns:[{include:"#expression"}]},{include:"#statement"}]},"support-expression":{begin:"(?x)\n(ApexPages|Database|DMLException|Exception|PageReference|Savepoint|SchedulableContext|Schema|SObject|System|Test)(?=\\.|\\s) # supported apex namespaces",beginCaptures:{"1":{name:"support.class.apex"}},end:"(?<=\\)|$)|(?=\\})|(?=;)|(?=\\)|(?=\\]))|(?=\\,)",patterns:[{include:"#support-type"},{match:"(?:(\\.))([[:alpha:]]*)(?=\\()",captures:{"1":{name:"punctuation.accessor.apex"},"2":{name:"support.function.apex"}}},{match:"(?:(\\.))([[:alpha:]]+)",captures:{"1":{name:"punctuation.accessor.apex"},"2":{name:"support.type.apex"}}},{begin:"\\(",beginCaptures:{"0":{name:"punctuation.parenthesis.open.apex"}},end:"\\)",endCaptures:{"0":{name:"punctuation.parenthesis.close.apex"}},patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},{include:"#comment"},{include:"#statement"}]},"support-type":{name:"support.apex",patterns:[{include:"#comment"},{include:"#support-class"},{include:"#support-functions"},{include:"#support-name"}]},"support-class":{match:"\\b(ApexPages|Database|DMLException|Exception|PageReference|Savepoint|SchedulableContext|Schema|SObject|System|Test)\\b",captures:{"1":{name:"support.class.apex"}}},"support-functions":{match:"\\b(delete|execute|finish|insert|start|undelete|update|upsert)\\b",captures:{"1":{name:"support.function.apex"}}},"support-name":{patterns:[{match:"(\\.)\\s*([[:alpha:]]*)(?=\\()",captures:{"1":{name:"punctuation.accessor.apex"},"2":{name:"support.function.apex"}}},{begin:"\\(",beginCaptures:{"0":{name:"punctuation.parenthesis.open.apex"}},end:"\\)",endCaptures:{"0":{name:"punctuation.parenthesis.close.apex"}},patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},{match:"(\\.)\\s*([_[:alpha:]]*)",captures:{"1":{name:"punctuation.accessor.apex"},"2":{name:"support.type.apex"}}}]},"support-arguments":{bLine truncated
export { apex_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var apl_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"apl",scopeName:"source.apl",fileTypes:["apl","apla","aplc","aplf","apli","apln","aplo","dyalog","dyapp","mipage"],firstLineMatch:"(?x)\n# APL symbols\n[⌶-⍺]\n|\n\n# Hashbang\n^\\#!.*(?:\\s|\\/|(?<=!)\\b)\n\t(?:gnu[-._]?apl|aplx?|dyalog)\n(?:$|\\s)\n|\n\n# Modeline\n(?i:\n\t# Emacs\n\t-\\*-(?:\\s*(?=[^:;\\s]+\\s*-\\*-)|(?:.*?[;\\s]|(?<=-\\*-))mode\\s*:\\s*)\n\t\tapl\n\t(?=[\\s;]|(?<![-*])-\\*-).*?-\\*-\n\n\t|\n\n\t# Vim\n\t(?:(?:\\s|^)vi(?:m[<=>]?\\d+|m)?|\\sex)(?=:(?=\\s*set?\\s[^\\n:]+:)|:(?!\\s* set?\\s))(?:(?:\\s|\\s*:\\s*)\\w*(?:\\s*=(?:[^\\n\\\\\\s]|\\\\.)*)?)*[\\s:](?:filetype|ft|syntax)\\s*=\n\t\tapl\n\t(?=\\s|:|$)\n)",foldingStartMarker:"{",foldingStopMarker:"}",patterns:[{match:"\\A#!.*$",name:"comment.line.shebang.apl"},{include:"#heredocs"},{include:"#main"},{contentName:"text.embedded.apl",begin:"^\\s*((\\))OFF|(\\])NEXTFILE)\\b(.*)$",end:"(?=N)A",beginCaptures:{"1":{name:"entity.name.command.eof.apl"},"2":{name:"punctuation.definition.command.apl"},"3":{name:"punctuation.definition.command.apl"},"4":{patterns:[{include:"#comment"}]}}},{name:"meta.round.bracketed.group.apl",patterns:[{include:"#main"}],begin:"\\(",end:"\\)",beginCaptures:{"0":{name:"punctuation.round.bracket.begin.apl"}},endCaptures:{"0":{name:"punctuation.round.bracket.end.apl"}}},{name:"meta.square.bracketed.group.apl",patterns:[{include:"#main"}],begin:"\\[",end:"\\]",beginCaptures:{"0":{name:"punctuation.square.bracket.begin.apl"}},endCaptures:{"0":{name:"punctuation.square.bracket.end.apl"}}},{name:"meta.system.command.apl",begin:"^\\s*((\\))\\S+)",end:"$",beginCaptures:{"1":{name:"entity.name.command.apl"},"2":{name:"punctuation.definition.command.apl"}},patterns:[{include:"#command-arguments"},{include:"#command-switches"},{include:"#main"}]},{name:"meta.user.command.apl",begin:"^\\s*((\\])\\S+)",end:"$",beginCaptures:{"1":{name:"entity.name.command.apl"},"2":{name:"punctuation.definition.command.apl"}},patterns:[{include:"#command-arguments"},{include:"#command-switches"},{include:"#main"}]}],repository:{main:{patterns:[{include:"#class"},{include:"#definition"},{include:"#comment"},{include:"#label"},{include:"#sck"},{include:"#strings"},{include:"#number"},{include:"#lambda"},{include:"#sysvars"},{include:"#symbols"},{include:"#name"}]},comment:{patterns:[{name:"comment.line.apl",begin:"⍝",end:"$",captures:{"0":{name:"punctuation.definition.comment.apl"}}}]},number:{patterns:[{name:"constant.numeric.apl",match:"¯?[0-9][¯0-9A-Za-z]*(?:\\.[¯0-9Ee][¯0-9A-Za-z]*)*|¯?\\.[0-9Ee][¯0-9A-Za-z]*"}]},strings:{patterns:[{name:"string.quoted.single.apl",begin:"'",end:"'|$",beginCaptures:{"0":{name:"punctuation.definition.string.begin.apl"}},endCaptures:{"0":{name:"punctuation.definition.string.end.apl"}},patterns:[{match:"[^']*[^'\\n\\r\\\\]$",name:"invalid.illegal.string.apl"}]},{name:"string.quoted.double.apl",begin:"\"",end:"\"|$",beginCaptures:{"0":{name:"punctuation.definition.string.begin.apl"}},endCaptures:{"0":{name:"punctuation.definition.string.end.apl"}},patterns:[{match:"[^\"]*[^\"\\n\\r\\\\]$",name:"invalid.illegal.string.apl"}]}]},name:{patterns:[{name:"variable.other.readwrite.apl",match:"(?x)\n[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*"}]},label:{patterns:[{name:"meta.label.apl",match:"(?x)\n^\\s*\n(\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ]\n\t[A-Z_a-zÀ-ÖØ-Ýßà-öø-üþ∆⍙Ⓐ-Ⓩ¯0-9]*\n)\n(:)",captures:{"1":{name:"entity.label.name.apl"},"2":{name:"punctuation.definition.label.end.apl"}}}]},symbols:{patterns:[{match:"(?<=\\s)←(?=\\s|$)",name:"keyword.spaced.operator.assignment.apl"},{match:"(?<=\\s)→(?=\\s|$)",name:"keyword.spaced.control.goto.apl"},{match:"(?<=\\s)≡(?=\\s|$)",name:"keyword.spaced.operator.identical.apl"},{match:"(?<=\\s)≢(?=\\s|$)",name:"keyword.spaced.operator.not-identical.apl"},{match:"\\+",name:"keyword.operator.plus.apl"},{match:"[-−]",name:"keyword.operator.minus.apl"},{match:"×",name:"keyword.operator.times.apl"},{match:"÷",name:"keyword.operator.divide.apl"},{match:"⌊",name:"keyword.operator.floor.apl"},{match:"⌈",name:"keyword.operator.ceiling.apl"},{match:"[∣|]",name:"keyword.operator.absolute.apl"},{match:"[⋆*]",name:"keyword.operator.exponent.apl"},{match:"⍟",name:"keyword.operator.logarithm.apl"},{match:"○",name:"keyword.operator.circle.apl"},{match:"!",name:"keyword.operator.factorial.apl"},{match:"∧",name:"keyword.operator.and.apl"},{match:"∨",name:"keyword.operator.or.apl"},{match:"⍲",name:"keyword.operator.nand.apl"},{match:"⍱",name:"keyword.operator.nor.apl"},{match:"<",name:"keyword.operator.less.apl"},{match:"≤",name:"keyword.operator.less-or-equal.apl"},{match:"=",name:"keyword.operator.equal.apl"},{match:"≥",name:"keyword.operator.greater-or-equal.apl"},{match:">",name:"keyword.operator.greater.apl"},{match:"≠",name:"keyword.operator.nLine truncated
export { apl_tmLanguage as default };
@@ -0,0 +1,3 @@
var applescript_tmLanguage = {fileTypes:["applescript","scpt","script editor"],firstLineMatch:"^#!.*(osascript)",keyEquivalent:"^~A",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:"^(?x)\n\t\t\t\t\t\t\\s*(to|on)\\s+ \t\t\t\t\t# \"on\" or \"to\"\n\t\t\t\t\t\t(\\w+)\t\t\t\t\t\t\t# function name\n\t\t\t\t\t\t(\\()\t\t\t\t\t\t\t# opening paren\n\t\t\t\t\t\t\t((?:[\\s,:\\{\\}]*(?:\\w+)?)*)\t# parameters\n\t\t\t\t\t\t(\\))\t\t\t\t\t\t\t# closing paren\n\t\t\t\t\t",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"}},comment:"\n\t\t\t\t\t\tThis is not a very well-designed rule. For now,\n\t\t\t\t\t\twe can leave it like this though, as it sorta works.\n\t\t\t\t\t",end:"^\\s*(end)(?:\\s+(\\2))?(?=\\s*(--.*?)?$)",endCaptures:{"1":{name:"keyword.control.function.applescript"}},name:"meta.function.positional.applescript",patterns:[{include:"$self"}]},{begin:"^(?x)\n\t\t\t\t\t\t\\s*(to|on)\\s+ \t\t\t\t\t# \"on\" or \"to\"\n\t\t\t\t\t\t(\\w+)\t\t\t\t\t\t\t# function name\n\t\t\t\t\t\t(?:\\s+\n\t\t\t\t\t\t\t(of|in)\\s+\t\t\t\t\t# \"of\" or \"in\"\n\t\t\t\t\t\t\t(\\w+)\t\t\t\t\t\t# direct parameter\n\t\t\t\t\t\t)?\n\t\t\t\t\t\t(?=\\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)\n\t\t\t\t\t",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"}},comment:"TODO: match `given` parameters",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:"^(?x)\n\t\t\t\t\t\t\\s*(to|on)\\s+ \t\t\t\t\t# \"on\" or \"to\"\n\t\t\t\t\t\t(\\w+)\t\t\t\t\t\t\t# function name\n\t\t\t\t\t\t(?=\\s*(--.*?)?$)\t\t\t\t# nothing else\n\t\t\t\t\t",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.control.end.applescript"}},name:"meta.block.if.applescript",pLine truncated
export { applescript_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var ara_tmLanguage = {scopeName:"source.ara",name:"ara",fileTypes:["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-zA-Z_])",end:"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])\\b",endCaptures:{"1":{name:"support.class.ara"}},patterns:[{include:"#namespace"}]}]},type:{name:"support.type.php",patterns:[{match:"\\b(?:void|true|false|null|never|float|bool|int|string|dict|vec|object|mixed|nonnull|resource|self|static|parent|iterable)\\b",name:"support.type.php"},{begin:"([A-Za-z_][A-Za-z0-9_]*)<",beginCaptures:{"1":{name:"support.class.php"}},end:">",patterns:[{include:"#type-annotation"}]},{begin:"(shape\\()",end:"((,|\\.\\.\\.)?\\s*\\))",endCaptures:{"1":{name:"keyword.operator.key.php"}},name:"storage.type.shape.php",patterns:[{include:"#type-annotation"},{include:"#strings"},{include:"#constants"}]},{begin:"\\(",end:"\\)",patterns:[{include:"#type-annotation"}]},{begin:"\\(fn\\(",end:"\\)",patterns:[{include:"#type-annotation"}]},{include:"#class-name"},{include:"#comments"}]},namespace:{begin:"(?i)((namespace)|[a-z0-9_]+)?(\\\\)(?=.*?[^a-z_0-9\\\\])",beginCaptures:{"1":{name:"entity.name.type.namespace.php"},"3":{name:"punctuation.separator.inheritance.php"}},end:"(?i)(?=[a-z0-9_]*[^a-z0-9_\\\\])",name:"support.other.namespace.php",patterns:[{name:"entity.name.type.namespace.php",match:"(?i)[a-z0-9_]+(?=\\\\)"},{captures:{"1":{name:"punctuation.separator.inheritance.php"}},match:"(?i)(\\\\)"}]},"named-arguments":{match:"(?i)(?<=^|\\(|,)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(:)(?!:)",captures:{"1":{name:"entity.name.variable.parameter.ara"},"2":{name:"punctuation.separator.colon.ara"}}},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"}]}]},keywords:{patterns:[{name:"keyword.control.ara",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:"storage.decl.ara",match:"\\b(const|enum|class|interface|trait|namespace|type|case|function|fn)\\b"},{name:"storage.modifier.ara",match:"\\b(final|abstract|static|readonly|public|private|protected)\\b"},{name:"keyword.other.ara",match:"\\b(as|is|extends|implements|use|where|clone|new)\\b"}]},"function-call":{patterns:[{begin:"(?i)(?=\\\\?[a-z_0-9\\\\]+\\\\[a-z_][a-z0-9_]*\\s*(\\(|(::<)))",comment:"Functions in a user-defined namespace (overrides any built-ins)",end:"(?=\\s*(\\(|(::<)))",patterns:[{include:"#user-function-call"}]},{begin:"(?i)(\\\\)?(?=\\b[a-z_][a-z_0-9]*\\s*(\\(|(::<)))",beginCaptures:{"1":{name:"punctuation.separator.inheritance.php"}},comment:"Root namespace function calls (built-in or user)",end:"(?=\\s*(\\(|(::<)))",patterns:[{include:"#user-function-call"}]}]},"user-function-call":{begin:"(?i)(?=[a-z_0-9\\\\]*[a-z_][a-z0-9_]*\\s*\\()",end:"(?i)[a-z_][a-z_0-9]*(?=\\s*\\()",endCaptures:{"0":{name:"entity.name.function.php"}},name:"meta.function-call.php",patterns:[{include:"#namespace"}]},strings:{patterns:[{name:"string.quoted.single.ara",begin:"'",end:"'",patterns:[{match:"\\\\[\\\\']",name:"constant.character.escape.ara"}]},{name:"string.quoted.double.ara",begin:"\"",end:"\"",patterns:[{include:"#interpolation"}]}]},interpolation:{patterns:[{comment:"Interpolating octal values e.g. \\01 or \\07.",match:"\\\\[0-7]{1,3}",name:"constant.numeric.octal.ara"},{comment:"Interpolating hex values e.g. \\x1 or \\xFF.",match:"\\\\x[0-9A-Fa-f]{1,2}",name:"constant.numeric.hex.ara"},{comment:"Escaped characters in double-quoted strings e.g. \\n or \\t.",match:"\\\\[nrt\\\\\\$\\\"]",name:"constant.character.escape.ara"}]},numbers:{patterns:[{match:"0[xX][0-9a-fA-F]+(?:_[0-9a-fA-F]+)*",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"},{match:"(?x)\n(?:\n (?:[0-9]+(?:_[0-9]+)*)?(\\.)[0-9]+(?:_[0-9]+)*(?:[eE][+-]?[0-9]+(?:_[0-9]+)*)?| # .3\n [0-9]+(?:_[0-9]+)*(\\.)(?:[0-9]+(?:_[0-9]+)*)?(?:[eE][+-]?[0-9]+(?:_[0-9]+)*)?| # 3.\n [0-9]+(?:_[0-9]+)*[eE][+-]?[0-9]+(?:_[0-9]+)* # 2e-3\n)",name:"constant.numeric.decimal.ara",captures:{"1":{name:"punctuation.separator.decimal.period.ara"},"2":{name:"punctuation.separator.decimal.period.ara"}}},{match:"0|[1-9](?:_?[0-9]+)*",name:"constant.numeric.decimal.ara"}]},operators:{patterns:[{comment:"assignment operators",name:"keyword.asLine truncated
export { ara_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var asm_tmLanguage = {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[xh](?:[[:xdigit:]][[:xdigit:]_]*)\\.(?:(?:[[:xdigit:]][[:xdigit:]_]*)?(?:p[+-]?(?:[0-9][0-9_]*))?\\b)?",name:"constant.numeric.hex.floating-point.asm.x86_64"},{match:"(?i)\\b0[xh](?:[[:xdigit:]][[:xdigit:]_]*)(?:p[+-]?(?:[0-9][0-9_]*))\\b",name:"constant.numeric.hex.floating-point.asm.x86_64"},{match:"(?i)\\$[0-9]\\_?(?:[[:xdigit:]][[:xdigit:]_]*)?\\.(?:(?:[[:xdigit:]][[:xdigit:]_]*)?(?:p[+-]?(?:[0-9][0-9_]*))?\\b)?",name:"constant.numeric.hex.floating-point.asm.x86_64"},{match:"(?i)\\$[0-9]\\_?(?:[[:xdigit:]][[:xdigit:]_]*)(?: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]\\_?(?:[[:xdigit:]][[:xdigit:]_]*)?)\\b",name:"constant.numeric.hex.asm.x86_64"},{match:"(?i)\\b(?:(?:0[xh](?:[[:xdigit:]][[:xdigit:]_]*))|(?:(?:[[:xdigit:]][[:xdigit:]_]*)[hxHX]))\\b",name:"constant.numeric.hex.asm.x86_64"}]},entities:{patterns:[{match:"((section|segment)\\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:"#mnemonics-64bit"},{include:"#mnemonics-vmx"},{include:"#mnemonics-smx"},{include:"#mnemonics-mpx"},{include:"#mnemonics-sgx"},{include:"#mnemonics-cet"},{include:"#mnemonics-amx"},{include:"#mnemonics-uirq"},{include:"#mnemonics-esi"},{include:"#mnemonics-intel-manual-listing"},{include:"#mnemonics-intel-isa-xeon-phi"},{include:"#mnemonics-intel-isa-keylocker"},{include:"#mnemonics-supplemental-amd"},{include:"#mnemonics-supplemental-cyrix"},{include:"#mnemonics-supplemental-via"},{incluLine truncated
export { asm_tmLanguage as default };
@@ -0,0 +1,3 @@
var astro_tmLanguage = {name:"astro",scopeName:"source.astro",fileTypes:["astro"],injections:{"L:(meta.script.astro) (meta.lang.json) - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.json",patterns:[{include:"source.json"}]}]},"L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.js",patterns:[{include:"source.js"}]}]},"L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.ts",patterns:[{include:"source.ts"}]}]},"L:meta.script.astro - meta.lang - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.js",patterns:[{include:"source.js"}]}]},"L:meta.style.astro meta.lang.stylus - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.stylus",patterns:[{include:"source.stylus"}]}]},"L:meta.style.astro meta.lang.sass - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.sass",patterns:[{include:"source.sass"}]}]},"L:meta.style.astro meta.lang.css - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.css",patterns:[{include:"source.css"}]}]},"L:meta.style.astro meta.lang.scss - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.css.scss",patterns:[{include:"source.css.scss"}]}]},"L:meta.style.astro meta.lang.less - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.css.less",patterns:[{include:"source.css.less"}]}]},"L:meta.style.astro meta.lang.postcss - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.css.postcss",patterns:[{include:"source.css.postcss"}]}]},"L:meta.style.astro - meta.lang - (meta source)":{patterns:[{begin:"(?<=>)(?!</)",end:"(?=</)",name:"meta.embedded.block.astro",contentName:"source.css",patterns:[{include:"source.css"}]}]}},patterns:[{include:"#scope"},{include:"#frontmatter"}],repository:{frontmatter:{begin:"\\A(-{3})\\s*$",end:"(^|\\G)(-{3})|\\.{3}\\s*$",beginCaptures:{"1":{name:"comment"}},endCaptures:{"2":{name:"comment"}},contentName:"source.ts",patterns:[{include:"source.ts"}]},scope:{patterns:[{include:"#comments"},{include:"#tags"},{include:"#interpolation"},{begin:"(?<=>|})",end:"(?=<|{)",name:"text.astro"}]},comments:{begin:"<!--",end:"-->",captures:{"0":{name:"punctuation.definition.comment.astro"}},name:"comment.block.astro",patterns:[{match:"\\G-?>|<!--(?!>)|<!-(?=-->)|--!>",name:"invalid.illegal.characters-not-allowed-here.astro"}]},interpolation:{patterns:[{begin:"\\{",end:"\\}",beginCaptures:{"0":{name:"punctuation.section.embedded.begin.astro"}},endCaptures:{"0":{name:"punctuation.section.embedded.end.astro"}},contentName:"meta.embedded.expression.astro source.tsx",patterns:[{begin:"\\G\\s*(?={)",end:"(?<=})",patterns:[{include:"source.tsx#object-literal"}]},{include:"source.tsx"}]}]},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(nline|ffline)|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(data|metadata)))?|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:[{begin:"(?=[^\\s=<>`/]|/(?!>))",end:"(?!\\G)",name:"meta.embedded.line.js",patterns:[{match:"(([^\\s\\\"'=<>`/]|/(?!>))+)",name:"string.unquoted.astro",captures:{"0":{name:"source.js"},"1":{patterns:[{include:"source.js"}]}}},{begin:"([\"])",end:"\\1",beginCaptures:{"0":{name:"punctuation.definition.string.begin.astro"}},endCaptures:{"0":{name:"punctuation.definition.string.end.astro"}},name:"string.quoted.astro",patterns:[{match:"([^\\n\\\"/]|/(?![/*]))+",captures:{"0":{patterns:[{include:"source.js"}]}}},{begin:"//",beginCaptures:{"0":{name:"punctuation.dLine truncated
export { astro_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var awk_tmLanguage = {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|print|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[0-9A-Fa-f]{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:"string.regexp",end:"/",endCaptures:{"0":{name:"punctuation.definition.regex.end.awk"}},patterns:[{include:"source.regexp"}]},"regexp-in-expression":{patterns:[{include:"#regex-as-assignment"},{include:"#regex-as-comparison"},{include:"#regex-as-first-argument"},{include:"#regex-as-nth-argument"}]},"string-constant":{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.awk"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.awk"}},name:"string.quoted.double.awk",patterns:[{include:"#escaped-char"}]},variable:{patterns:[{match:"\\$[0-9]+",name:"variable.language.awk"},{match:"\\b(?:FILENAME|FS|NF|NR|OFMT|OFS|ORS|RS)\\b",name:"variable.language.awk"},{match:"\\b(?:ARGC|ARGV|CONVFMT|ENVIRON|FNR|RLENGTH|RSTART|SUBSEP)\\b",name:"variable.language.nawk"},{match:"\\b(?:ARGIND|ERRNO|FIELDWIDTHS|IGNORECASE|RT)\\b",name:"variable.language.gawk"}]}},scopeName:"source.awk",uuid:"67bd1ff0-006b-4c32-8b97-8bc198777Line truncated
export { awk_tmLanguage as default };
@@ -0,0 +1,3 @@
var ballerina_tmLanguage = {name:"ballerina",scopeName:"source.ballerina",fileTypes:["bal"],uuid:"c01f5512-489a-41bd-ba5d-caf4b55ae3b3",monarchVariables:{typeScope:"type",annotationScope:"type",numberScope:"number",xmlTagAngle:"tag",xmlAttribute:"variable.parameter",xmlTag:"tag",primitiveScope:"type"},tmlVariables:{typeScope:"storage.type.ballerina",annotationScope:"support.type.ballerina",numberScope:"constant.numeric.decimal.ballerina",xmlTagAngle:"punctuation.definition.tag.begin.xml.ballerina",xmlAttribute:"entity.other.attribute-name.xml.ballerina",xmlTag:"entity.name.tag.xml.ballerina",primitiveScope:"support.type.primitive.ballerina"},patterns:[{include:"#statements"}],repository:{statements:{patterns:[{include:"#stringTemplate"},{include:"#declaration"},{include:"#control-statement"},{include:"#decl-block"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"},{include:"#mdDocumentation"},{include:"#keywords"},{include:"#annotationAttachment"},{include:"#regex"}]},declaration:{patterns:[{include:"#import-declaration"},{include:"#var-expr"},{include:"#typeDefinition"},{include:"#function-defn"},{include:"#service-decl"},{include:"#class-defn"},{include:"#enum-decl"},{include:"#source"},{include:"#keywords"}]},"control-statement":{patterns:[{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{"0":{name:"keyword.control.flow.ballerina"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|service|type|var)\\b))",patterns:[{include:"#expression"}]},{include:"#for-loop"},{include:"#if-statement"},{name:"keyword.control.conditional.ballerina",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},expression:{patterns:[{include:"#keywords"},{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#regex"}]},expressionWithoutIdentifiers:{patterns:[{include:"#xml"},{include:"#string"},{include:"#stringTemplate"},{include:"#comment"},{include:"#object-literal"},{include:"#ternary-expression"},{include:"#expression-operators"},{include:"#literal"},{include:"#paranthesised"},{include:"#regex"}]},"object-literal":{name:"meta.objectliteral.ballerina",begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.block.ballerina"}},end:"\\}",endCaptures:{"0":{name:"punctuation.definition.block.ballerina"}},patterns:[{include:"#object-member"},{include:"#punctuation-comma"}]},"import-declaration":{name:"meta.import.ballerina",begin:"\\bimport\\b",beginCaptures:{"0":{name:"keyword.control.import.ballerina"}},end:"\\;",endCaptures:{"0":{name:"punctuation.terminator.statement.ballerina"}},patterns:[{match:"(\\')([_$[:alpha:]][_$[:alnum:]]*)",name:"variable.other.property.ballerina"},{include:"#keywords"},{include:"#comment"},{include:"#import-clause"},{include:"#punctuation-accessor"}]},identifiers:{patterns:[{match:"(?x)(?:(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*(\n ((\n (function\\s*[(<*]) |\n (function\\s+) |\n ([_$[:alpha:]][_$[:alnum:]]*\\s*=>)\n )) |\n ((\n ((<\\s*$)|((<\\s*([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<])*\\>)*\\>)*>\\s*)?[\\(]\\s*((([\\{\\[]\\s*)?$)|((\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})\\s*((:\\s*\\{?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))|((\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\])\\s*((:\\s*\\[?$)|((\\s*([^<>\\(\\)\\{\\}]|\\<([^<>]|\\<([^<>]|\\<[^<>]+\\>)+\\>)+\\>|\\([^\\(\\)]+\\)|\\{[^\\{\\}]+\\})+\\s*)?=\\s*)))))) |\n # sure shot arrow functions even if => is on new line\n(\n (<\\s*([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]))*\\]))([^=<>]|=[^<]|\\<\\s*([_$[:alpha:]]|(\\{([^\\{\\}]|(\\{([^\\{\\}]|\\{[^\\{\\}]*\\})*\\}))*\\})|(\\(([^\\(\\)]|(\\(([^\\(\\)]|\\([^\\(\\)]*\\))*\\)))*\\))|(\\[([^\\[\\]]|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\]Line truncated
export { ballerina_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var bat_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/mmims/language-batchfile/blob/master/grammars/batchfile.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/mmims/language-batchfile/commit/6154ae25a24e01ac9329e7bcf958e093cd8733a9",name:"bat",scopeName:"source.batchfile",injections:{"L:meta.block.repeat.batchfile":{patterns:[{include:"#repeatParameter"}]}},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:{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|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net use|net user|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|sc|schtasks|scp|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|sftp|shadow|shift|showmount|shutdown|sort|ssh|ssh-add|ssh-agent|ssh-keygen|ssh-keyscan|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|wmic|wscript|wsl|xcopy)(?=$|\\s)",name:"keyword.command.batchfile"},{begin:"(?i)(?<=^|[\\s@])(echo)(?:(?=$|\\.|:)|\\s+(?:(on|off)(?=\\s*$))?)",beginCaptures:{"1":{name:"keyword.command.batchfile"},"2":{name:"keyword.other.special-method.batchfile"}},end:"(?=$\\n|[&|><)])",patterns:[{include:"#escaped_characters"},{include:"#variables"},{include:"#numbers"},{include:"#strings"}]},{match:"(?i)(?<=^|[\\s@])(setlocal)(?:\\s*$|\\s+(EnableExtensions|DisableExtensions|EnableDelayedExpansion|DisableDelayedExpansion)(?=\\s*$))",captures:{"1":{name:"keyword.command.batchfile"},"2":{name:"keyword.other.special-method.batchfile"}}},{include:"#command_set"}]},command_set:{patterns:[{begin:"(?<=^|[\\s@])(?i:SET)(?=$|\\s)",beginCaptures:{"0":{name:"keyword.command.batchfile"}},end:"(?=$\\n|[&|><)])",patterns:[{include:"#command_set_inside"}]}]},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:"#Line truncated
export { bat_tmLanguage as default };
@@ -0,0 +1,3 @@
var beancount_tmLanguage = {fileTypes:["beancount"],name:"beancount",patterns:[{comment:"Comments",match:";.*",name:"comment.line.beancount"},{begin:"^\\s*(poptag|pushtag)\\s+(#)([A-Za-z0-9\\-_/.]+)",beginCaptures:{"1":{name:"support.function.beancount"},"2":{name:"keyword.operator.tag.beancount"},"3":{name:"entity.name.tag.beancount"}},comment:"Tag directive",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"}},comment:"Include directive",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"}},comment:"Option directive",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"}},comment:"Plugin directive",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"}},comment:"Open/Close/Pad directive",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"}},comment:"Custom directive",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"}},comment:"Event directive",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"}},comment:"Commodity directive",end:"(?=(^\\s*$|^\\S))",name:"meta.directive.dated.beancount",patterns:[{include:"#comments"},{include:"#meta"},{include:"#commodity"},{include:"#illegal"}]},{name:"meta.directive.notetotext.beancount",comment:"Note as Oneliner Transaction directive",begin:"([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s+(note)(?=(.*\\*\\\"\\s))",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))",patterns:[{include:"#meta"},{include:"#account"},{name:"punctuation.separator.beancount",match:"(?<=\\s)\\\""},{include:"#cost"},{include:"#amount"},{begin:"(\\*|\\!)",beginCaptures:{"0":{name:"support.function.directive.beancount"}},end:"(\\*\\\")",endCaptures:{"0":{name:"punctuation.separator.beancount"}},patterns:[{name:"constant.character.escape.beancount",match:"\\\\."},{include:"#tag"},{name:"string.quoted.double.beancount",match:"([^\\\"])"}]},{include:"#illegal"}]},{begin:"([0-9]{4})([\\-|/])([0-9]{2})([\\-|/])([0-9]{2})\\s(note|document)",beginCaptures:{"1":{name:"conLine truncated
export { beancount_tmLanguage as default };
@@ -0,0 +1,3 @@
var berry_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",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:{controls:{patterns:[{name:"keyword.control.berry",match:"\\b(if|elif|else|for|while|do|end|break|continue|return|try|except|raise)\\b"}]},strings:{patterns:[{name:"string.quoted.double.berry",begin:"(\"|')",end:"\\1",patterns:[{name:"constant.character.escape.berry",match:"(\\\\x[\\h]{2})|(\\\\[0-7]{3})|(\\\\\\\\)|(\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)"}]},{name:"string.quoted.other.berry",begin:"f(\"|')",end:"\\1",patterns:[{name:"constant.character.escape.berry",match:"(\\\\x[\\h]{2})|(\\\\[0-7]{3})|(\\\\\\\\)|(\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)"},{name:"string.quoted.other.berry",match:"\\{\\{[^\\}]*\\}\\}"},{name:"keyword.other.unit.berry",begin:"\\{",end:"\\}",patterns:[{include:"#keywords"},{include:"#numbers"},{include:"#identifier"},{include:"#operator"},{include:"#member"},{include:"#function"}]}]}]},"comment-block":{name:"comment.berry",begin:"\\#\\-",end:"\\-#",patterns:[{}]},comments:{name:"comment.line.berry",begin:"\\#",end:"\\n",patterns:[{}]},keywords:{patterns:[{name:"keyword.berry",match:"\\b(var|static|def|class|true|false|nil|self|super|import|as|_class)\\b"}]},identifier:{patterns:[{name:"identifier.berry",match:"\\b[_A-Za-z]\\w+\\b"}]},number:{patterns:[{name:"constant.numeric.berry",match:"0x[a-fA-F0-9]+|\\d+|(\\d+\\.?|\\.\\d)\\d*([eE][+-]?\\d+)?"}]},operator:{patterns:[{name:"keyword.operator.berry",match:"\\(|\\)|\\[|\\]|\\.|-|\\!|~|\\*|/|%|\\+|&|\\^|\\||<|>|=|:"}]},member:{patterns:[{match:"\\.([a-zA-Z_][a-zA-Z0-9_]*)",captures:{"0":{name:"entity.other.attribute-name.berry"}}}]},"function":{patterns:[{name:"entity.name.function.berry",match:"\\b([a-zA-Z_][a-zA-Z0-9_]*(?=\\s*\\())"}]}},scopeName:"source.berry"};
export { berry_tmLanguage as default };
@@ -0,0 +1,3 @@
var bibtex_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/jlelong/vscode-latex-basics/blob/master/syntaxes/Bibtex.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/jlelong/vscode-latex-basics/commit/7adad0868ecafbb1df978f1e052d6c3c85c38732",name:"bibtex",scopeName:"text.bibtex",comment:"Grammar based on description from http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#comment\n\t\n\tTODO: Does not support @preamble\n\t",patterns:[{begin:"@Comment",beginCaptures:{"0":{name:"punctuation.definition.comment.bibtex"}},end:"$\\n?",name:"comment.line.at-sign.bibtex"},{patterns:[{include:"#percentage_comment"}]},{begin:"((@)(?i:string))\\s*(\\{)\\s*([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)",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:"#string_content"}]},{begin:"((@)(?i:string))\\s*(\\()\\s*([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)",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:"#string_content"}]},{begin:"((@)[a-zA-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:[{include:"#percentage_comment"},{include:"#url_field"},{begin:"([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)\\s*(\\=)",beginCaptures:{"1":{name:"support.function.key.bibtex"},"2":{name:"punctuation.separator.key-value.bibtex"}},end:"(?=[,}])",name:"meta.key-assignment.bibtex",patterns:[{include:"#percentage_comment"},{include:"#integer"},{include:"#string_content"},{include:"#string_var"}]}]},{begin:"((@)[a-zA-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:[{include:"#percentage_comment"},{include:"#url_field"},{begin:"([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)\\s*(\\=)",beginCaptures:{"1":{name:"support.function.key.bibtex"},"2":{name:"punctuation.separator.key-value.bibtex"}},end:"(?=[,)])",name:"meta.key-assignment.bibtex",patterns:[{include:"#percentage_comment"},{include:"#integer"},{include:"#string_content"},{include:"#string_var"}]}]},{begin:"[^@\\n]",end:"(?=@)",name:"comment.block.bibtex"}],repository:{integer:{match:"\\s*(\\d+)\\s*",captures:{"1":{name:"constant.numeric.bibtex"}}},nested_braces:{begin:"(?<!\\\\)\\{",beginCaptures:{"0":{name:"punctuation.definition.group.begin.bibtex"}},end:"(?<!\\\\)\\}",endCaptures:{"0":{name:"punctuation.definition.group.end.bibtex"}},patterns:[{include:"#nested_braces"}]},string_var:{match:"(#)?\\s*([a-zA-Z0-9\\!\\$\\&\\*\\+\\-\\.\\/\\:\\;\\<\\>\\?\\[\\]\\^\\_\\`\\|]+)\\s*(#)?",captures:{"1":{name:"keyword.operator.bibtex"},"2":{name:"support.variable.bibtex"},"3":{name:"keyword.operator.bibtex"}}},string_content:{patterns:[{begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.string.begin.bibtex"}},end:"(\\})(?=(?:,?\\s*\\}?\\s*\\n)|(?:\\s*#))",endCaptures:{"1":{name:"punctuation.definition.string.end.bibtex"}},patterns:[{include:"#url_cmd"},{include:"#percentage_comment"},{match:"@",name:"invalid.illegal.at-sign.bibtex"},{include:"#nested_braces"}]},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.bibtex"}},end:"\"(?=(?:,?\\s*\\}?\\s*\\n)|(?:\\s*#))",endCaptures:{"0":{name:"punctuation.definition.string.end.bibtex"}},patterns:[{include:"#url_cmd"},{include:"#percentage_comment"},{match:"@",name:"invalid.illegal.at-sign.bibtex"}]}]},string_url:{patterns:[{begin:"\\{|\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.bibtex"}},end:"(\\}|\")(?=(?:,?\\s*\\}?\\s*\\n)|(?:\\s*#))",endCaptures:{"1":{name:"punctuation.definition.string.end.bibtex"}},contentName:"meta.url.bibtex",pLine truncated
export { bibtex_tmLanguage as default };
@@ -0,0 +1,3 @@
var bicep_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"bicep",scopeName:"source.bicep",fileTypes:[".bicep"],patterns:[{include:"#expression"},{include:"#comments"}],repository:{"array-literal":{name:"meta.array-literal.bicep",begin:"\\[(?!(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\bfor\\b)",end:"]",patterns:[{include:"#expression"},{include:"#comments"}]},"block-comment":{name:"comment.block.bicep",begin:"/\\*",end:"\\*/"},comments:{patterns:[{include:"#line-comment"},{include:"#block-comment"}]},decorator:{name:"meta.decorator.bicep",begin:"@(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*(?=\\b[_$[:alpha:]][_$[:alnum:]]*\\b)",end:"",patterns:[{include:"#expression"},{include:"#comments"}]},directive:{name:"meta.directive.bicep",begin:"#\\b[_a-zA-Z-0-9]+\\b",end:"$",patterns:[{include:"#directive-variable"},{include:"#comments"}]},"directive-variable":{name:"keyword.control.declaration.bicep",match:"\\b[_a-zA-Z-0-9]+\\b"},"escape-character":{name:"constant.character.escape.bicep",match:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)"},expression:{patterns:[{include:"#string-literal"},{include:"#string-verbatim"},{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":{name:"meta.function-call.bicep",begin:"(\\b[_$[:alpha:]][_$[:alnum:]]*\\b)(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\(",beginCaptures:{"1":{name:"entity.name.function.bicep"}},end:"\\)",patterns:[{include:"#expression"},{include:"#comments"}]},identifier:{name:"variable.other.readwrite.bicep",match:"\\b[_$[:alpha:]][_$[:alnum:]]*\\b(?!(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\()"},keyword:{name:"keyword.control.declaration.bicep",match:"\\b(metadata|targetScope|resource|module|param|var|output|for|in|if|existing|import|as|type|with|using|func|assert)\\b"},"lambda-start":{name:"meta.lambda-start.bicep",begin:"(\\((?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\b[_$[:alpha:]][_$[:alnum:]]*\\b(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*(,(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\b[_$[:alpha:]][_$[:alnum:]]*\\b(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*)*\\)|\\((?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\)|(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*\\b[_$[:alpha:]][_$[:alnum:]]*\\b(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*)(?=(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*=>)",beginCaptures:{"1":{name:"meta.undefined.bicep",patterns:[{include:"#identifier"},{include:"#comments"}]}},end:"(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*=>"},"line-comment":{name:"comment.line.double-slash.bicep",match:"//.*(?=$)"},"named-literal":{name:"constant.language.bicep",match:"\\b(true|false|null)\\b"},"numeric-literal":{name:"constant.numeric.bicep",match:"[0-9]+"},"object-literal":{name:"meta.object-literal.bicep",begin:"{",end:"}",patterns:[{include:"#object-property-key"},{include:"#expression"},{include:"#comments"}]},"object-property-key":{name:"variable.other.property.bicep",match:"\\b[_$[:alpha:]][_$[:alnum:]]*\\b(?=(?:[ \\t\\r\\n]|\\/\\*(?:\\*(?!\\/)|[^*])*\\*\\/)*:)"},"string-literal":{name:"string.quoted.single.bicep",begin:"'(?!'')",end:"'",patterns:[{include:"#escape-character"},{include:"#string-literal-subst"}]},"string-literal-subst":{name:"meta.string-literal-subst.bicep",begin:"(?<!\\\\)(\\${)",beginCaptures:{"1":{name:"punctuation.definition.template-expression.begin.bicep"}},end:"(})",endCaptures:{"1":{name:"punctuation.definition.template-expression.end.bicep"}},patterns:[{include:"#expression"},{include:"#comments"}]},"string-verbatim":{name:"string.quoted.multi.bicep",begin:"'''",end:"'''",patterns:[]}}};
export { bicep_tmLanguage as default };
@@ -0,0 +1,3 @@
var blade_tmLanguage = {scopeName:"text.html.php.blade",name:"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"}]}]}]}},patterns:[{include:"text.html.basic"}],repository:{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:[{name:"invalid.illegal.php-code-in-comment.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:"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:"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:"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:"begin.bracket.round.blade"},"1":{name:"variable.other.index.php"}},contentName:"source.php",end:"}}",endCaptures:{"0":{name:"end.bracket.round.blade"},"1":{name:"source.php"}},name:"meta.function.echo.blade",patterns:[{include:"#language"}]},{begin:"(?x)(?<![A-Za-z0-9_@]) (@ (?i:\n auth\n |break\n |can\n |cannot\n |case\n |choice\n |component\n |continue\n |dd\n |dump\n |each\n |elsecan\n |elsecannot\n |elseif\n |empty\n |error\n |extends\n |for\n |foreach\n |forelse\n Line truncated
export { blade_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var c_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/jeff-hykin/better-c-syntax/blob/master/autogenerated/c.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/jeff-hykin/better-c-syntax/commit/34712a6106a4ffb0a04d2fa836fd28ff6c5849a4",name:"c",scopeName:"source.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":{name:"meta.function-call.member.c",begin:"([a-zA-Z_][a-zA-Z_0-9]*|(?<=[\\]\\)]))\\s*(?:(\\.)|(->))((?:(?:[a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(?:\\.)|(?:->)))*)\\s*([a-zA-Z_][a-zA-Z_0-9]*)(\\()",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-zA-Z_][a-zA-Z_0-9]*",name:"variable.object.c"},{name:"everything.else.c",match:".+"}]},"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"}},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:"(?x) \\b\n(int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|int_least8_t\n|int_least16_t|int_least32_t|int_least64_t|uint_least8_t|uint_least16_t|uint_least32_t\n|uint_least64_t|int_fast8_t|int_fast16_t|int_fast32_t|int_fast64_t|uint_fast8_t\n|uint_fast16_t|uint_fast32_t|uint_fast64_t|intptr_t|uintptr_t|intmax_t|intmax_t\n|uintmax_t|uintmax_t)\n\\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:"(?x) \\b\n(AbsoluteTime|Boolean|Byte|ByteCount|ByteOffset|BytePtr|CompTimeValue|ConstLogicalAddress|ConstStrFileNameParam\n|ConstStringPtr|Duration|Fixed|FixedPtr|Float32|Float32Point|Float64|Float80|Float96|FourCharCode|Fract|FractPtr\n|Handle|ItemCount|LogicalAddress|OptionBits|OSErr|OSStatus|OSType|OSTypePtr|PhysicalAddress|ProcessSerialNumber\n|ProcessSerialNumberPtr|ProcHandle|Ptr|ResType|ResTypePtr|ShortFixed|ShortFixedPtr|SignedByte|SInt16|SInt32|SInt64\n|SInt8|Size|StrFileName|StringHandle|StringPtr|TimeBase|TimeRecord|TimeScale|TimeValue|TimeValue64|UInt16|UInt32\n|UInt64|UInt8|UniChar|UniCharCount|UniCharCountPtr|UniCharPtr|UnicodeScalarValue|UniversalProcHandle|UniversalProcPtr\n|UnsignedFixed|UnsignedFixedPtr|UnsignedWide|UTF16Char|UTF32Char|UTF8Char)\n\\b",name:"support.type.mac-classic.c"},anon_pattern_13:{match:"\\b([A-Za-z0-9_]+_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_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_tLine truncated
export { c_tmLanguage as default };
@@ -0,0 +1,3 @@
var cadence_tmLanguage = {scopeName:"source.cadence",patterns:[{include:"#comments"},{include:"#expressions"},{include:"#declarations"},{include:"#keywords"},{include:"#code-block"},{include:"#composite"},{include:"#event"}],repository:{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"}]}}},literals:{patterns:[{include:"#boolean"},{include:"#numeric"},{include:"#string"},{match:"\\bnil\\b",name:"constant.language.nil.cadence"}],repository:{boolean:{match:"\\b(true|false)\\b",name:"constant.language.boolean.cadence"},numeric:{patterns:[{include:"#binary"},{include:"#octal"},{include:"#decimal"},{include:"#hexadecimal"}],repository:{binary:{comment:"",match:"(\\B\\-|\\b)0b[01]([_01]*[01])?\\b",name:"constant.numeric.integer.binary.cadence"},octal:{comment:"",match:"(\\B\\-|\\b)0o[0-7]([_0-7]*[0-7])?\\b",name:"constant.numeric.integer.octal.cadence"},decimal:{comment:"",match:"(\\B\\-|\\b)[0-9]([_0-9]*[0-9])?\\b",name:"constant.numeric.integer.decimal.cadence"},hexadecimal:{comment:"",match:"(\\B\\-|\\b)0x[0-9A-Fa-f]([_0-9A-Fa-f]*[0-9A-Fa-f])?\\b",name:"constant.numeric.integer.hexadecimal.cadence"}}},string:{patterns:[{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.cadence"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.cadence"}},name:"string.quoted.double.single-line.cadence",patterns:[{match:"\\r|\\n",name:"invalid.illegal.returns-not-allowed.cadence"},{include:"#string-guts"}]}],repository:{"string-guts":{patterns:[{match:"\\\\[0\\\\tnr\"']",name:"constant.character.escape.cadence"},{match:"\\\\u\\{[0-9a-fA-F]{1,8}\\}",name:"constant.character.escape.unicode.cadence"}]}}}}},operators:{patterns:[{match:"\\-",name:"keyword.operator.arithmetic.unary.cadence"},{match:"!",name:"keyword.operator.logical.not.cadence"},{match:"=",name:"keyword.operator.assignment.cadence"},{match:"<-",name:"keyword.operator.move.cadence"},{match:"<-!",name:"keyword.operator.force-move.cadence"},{match:"\\+|\\-|\\*|/",name:"keyword.operator.arithmetic.cadence"},{match:"%",name:"keyword.operator.arithmetic.remainder.cadence"},{match:"==|!=|>|<|>=|<=",name:"keyword.operator.comparison.cadence"},{match:"\\?\\?",name:"keyword.operator.coalescing.cadence"},{match:"&&|\\|\\|",name:"keyword.operator.logical.cadence"},{match:"[?!]",name:"keyword.operator.type.optional.cadence"}]},keywords:{patterns:[{match:"(?<!\\.)\\b(?:if|else|switch|case|default)\\b",name:"keyword.control.branch.cadence"},{match:"(?<!\\.)\\b(?:return|continue|break)\\b",name:"keyword.control.transfer.cadence"},{match:"(?<!\\.)\\b(?:while|for|in)\\b",name:"keyword.control.loop.cadence"},{match:"(?<!\\.)\\b(?:pre|post|prepare|execute|create|destroy|emit)\\b",name:"keyword.other.cadence"},{match:"(?<!\\.)\\b(?:private|pub(?:\\(set\\))?|access\\((?:self|contract|account|all)\\))\\b",name:"keyword.other.declaration-specifier.accessibility.cadence"},{match:"\\b(?:init|destroy)\\b",name:"storage.type.function.cadence"},{match:"(?<!\\.)\\b(?:import|from)\\b",name:"keyword.control.import.cadence"}]},"code-block":{begin:"\\{",beginCaptures:{"0":{name:"punctuation.section.scope.begin.cadence"}},end:"\\}",endCaptures:{"0":{name:"punctuation.section.scope.end.cadence"}},patterns:[{include:"$self"}]},"function":{begin:"\\b(fun)\\b\\s+([\\p{L}_][\\p{L}_\\p{N}\\p{M}]*)\\s*",beginCaptures:{"1":{name:"storage.type.function.cadence"},"2":{name:"entity.name.function.cadence"}},end:"(?<=\\})|$",name:"meta.definition.function.cadence"Line truncated
export { cadence_tmLanguage as default };
@@ -0,0 +1,3 @@
var clarity_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"clarity",scopeName:"source.clar",uuid:"f9e9871d-2ea6-4be0-afd2-fc382d704716",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:{comment:{name:"comment.line.semicolon.clarity",match:"(?x) (?<=^|[()\\[\\]{}\",'`;\\s]) (;) .* $"},expression:{patterns:[{include:"#comment"},{include:"#keyword"},{include:"#literal"},{include:"#let-func"},{include:"#built-in-func"},{include:"#get-set-func"}]},keyword:{name:"constant.language.clarity",match:"(?<!\\S)(?!-)\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stx-liquid-supply|tx-sender|tx-sponsor?)\\b(?!\\s*-)"},"define-function":{begin:"(?x) (\\() \\s* (define-(?:public|private|read-only)) \\s+",end:"(\\))",beginCaptures:{"1":{name:"punctuation.define-function.start.clarity"},"2":{name:"keyword.declaration.define-function.clarity"}},endCaptures:{"1":{name:"punctuation.define-function.end.clarity"}},name:"meta.define-function",patterns:[{include:"#expression"},{begin:"(?x) (\\() \\s* ([a-zA-Z][\\w\\?\\!\\-]*) \\s*",end:"(\\))",beginCaptures:{"1":{name:"punctuation.function-signature.start.clarity"},"2":{name:"entity.name.function.clarity"}},endCaptures:{"1":{name:"punctuation.function-signature.end.clarity"}},name:"meta.define-function-signature",patterns:[{begin:"(?x) (\\() \\s* ([a-zA-Z][\\w\\?\\!\\-]*) \\s+",end:"(\\))",beginCaptures:{"1":{name:"punctuation.function-argument.start.clarity"},"2":{name:"variable.parameter.clarity"}},endCaptures:{"1":{name:"punctuation.function-argument.end.clarity"}},name:"meta.function-argument",patterns:[{include:"#data-type"}]}]},{include:"#user-func"}]},"define-fungible-token":{match:"(?x) (\\() \\s* (define-fungible-token) \\s+ ([a-zA-Z][\\w\\?\\!\\-]*) (?:\\s+(u\\d+))?",captures:{"1":{name:"punctuation.define-fungible-token.start.clarity"},"2":{name:"keyword.declaration.define-fungible-token.clarity"},"3":{name:"entity.name.fungible-token-name.clarity variable.other.clarity"},"4":{name:"constant.numeric.fungible-token-total-supply.clarity"},"5":{name:"punctuation.define-fungible-token.end.clarity"}}},"define-non-fungible-token":{begin:"(?x) (\\() \\s* (define-non-fungible-token) \\s+ ([a-zA-Z][\\w\\?\\!\\-]*) \\s+",end:"(\\))",beginCaptures:{"1":{name:"punctuation.define-non-fungible-token.start.clarity"},"2":{name:"keyword.declaration.define-non-fungible-token.clarity"},"3":{name:"entity.name.non-fungible-token-name.clarity variable.other.clarity"}},endCaptures:{"1":{name:"punctuation.define-non-fungible-token.end.clarity"}},name:"meta.define-non-fungible-token",patterns:[{include:"#data-type"}]},"define-trait":{begin:"(?x) (\\() \\s* (define-trait) \\s+ ([a-zA-Z][\\w\\?\\!\\-]*) \\s+",end:"(\\))",beginCaptures:{"1":{name:"punctuation.define-trait.start.clarity"},"2":{name:"keyword.declaration.define-trait.clarity"},"3":{name:"entity.name.trait-name.clarity variable.other.clarity"}},endCaptures:{"1":{name:"punctuation.define-trait.end.clarity"}},name:"meta.define-trait",patterns:[{begin:"(?x) (\\() \\s*",end:"(\\))",beginCaptures:{"1":{name:"punctuation.define-trait-body.start.clarity"}},endCaptures:{"1":{name:"punctuation.define-trait-body.end.clarity"}},name:"meta.define-trait-body",patterns:[{include:"#expression"},{begin:"(?x) (\\() \\s* ([a-zA-Z][\\w\\!\\?\\-]*) \\s+",end:"(\\))",beginCaptures:{"1":{name:"punctuation.trait-function.start.clarity"},"2":{name:"entity.name.function.clarity"}},endCaptures:{"1":{name:"punctuation.trait-function.end.clarity"}},name:"meta.trait-function",patterns:[{include:"#data-type"},{begin:"(?x) (\\() \\s*",end:"(\\))",beginCaptures:{"1":{name:"punctuation.trait-function-args.start.clarity"}},endCaptures:{"1":{name:"punctuation.trait-function-args.end.clarity"}},name:"meta.trait-function-args",patterns:[{include:"#data-type"}]}]}]}]},"use-trait":{begin:"(?x) (\\() \\s* (use-trait) \\s+ ([a-zA-Z][\\w\\?\\!\\-]*) \\s+",end:"(\\))",beginCaptures:{"1":{name:"punctuation.use-trait.start.clarity"},"2":{name:"keyword.declaration.use-trait.clarity"},"3":{name:"entity.name.trait-alias.clarity variable.other.clarity"}},endCaptures:{"1":{name:"punctuation.use-trait.end.clarity"}},name:"meta.use-trait",patterns:[{include:"#literal"}]},"define-constant":{begin:"(?x) (\\() \\s* (define-constant) \\s+ ([a-zA-Z][\\w\\?\\!\\-]*) \\s+",end:"(\\))",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"}},endCaptures:{"1":{name:"punctuation.define-constant.end.clarity"}},name:"meta.define-constant",patterns:[{include:"#expression"}]},"define-data-var":{begin:"(?x) (\\() \\s* (define-data-var) \\s+ ([a-zALine truncated
export { clarity_tmLanguage as default };
@@ -0,0 +1,3 @@
var clojure_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/atom/language-clojure/blob/master/grammars/clojure.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/atom/language-clojure/commit/45bdb881501d0b8f8b707ca1d3fcc8b4b99fca03",name:"clojure",scopeName:"source.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][0-9a-fA-F]+N?)",name:"constant.numeric.hexadecimal.clojure"},{match:"([-+]?0[0-7]+N?)",name:"constant.numeric.octal.clojure"},{match:"([-+]?[0-9]+(?:(\\.|(?=[eEM]))[0-9]*([eE][-+]?[0-9]+)?)M?)",name:"constant.numeric.double.clojure"},{match:"([-+]?\\d+N?)",name:"constant.numeric.long.clojure"},{include:"#keyword"}]},keyword:{match:"(?<=(\\s|\\(|\\[|\\{)):[\\w\\#\\.\\-\\_\\:\\+\\=\\>\\<\\/\\!\\?\\*]+(?=(\\s|\\)|\\]|\\}|\\,))",name:"constant.keyword.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"}]},"dynamic-variables":{match:"\\*[\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\d]+\\*",name:"meta.symbol.dynamic.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"}]}]},"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.clojure"},"3":{name:"punctuation.section.expression.end.clojure"}},name:"meta.expression.clojure",patterns:[{begin:"(?<=\\()(ns|declare|def[\\w\\d._:+=><!?*-]*|[\\w._:+=><!?*-][\\w\\d._:+=><!?*-]*/def[\\w\\d._:+=><!?*-]*)\\s+",beginCaptures:{"1":{name:"keyword.control.clojure"}},end:"(?=\\))",name:"meta.definition.global.clojure",patterns:[{include:"#metadata"},{include:"#dynamic-variables"},{match:"([\\p{L}\\.\\-\\_\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\Line truncated
export { clojure_tmLanguage as default };
@@ -0,0 +1,3 @@
var cmake_tmLanguage = {fileTypes:["cmake","CMakeLists.txt"],name:"cmake",patterns:[{comment:"Variables That Describe the System",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"},{comment:"cmakeOperators",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|NAME|NAMES|NAME_WE|NOT|OFF|ON|OR|PATH|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"},{comment:"Commands",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"},{comment:"Variables That Change Behavior",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"},{comment:"Variables that Control the Build",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"},{comment:"Variables that Provide Information",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_LIBLine truncated
export { cmake_tmLanguage as default };
@@ -0,0 +1,3 @@
var cobol_tmLanguage = {_copyright:"The MIT License (MIT)\nCopyright (c) 2015-2022 spgennard\nSource: https://github.com/spgennard/vscode_cobol/blob/main/syntaxes/COBOL.tmLanguage.json",$schema:"https://raw.githubusercontent.com/spgennard/vscode_cobol/main/schemas/tmlanguage.json",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"},{match:"(^[ \\*][ \\*][ \\*][ \\*][ \\*][ \\*])(\\/.*$)",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:"(^[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.newpage"}}},{match:"^[0-9\\s][0-9\\s][0-9\\s][0-9\\s][0-9\\s][0-9\\s]$",name:"constant.numeric.cobol"},{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-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ][0-9a-zA-Z\\s\\$#%\\.@\\- ])(\\*.*$)",captures:{"1":{name:"constant.cobol"},"2":{name:"comment.line.cobol.fixed"}}},{match:"^\\s+(78)\\s+([0-9a-zA-Z][a-zA-Z\\-0-9_]+)",captures:{"1":{name:"constant.numeric.cobol"},"2":{name:"variable.other.constant"}}},{match:"^\\s+([0-9]+)\\s+([0-9a-zA-Z][a-zA-Z\\-0-9_]+)\\s+((?i:constant))",captures:{"1":{name:"constant.numeric.cobol"},"2":{name:"variable.other.constant"},"3":{name:"keyword.identifers.cobol"}}},{match:"(^[0-9a-zA-Z\\s\\$#%\\.@][0-9a-zA-Z\\s\\$#%\\.@][0-9a-zA-Z\\s\\$#%\\.@][0-9a-zA-Z\\s\\$#%\\.@][0-9a-zA-Z\\s\\$#%\\.@][0-9a-zA-Z\\s\\$#%\\.@])(\\/.*$)",captures:{"1":{name:"constant.cobol"},"2":{name:"comment.line.cobol.newpage"}}},{match:"^\\*.*$",name:"comment.line.cobol.fixed"},{match:"((?:^|\\s+)(?i:\\$set)\\s+)((?i:constant)\\s+)([0-9a-zA-Z][a-zA-Z\\-0-9]+\\s*)([a-zA-Z\\-0-9]*)",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:"((?i:\\$\\s*set\\s+)(ilusing)(\\()(.*)(\\)))",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:\\$set))\\s+(\\w+)\\s*(\")(\\w*)(\")",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*(\\()(.*)(\\))",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:"(?:^|\\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:{"0":{name:"keyword.control.directive.conditional.cobol"},"1":{name:"invalid.illegal.directive"},"2":{name:"comment.line.set.cobol"}}},{match:"(\\$region|\\$end-region)(.*$)",captures:{"1":{name:"keyword.control.directive.cobol"},"2":{name:"entity.other.attribute-name.preprocessor.cobol"}}},{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:"((((>>|\\$)[\\s]*)(?i:if|else|elif|end-if|end-evaluate|end|define|evaluate|when|display|call-convention|set))(.*$))",captures:{"1":{name:"keyword.control.directive.conditional.cobol"},"2":{name:"entity.name.function.preprocessor.cobol"},"3":{name:"entity.name.function.preprocessor.cobol"}}},{match:"(\\*>)\\s+(@[0-9a-zA-Z][a-zA-Z\\-0-9]+)\\s+(.*$)",captures:{"1":{name:"comment.line.scantoken.cobol"},"2":{name:"keyword.cobol"},"3":{name:"string.cobol"}}},{match:"(\\*>.*$)",name:"comment.line.modern"},{match:"(>>.*)$"Line truncated
export { cobol_tmLanguage as default };
@@ -0,0 +1,3 @@
var codeql_tmLanguage = {name:"codeql",scopeName:"source.ql",fileTypes:["ql","qll"],uuid:"7F6926BF-1C6C-468A-A7AA-215EBAC86A4E",patterns:[{include:"#module-member"}],repository:{"id-character":{match:"(?x)[0-9A-Za-z_]"},"end-of-id":{match:"(?x)(?!(?:[0-9A-Za-z_]))"},"simple-id":{match:"(?x)\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"lower-id":{match:"(?x)\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"upper-id":{match:"(?x)\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"at-lower-id":{match:"(?x)@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"comment-start":{match:"(?x)// | /\\*"},"whitespace-or-comment-start":{match:"(?x)\\s | $ | (?:// | /\\*)"},"non-context-sensitive":{patterns:[{include:"#comment"},{include:"#literal"},{include:"#operator-or-punctuation"},{include:"#keyword"}]},"relational-operator":{match:"(?x)<=|<|>=|>",name:"keyword.operator.relational.ql"},"comparison-operator":{match:"(?x)=|\\!\\=",name:"keyword.operator.comparison.ql"},"arithmetic-operator":{match:"(?x)\\+|-|\\*|/|%",name:"keyword.operator.arithmetic.ql"},comma:{match:"(?x),",name:"punctuation.separator.comma.ql"},semicolon:{match:"(?x);",name:"punctuation.separator.statement.ql"},dot:{match:"(?x)\\.",name:"punctuation.accessor.ql"},dotdot:{match:"(?x)\\.\\.",name:"punctuation.operator.range.ql"},pipe:{match:"(?x)\\|",name:"punctuation.separator.pipe.ql"},"open-paren":{match:"(?x)\\(",name:"punctuation.parenthesis.open.ql"},"close-paren":{match:"(?x)\\)",name:"punctuation.parenthesis.close.ql"},"open-brace":{match:"(?x)\\{",name:"punctuation.curlybrace.open.ql"},"close-brace":{match:"(?x)\\}",name:"punctuation.curlybrace.close.ql"},"open-bracket":{match:"(?x)\\[",name:"punctuation.squarebracket.open.ql"},"close-bracket":{match:"(?x)\\]",name:"punctuation.squarebracket.close.ql"},"operator-or-punctuation":{patterns:[{include:"#relational-operator"},{include:"#comparison-operator"},{include:"#arithmetic-operator"},{include:"#comma"},{include:"#semicolon"},{include:"#dot"},{include:"#dotdot"},{include:"#pipe"},{include:"#open-paren"},{include:"#close-paren"},{include:"#open-brace"},{include:"#close-brace"},{include:"#open-bracket"},{include:"#close-bracket"}]},"dont-care":{match:"(?x)\\b(?:_)(?:(?!(?:[0-9A-Za-z_])))",name:"variable.language.dont-care.ql"},and:{match:"(?x)\\b(?:and)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.and.ql"},any:{match:"(?x)\\b(?:any)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.quantifier.any.ql"},as:{match:"(?x)\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.as.ql"},asc:{match:"(?x)\\b(?:asc)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.order.asc.ql"},avg:{match:"(?x)\\b(?:avg)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.aggregate.avg.ql"},boolean:{match:"(?x)\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.type.boolean.ql"},by:{match:"(?x)\\b(?:by)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.order.by.ql"},"class":{match:"(?x)\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.class.ql"},concat:{match:"(?x)\\b(?:concat)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.aggregate.concat.ql"},count:{match:"(?x)\\b(?:count)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.aggregate.count.ql"},date:{match:"(?x)\\b(?:date)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.type.date.ql"},desc:{match:"(?x)\\b(?:desc)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.order.desc.ql"},"else":{match:"(?x)\\b(?:else)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.else.ql"},exists:{match:"(?x)\\b(?:exists)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.quantifier.exists.ql"},"extends":{match:"(?x)\\b(?:extends)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.extends.ql"},"false":{match:"(?x)\\b(?:false)(?:(?!(?:[0-9A-Za-z_])))",name:"constant.language.boolean.false.ql"},float:{match:"(?x)\\b(?:float)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.type.float.ql"},forall:{match:"(?x)\\b(?:forall)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.quantifier.forall.ql"},forex:{match:"(?x)\\b(?:forex)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.quantifier.forex.ql"},from:{match:"(?x)\\b(?:from)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.from.ql"},"if":{match:"(?x)\\b(?:if)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.if.ql"},implies:{match:"(?x)\\b(?:implies)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.implies.ql"},"import":{match:"(?x)\\b(?:import)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.import.ql"},"in":{match:"(?x)\\b(?:in)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.in.ql"},"instanceof":{match:"(?x)\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.instanceof.ql"},int:{match:"(?x)\\b(?:int)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.type.int.ql"},max:{match:"(?x)\\b(?:max)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.aggregate.max.ql"},min:{match:"(?x)\\b(?:min)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.aggregate.min.ql"},module:{match:"(?x)\\b(?:module)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.module.ql"},newtype:{match:"(?x)\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.other.newtype.ql"},none:{match:"(?x)\\b(?:none)(?:(?!(?:[0-9A-Za-z_])))",name:"keyword.quantifieLine truncated
export { codeql_tmLanguage as default };
@@ -0,0 +1,3 @@
var coffee_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/atom/language-coffee-script/blob/master/grammars/coffeescript.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/atom/language-coffee-script/commit/0f6db9143663e18b1ad00667820f46747dba495e",name:"coffee",scopeName:"source.coffee",patterns:[{include:"#jsx"},{match:"(new)\\s+(?:(?:(class)\\s+(\\w+(?:\\.\\w*)*)?)|(\\w+(?:\\.\\w*)*))",name:"meta.class.instance.constructor.coffee",captures:{"1":{name:"keyword.operator.new.coffee"},"2":{name:"storage.type.class.coffee"},"3":{name:"entity.name.type.instance.coffee"},"4":{name:"entity.name.type.instance.coffee"}}},{begin:"'''",beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:"'''",endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.single.heredoc.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:"(\\\\).",name:"constant.character.escape.backslash.coffee"}]},{begin:"\"\"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},end:"\"\"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.coffee"}},name:"string.quoted.double.heredoc.coffee",patterns:[{captures:{"1":{name:"punctuation.definition.escape.backslash.coffee"}},match:"(\\\\).",name:"constant.character.escape.backslash.coffee"},{include:"#interpolated_coffee"}]},{match:"(`)(.*)(`)",name:"string.quoted.script.coffee",captures:{"1":{name:"punctuation.definition.string.begin.coffee"},"2":{name:"source.js.embedded.coffee",patterns:[{include:"source.js"}]},"3":{name:"punctuation.definition.string.end.coffee"}}},{begin:"(?<!#)###(?!#)",beginCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},end:"###",endCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},name:"comment.block.coffee",patterns:[{match:"(?<=^|\\s)@\\w*(?=\\s)",name:"storage.type.annotation.coffee"}]},{begin:"#",beginCaptures:{"0":{name:"punctuation.definition.comment.coffee"}},end:"$",name:"comment.line.number-sign.coffee"},{begin:"///",end:"(///)[gimuy]*",name:"string.regexp.multiline.coffee",beginCaptures:{"0":{name:"punctuation.definition.string.begin.coffee"}},endCaptures:{"1":{name:"punctuation.definition.string.end.coffee"}},patterns:[{include:"#heregexp"}]},{begin:"(?<![\\w$])(/)(?=(?![/*+?])(.+)(/)[gimuy]*(?!\\s*[\\w$/(]))",beginCaptures:{"1":{name:"punctuation.definition.string.begin.coffee"}},end:"(/)[gimuy]*(?!\\s*[\\w$/(])",endCaptures:{"1":{name:"punctuation.definition.string.end.coffee"}},name:"string.regexp.coffee",patterns:[{include:"source.js.regexp"}]},{match:"\\b(?<![\\.\\$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\s+own)(?!\\s*:)\\b",name:"keyword.control.coffee"},{match:"\\b(?<![\\.\\$])(delete|instanceof|new|typeof)(?!\\s*:)\\b",name:"keyword.operator.$1.coffee"},{match:"\\b(?<![\\.\\$])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\s*:)\\b",name:"keyword.reserved.coffee"},{begin:"(?x)\n(?<=\\s|^)((@)?[a-zA-Z_$][\\w$]*)\n\\s*([:=])\\s*\n(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)",beginCaptures:{"1":{name:"entity.name.function.coffee"},"2":{name:"variable.other.readwrite.instance.coffee"},"3":{name:"keyword.operator.assignment.coffee"}},end:"[=-]>",endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:"(?x)\n(?<=\\s|^)(?:((')([^']*?)('))|((\")([^\"]*?)(\")))\n\\s*([:=])\\s*\n(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)",beginCaptures:{"1":{name:"string.quoted.single.coffee"},"2":{name:"punctuation.definition.string.begin.coffee"},"3":{name:"entity.name.function.coffee"},"4":{name:"punctuation.definition.string.end.coffee"},"5":{name:"string.quoted.double.coffee"},"6":{name:"punctuation.definition.string.begin.coffee"},"7":{name:"entity.name.function.coffee"},"8":{name:"punctuation.definition.string.end.coffee"},"9":{name:"keyword.operator.assignment.coffee"}},end:"[=-]>",endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.coffee",patterns:[{include:"#function_params"}]},{begin:"(?=(\\([^\\(\\)]*\\)\\s*)?[=-]>)",end:"[=-]>",endCaptures:{"0":{name:"storage.type.function.coffee"}},name:"meta.function.inline.coffee",patterns:[{include:"#function_params"}]},{begin:"(?<=\\s|^)({)(?=[^'\"#]+?}[\\s\\]}]*=)",beginCaptures:{"1":{name:"punctuation.definition.destructuring.begin.bracket.curly.coffee"}},end:"}",endCaptures:{"0":{name:"punctuation.definition.destructuring.end.bracket.curly.coffee"}},name:"meta.variable.assignment.destructured.object.coffee",patterns:[{include:"$self"},{match:"[a-zA-Z$_]\\w*",Line truncated
export { coffee_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var cpp_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/jeff-hykin/better-cpp-syntax/blob/master/autogenerated/cpp.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/jeff-hykin/better-cpp-syntax/commit/f1d127a8af2b184db570345f0bb179503c47fdf6",name:"cpp",scopeName:"source.cpp",patterns:[{include:"#ever_present_context"},{include:"#constructor_root"},{include:"#destructor_root"},{include:"#function_definition"},{include:"#operator_overload"},{include:"#using_namespace"},{include:"#type_alias"},{include:"#using_name"},{include:"#namespace_alias"},{include:"#namespace_block"},{include:"#extern_block"},{include:"#typedef_class"},{include:"#typedef_struct"},{include:"#typedef_union"},{include:"#misc_keywords"},{include:"#standard_declares"},{include:"#class_block"},{include:"#struct_block"},{include:"#union_block"},{include:"#enum_block"},{include:"#template_isolated_definition"},{include:"#template_definition"},{include:"#template_explicit_instantiation"},{include:"#access_control_keywords"},{include:"#block"},{include:"#static_assert"},{include:"#assembly"},{include:"#function_pointer"},{include:"#evaluation_context"}],repository:{access_control_keywords:{match:"((?:((?:\\s*+\\/\\*(?:[^\\*]++|\\*+(?!\\/))*+\\*\\/\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(((?:(?:protected)|(?:private)|(?:public)))(?:\\s+)?(:))",captures:{"1":{patterns:[{include:"#inline_comment"}]},"2":{patterns:[{match:"\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+",captures:{"1":{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},"2":{name:"comment.block.cpp"},"3":{name:"comment.block.cpp punctuation.definition.comment.end.cpp"}}}]},"3":{name:"storage.type.modifier.access.control.$4.cpp"},"4":{},"5":{name:"punctuation.separator.colon.access.control.cpp"}}},alignas_attribute:{begin:"alignas\\(",end:"\\)",beginCaptures:{"0":{name:"punctuation.section.attribute.begin.cpp"}},endCaptures:{"0":{name:"punctuation.section.attribute.end.cpp"}},name:"support.other.attribute.cpp",patterns:[{include:"#attributes_context"},{begin:"\\(",end:"\\)",beginCaptures:{},endCaptures:{},patterns:[{include:"#attributes_context"},{include:"#string_context"},{include:"#ever_present_context"}]},{match:"(using)\\s+((?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w))",captures:{"1":{name:"keyword.other.using.directive.cpp"},"2":{name:"entity.name.namespace.cpp"}}},{match:",",name:"punctuation.separator.attribute.cpp"},{match:":",name:"punctuation.accessor.attribute.cpp"},{match:"(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)(?=::)",name:"entity.name.namespace.cpp"},{match:"(?<!\\w)(?:[a-zA-Z_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))(?:[a-zA-Z0-9_]|(?:\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}))*(?!\\w)",name:"entity.other.attribute.$0.cpp"},{include:"#number_literal"},{include:"#ever_present_context"}]},alignas_operator:{begin:"((?<!\\w)alignas(?!\\w))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()",end:"\\)",beginCaptures:{"1":{name:"keyword.operator.functionlike.cpp keyword.operator.alignas.cpp"},"2":{patterns:[{include:"#inline_comment"}]},"3":{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},"4":{name:"comment.block.cpp"},"5":{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},"6":{name:"punctuation.section.arguments.begin.bracket.round.operator.alignas.cpp"}},endCaptures:{"0":{name:"punctuation.section.arguments.end.bracket.round.operator.alignas.cpp"}},contentName:"meta.arguments.operator.alignas",patterns:[{include:"#evaluation_context"}]},alignof_operator:{begin:"((?<!\\w)alignof(?!\\w))((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++|\\*+(?!\\/))*+(\\*\\/))\\s*+)+)|(?:\\s++)|(?<=\\W)|(?=\\W)|^|(?:\\n?$)|\\A|\\Z))(\\()",end:"\\)",beginCaptures:{"1":{name:"keyword.operator.functionlike.cpp keyword.operator.alignof.cpp"},"2":{patterns:[{include:"#inline_comment"}]},"3":{name:"comment.block.cpp punctuation.definition.comment.begin.cpp"},"4":{name:"comment.block.cpp"},"5":{name:"comment.block.cpp punctuation.definition.comment.end.cpp"},"6":{name:"punctuation.section.arguments.begin.bracket.round.operator.alignof.cpp"}},endCaptures:{"0":{name:"punctuation.section.arguments.end.bracket.round.operator.alignof.cpp"}},contentName:"meta.arguments.operator.alignof",patterns:[{include:"#evaluation_context"}]},assembly:{begin:"(\\b(?:__asm__|asm)\\b)(?:\\s+)?((?:volatile)?)",end:"(?!\\G)",beginCaptures:{"1":{name:"storage.type.asm.cpp"},"2":{name:"storage.modifier.cpp"}},endCaptures:{},name:"meta.asm.cpp",patterns:[{match:"^((?:(?:(?:\\s*+(\\/\\*)((?:[^\\*]++Line truncated
export { cpp_tmLanguage as default };
@@ -0,0 +1,3 @@
var crystal_tmLanguage = {information_for_contributors:["This file is based on https://github.com/Microsoft/vscode/blob/master/extensions/ruby/syntaxes/ruby.tmLanguage.json"],version:"https://github.com/Microsoft/vscode/blob/3f1f36333d3453f67a36b6bfb1206e9159e9c4f0/extensions/ruby/syntaxes/ruby.tmLanguage.json",name:"crystal",scopeName:"source.crystal",fileTypes:["cr"],firstLineMatch:"^#!/.*\\bcrystal",foldingStartMarker:"(?x)^(\\s*+(annotation|module|class|struct|union|enum|def(?!.*\\bend\\s*$)|unless|if|case|begin|for|while|until|^=begin|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\s(do|begin|case)|(?<!\\$)[-+=&|*/~%^<>~]\\s*+(if|unless)))\\b(?![^;]*+;.*?\\bend\\b)|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\{(?![^}]*+\\})|\\[(?![^\\]]*+\\]))).*$|[#].*?\\(fold\\)\\s*+$",foldingStopMarker:"(?x)((^|;)\\s*+end\\s*+([#].*)?$|(^|;)\\s*+end\\..*$|^\\s*+[}\\]] ,?\\s*+([#].*)?$|[#].*?\\(end\\)\\s*+$|^=end)",keyEquivalent:"^~R",patterns:[{captures:{"1":{name:"keyword.control.class.crystal"},"2":{name:"keyword.control.class.crystal"},"3":{name:"entity.name.type.class.crystal"},"5":{name:"punctuation.separator.crystal"},"6":{name:"support.class.other.type-param.crystal"},"7":{name:"entity.other.inherited-class.crystal"},"8":{name:"punctuation.separator.crystal"},"9":{name:"punctuation.separator.crystal"},"10":{name:"support.class.other.type-param.crystal"},"11":{name:"punctuation.definition.variable.crystal"}},match:"(?x)^\\s*(abstract)?\\s*(class|struct|union|annotation|enum)\\s+(([.A-Z_:\\x{80}-\\x{10FFFF}][.\\w:\\x{80}-\\x{10FFFF}]*(\\(([,\\s.a-zA-Z0-9_:\\x{80}-\\x{10FFFF}]+)\\))?(\\s*(<)\\s*[.:A-Z\\x{80}-\\x{10FFFF}][.:\\w\\x{80}-\\x{10FFFF}]*(\\(([.a-zA-Z0-9_:]+\\s,)\\))?)?)|((<<)\\s*[.A-Z0-9_:\\x{80}-\\x{10FFFF}]+))",name:"meta.class.crystal"},{captures:{"1":{name:"keyword.control.module.crystal"},"2":{name:"entity.name.type.module.crystal"},"3":{name:"entity.other.inherited-class.module.first.crystal"},"4":{name:"punctuation.separator.inheritance.crystal"},"5":{name:"entity.other.inherited-class.module.second.crystal"},"6":{name:"punctuation.separator.inheritance.crystal"},"7":{name:"entity.other.inherited-class.module.third.crystal"},"8":{name:"punctuation.separator.inheritance.crystal"}},match:"^\\s*(module)\\s+(([A-Z\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*(::))?([A-Z\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*(::))?([A-Z\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*(::))*[A-Z\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*)",name:"meta.module.crystal"},{captures:{"1":{name:"keyword.control.lib.crystal"},"2":{name:"entity.name.type.lib.crystal"},"3":{name:"entity.other.inherited-class.lib.first.crystal"},"4":{name:"punctuation.separator.inheritance.crystal"},"5":{name:"entity.other.inherited-class.lib.second.crystal"},"6":{name:"punctuation.separator.inheritance.crystal"},"7":{name:"entity.other.inherited-class.lib.third.crystal"},"8":{name:"punctuation.separator.inheritance.crystal"}},match:"^\\s*(lib)\\s+(([A-Z]\\w*(::))?([A-Z]\\w*(::))?([A-Z]\\w*(::))*[A-Z]\\w*)",name:"meta.lib.crystal"},{captures:{"1":{name:"keyword.control.lib.type.crystal"},"2":{name:"entity.name.lib.type.crystal"},"3":{name:"keyword.control.lib.crystal"},"4":{name:"entity.name.lib.type.value.crystal"}},comment:"type in lib",match:"(?<!\\.)\\b(type)\\s+([A-Z]\\w+)\\s*(=)\\s*(.+)",name:"meta.lib.type.crystal"},{comment:"everything being a reserved word, not a value and needing a 'end' is a..",match:"(?<!\\.)\\b(fun|begin|case|class|else|elsif|end|ensure|enum|for|if|macro|module|rescue|struct|then|union|unless|until|when|while)\\b(?![?!:])",name:"keyword.control.crystal"},{comment:"everything being a reserved word, not a value and not needing a 'end' is a..",match:"(?<!\\.)\\b(abstract|alias|asm|break|extend|in|include|next|of|private|protected|struct|return|select|super|with|yield)\\b(?![?!:])",name:"keyword.control.primary.crystal"},{comment:"contextual smart pair support for block parameters",match:"(?<!\\.)\\bdo\\b\\s*",name:"keyword.control.start-block.crystal"},{comment:"contextual smart pair support",match:"(?<=\\{)(\\s+)",name:"meta.syntax.crystal.start-block"},{comment:"Just as above but being not a logical operation",match:"(?<!\\.)\\b(pointerof|typeof|sizeof|instance_sizeof|offsetof|previous_def|forall|out|uninitialized)\\b(?![?!:])|\\.(is_a\\?|nil\\?|responds_to\\?|as\\?|as\b)",name:"keyword.control.pseudo-method.crystal"},{match:"\\bnil\\b(?![?!:])",name:"constant.language.nil.crystal"},{match:"\\b(true|false)\\b(?![?!:])",name:"constant.language.boolean.crystal"},{match:"\\b(__(DIR|FILE|LINE|END_LINE)__)\\b(?![?!:])",name:"variable.language.crystal"},{match:"\\b(self)\\b(?![?!:])",name:"variable.language.self.crystal"},{comment:"https://crystal-lang.org/api/0.36.1/Object.html#macro-summary",match:"(?<!\\.)\\b(((class_)?((getter|property)\\b[!?]?|setter\\b))|(def_(clone|equals|equals_and_hash|hash)|delegate|forward_missing_to)\\b)(?![?!:])",name:"support.function.kernel.crystal"},{begin:"\\b(require)\\b",captuLine truncated
export { crystal_tmLanguage as default };
@@ -0,0 +1,3 @@
var csharp_tmLanguage = {name:"csharp",scopeName:"source.cs",fileTypes:["cs"],uuid:"f7de61e2-bdde-4e2a-a139-8221b179584e",patterns:[{include:"#preprocessor"},{include:"#comment"},{include:"#directives"},{include:"#declarations"},{include:"#script-top-level"}],repository:{directives:{patterns:[{include:"#extern-alias-directive"},{include:"#using-directive"},{include:"#attribute-section"},{include:"#punctuation-semicolon"}]},declarations:{patterns:[{include:"#namespace-declaration"},{include:"#type-declarations"},{include:"#punctuation-semicolon"}]},"script-top-level":{patterns:[{include:"#statement"},{include:"#method-declaration"},{include:"#punctuation-semicolon"}]},"type-declarations":{patterns:[{include:"#preprocessor"},{include:"#comment"},{include:"#storage-modifier"},{include:"#class-declaration"},{include:"#delegate-declaration"},{include:"#enum-declaration"},{include:"#interface-declaration"},{include:"#struct-declaration"},{include:"#record-declaration"},{include:"#attribute-section"},{include:"#punctuation-semicolon"}]},"class-or-struct-members":{patterns:[{include:"#preprocessor"},{include:"#comment"},{include:"#storage-modifier"},{include:"#type-declarations"},{include:"#property-declaration"},{include:"#field-declaration"},{include:"#event-declaration"},{include:"#indexer-declaration"},{include:"#variable-initializer"},{include:"#constructor-declaration"},{include:"#destructor-declaration"},{include:"#operator-declaration"},{include:"#conversion-operator-declaration"},{include:"#method-declaration"},{include:"#attribute-section"},{include:"#punctuation-semicolon"}]},"interface-members":{patterns:[{include:"#preprocessor"},{include:"#comment"},{include:"#property-declaration"},{include:"#event-declaration"},{include:"#indexer-declaration"},{include:"#method-declaration"},{include:"#attribute-section"},{include:"#punctuation-semicolon"}]},statement:{patterns:[{include:"#preprocessor"},{include:"#comment"},{include:"#while-statement"},{include:"#do-statement"},{include:"#for-statement"},{include:"#foreach-statement"},{include:"#if-statement"},{include:"#else-part"},{include:"#switch-statement"},{include:"#goto-statement"},{include:"#return-statement"},{include:"#break-or-continue-statement"},{include:"#throw-statement"},{include:"#yield-statement"},{include:"#await-statement"},{include:"#try-statement"},{include:"#checked-unchecked-statement"},{include:"#lock-statement"},{include:"#using-statement"},{include:"#labeled-statement"},{include:"#object-creation-expression"},{include:"#array-creation-expression"},{include:"#anonymous-object-creation-expression"},{include:"#local-declaration"},{include:"#block"},{include:"#expression"},{include:"#punctuation-semicolon"}]},expression:{patterns:[{include:"#preprocessor"},{include:"#comment"},{include:"#checked-unchecked-expression"},{include:"#typeof-or-default-expression"},{include:"#nameof-expression"},{include:"#default-literal-expression"},{include:"#throw-expression"},{include:"#raw-interpolated-string"},{include:"#interpolated-string"},{include:"#verbatim-interpolated-string"},{include:"#type-builtin"},{include:"#language-variable"},{include:"#switch-expression"},{include:"#with-expression"},{include:"#conditional-operator"},{include:"#expression-operators"},{include:"#await-expression"},{include:"#query-expression"},{include:"#as-expression"},{include:"#is-expression"},{include:"#anonymous-method-expression"},{include:"#object-creation-expression"},{include:"#array-creation-expression"},{include:"#anonymous-object-creation-expression"},{include:"#invocation-expression"},{include:"#member-access-expression"},{include:"#element-access-expression"},{include:"#cast-expression"},{include:"#literal"},{include:"#parenthesized-expression"},{include:"#tuple-deconstruction-assignment"},{include:"#initializer-expression"},{include:"#identifier"}]},"extern-alias-directive":{begin:"\\s*(extern)\\b\\s*(alias)\\b\\s*(@?[_[:alpha:]][_[:alnum:]]*)",beginCaptures:{"1":{name:"keyword.other.extern.cs"},"2":{name:"keyword.other.alias.cs"},"3":{name:"variable.other.alias.cs"}},end:"(?=;)"},"using-directive":{patterns:[{begin:"(\\b(global)\\b\\s+)?\\b(using)\\b\\s+(static)\\b\\s+(\\b(unsafe)\\b\\s+)?",beginCaptures:{"2":{name:"keyword.other.global.cs"},"3":{name:"keyword.other.using.cs"},"4":{name:"keyword.other.static.cs"},"6":{name:"storage.modifier.cs"}},end:"(?=;)",patterns:[{include:"#type"}]},{begin:"(\\b(global)\\b\\s+)?\\b(using)\\b\\s+(\\b(unsafe)\\b\\s+)?(?=(@?[_[:alpha:]][_[:alnum:]]*)\\s*=)",beginCaptures:{"2":{name:"keyword.other.global.cs"},"3":{name:"keyword.other.using.cs"},"5":{name:"storage.modifier.cs"},"6":{name:"entity.name.type.alias.cs"}},end:"(?=;)",patterns:[{include:"#comment"},{include:"#type"},{include:"#operator-assignment"}]},{begin:"(\\b(global)\\b\\s+)?\\b(using)\\s*(?!\\(|\\s|var)",beginCaptures:{"2":{name:"keyword.other.global.cs"},"3":{name:"keyword.other.using.cs"}},end:"(?=;)",patterns:[{include:"#comment"},{name:"entity.name.type.namLine truncated
export { csharp_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var css_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-css/blob/master/grammars/css.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-css/commit/3bd00206f6b0d16eb2eba53fb886462eb8c58baa",name:"css",scopeName:"source.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#combinators"},{include:"#selector"},{include:"#at-rules"},{include:"#rule-list"}],repository:{"at-rules":{patterns:[{begin:"\\A(?:\\xEF\\xBB\\xBF)?(?i:(?=\\s*@charset\\b))",end:";|(?=$)",endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.charset.css",patterns:[{captures:{"1":{name:"invalid.illegal.not-lowercase.charset.css"},"2":{name:"invalid.illegal.leading-whitespace.charset.css"},"3":{name:"invalid.illegal.no-whitespace.charset.css"},"4":{name:"invalid.illegal.whitespace.charset.css"},"5":{name:"invalid.illegal.not-double-quoted.charset.css"},"6":{name:"invalid.illegal.unclosed-string.charset.css"},"7":{name:"invalid.illegal.unexpected-characters.charset.css"}},match:"(?x) # Possible errors:\n\\G\n((?!@charset)@\\w+) # Not lowercase (@charset is case-sensitive)\n|\n\\G(\\s+) # Preceding whitespace\n|\n(@charset\\S[^;]*) # No whitespace after @charset\n|\n(?<=@charset) # Before quoted charset name\n(\\x20{2,}|\\t+) # More than one space used, or a tab\n|\n(?<=@charset\\x20) # Beginning of charset name\n([^\";]+) # Not double-quoted\n|\n(\"[^\"]+$) # Unclosed quote\n|\n(?<=\") # After charset name\n([^;]+) # Unexpected junk instead of semicolon"},{captures:{"1":{name:"keyword.control.at-rule.charset.css"},"2":{name:"punctuation.definition.keyword.css"}},match:"((@)charset)(?=\\s)"},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:"\"|$",endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{begin:"(?:\\G|^)(?=(?:[^\"])+$)",end:"$",name:"invalid.illegal.unclosed.string.css"}]}]},{begin:"(?i)((@)import)(?:\\s+|$|(?=['\"]|/\\*))",beginCaptures:{"1":{name:"keyword.control.at-rule.import.css"},"2":{name:"punctuation.definition.keyword.css"}},end:";",endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.import.css",patterns:[{begin:"\\G\\s*(?=/\\*)",end:"(?<=\\*/)\\s*",patterns:[{include:"#comment-block"}]},{include:"#string"},{include:"#url"},{include:"#media-query-list"}]},{begin:"(?i)((@)font-face)(?=\\s*|{|/\\*|$)",beginCaptures:{"1":{name:"keyword.control.at-rule.font-face.css"},"2":{name:"punctuation.definition.keyword.css"}},end:"(?!\\G)",name:"meta.at-rule.font-face.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#rule-list"}]},{begin:"(?i)(@)page(?=[\\s:{]|/\\*|$)",captures:{"0":{name:"keyword.control.at-rule.page.css"},"1":{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*($|[:{;]))",name:"meta.at-rule.page.css",patterns:[{include:"#rule-list"}]},{begin:"(?i)(?=@media(\\s|\\(|/\\*|$))",end:"(?<=})(?!\\G)",patterns:[{begin:"(?i)\\G(@)media",beginCaptures:{"0":{name:"keyword.control.at-rule.media.css"},"1":{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*[{;])",name:"meta.at-rule.media.header.css",patterns:[{include:"#media-query-list"}]},{begin:"{",beginCaptures:{"0":{name:"punctuation.section.media.begin.bracket.curly.css"}},end:"}",endCaptures:{"0":{name:"punctuation.section.media.end.bracket.curly.css"}},name:"meta.at-rule.media.body.css",patterns:[{include:"$self"}]}]},{begin:"(?i)(?=@counter-style([\\s'\"{;]|/\\*|$))",end:"(?<=})(?!\\G)",patterns:[{begin:"(?i)\\G(@)counter-style",beginCaptures:{"0":{name:"keyword.control.at-rule.counter-style.css"},"1":{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*{)",name:"meta.at-rule.counter-style.header.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{captures:{"0":{patterns:[{include:"#escapes"}]}},match:"(?x)\n(?:[-a-zA-Z_] | [^\\x00-\\x7F]) # First letter\n(?:[-a-zA-Z0-9_] | [^\\x00-\\x7F] # Remainder of identifier\n |\\\\(?:[0-9a-fA-F]{1,6}|.)\n)*",name:"variable.parameter.style-name.css"}]},{begin:"{",beginCaptures:{"0":{name:"punctuation.section.property-list.begin.bracket.curly.css"}},end:"}",endCaptures:{"0":{name:"punctuation.section.property-list.end.bracket.curly.css"}},name:"meta.at-rule.counter-style.body.css",patterns:[{include:"#comment-block"},{include:"#escapes"},{include:"#rule-list-innards"}]}]},{begin:"(?i)(?=@document([\\s'\"{;]|/\\*|$))",end:"(?<=})(?!\\G)",patterns:[{begin:"(?i)\\G(@)document",beginCaptures:{"0":{name:"keyword.control.at-rule.document.css"},"1":{name:"punctuation.definition.keyword.css"}},end:"(?=\\s*[{;])",name:"meta.at-rule.document.header.css",patterns:[{begin:"(?i)(?<![\\w-])(url-prefLine truncated
export { css_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var cue_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"cue",fileTypes:["cue"],scopeName:"source.cue",patterns:[{include:"#whitespace"},{include:"#comment"},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])(package)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)(?![\\p{L}\\p{Nd}_\\$\\#])",captures:{"1":{name:"keyword.other.package"},"2":{name:"entity.name.namespace"}}},{patterns:[{begin:"(?<![\\p{L}\\p{Nd}_\\$\\#])(import)[ \\t]+(\\()",beginCaptures:{"1":{name:"keyword.other.import"},"2":{name:"punctuation.section.parens.begin"}},end:"\\)",endCaptures:{"0":{name:"punctuation.section.parens.end"}},patterns:[{include:"#whitespace"},{include:"#comment"},{match:"(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)[ \\t]+)?(\")([^:\"]+)(?:(:)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*))?(\")",captures:{"1":{name:"entity.name.namespace"},"2":{name:"punctuation.definition.string.begin"},"3":{name:"string.quoted.double-import"},"4":{name:"punctuation.colon"},"5":{name:"entity.name"},"6":{name:"punctuation.definition.string.end"}},name:"meta.import-spec"},{match:";",name:"punctuation.separator"},{include:"#invalid_in_parens"}],name:"meta.imports"},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])(import)[ \\t]+(?:([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*)[ \\t]+)?(\")([^:\"]+)(?:(:)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*))?(\")",captures:{"1":{name:"keyword.other.import"},"2":{name:"entity.name.namespace"},"3":{name:"punctuation.definition.string.begin"},"4":{name:"string.quoted.double-import"},"5":{name:"punctuation.colon"},"6":{name:"entity.name"},"7":{name:"punctuation.definition.string.end"}},name:"meta.import"}]},{include:"#punctuation_comma"},{include:"#declaration"},{include:"#invalid_in_braces"}],repository:{attribute_element:{patterns:[{begin:"([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(=)",beginCaptures:{"1":{name:"variable.other"},"2":{name:"punctuation.bind"}},end:"(?=[,\\)])",patterns:[{include:"#attribute_string"}]},{begin:"([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(\\()",beginCaptures:{"1":{name:"variable.other"},"2":{name:"punctuation.attribute-elements.begin"}},end:"\\)",endCaptures:{"0":{name:"punctuation.attribute-elements.end"}},patterns:[{include:"#punctuation_comma"},{include:"#attribute_element"}]},{include:"#attribute_string"}]},attribute_string:{patterns:[{include:"#string"},{match:"[^\\n,\"'#=\\(\\)]+",name:"string.unquoted"},{match:"[^,\\)]+",name:"invalid"}]},comment:{patterns:[{match:"(//).*$\\n?",captures:{"1":{name:"punctuation.definition.comment"}},name:"comment.line"},{captures:{"0":{name:"punctuation.definition.comment"}},begin:"/\\*",end:"\\*/",name:"comment.block"}]},declaration:{patterns:[{begin:"(@)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(\\()",beginCaptures:{"1":{name:"punctuation.definition.annotation"},"2":{name:"variable.annotation"},"3":{name:"punctuation.attribute-elements.begin"}},end:"\\)",endCaptures:{"0":{name:"punctuation.attribute-elements.end"}},patterns:[{include:"#punctuation_comma"},{include:"#attribute_element"}],name:"meta.annotation"},{match:"(?<!:)::(?!:)",name:"punctuation.isa"},{include:"#punctuation_colon"},{match:"\\?",name:"punctuation.option"},{match:"(?<![=!><])=(?![=~])",name:"punctuation.bind"},{match:"<-",name:"punctuation.arrow"},{include:"#expression"}]},expression:{patterns:[{patterns:[{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])(for)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?:[ \\t]*(,)[ \\t]*([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+))?[ \\t]+(in)(?![\\p{L}\\p{Nd}_\\$\\#])",captures:{"1":{name:"keyword.control.for"},"2":{name:"variable.other"},"3":{name:"punctuation.separator"},"4":{name:"variable.other"},"5":{name:"keyword.control.in"}}},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])if(?![\\p{L}\\p{Nd}_\\$\\#])",name:"keyword.control.conditional"},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])(let)[ \\t]+([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)[ \\t]*(=)(?![=])",captures:{"1":{name:"keyword.control.let"},"2":{name:"variable.other"},"3":{name:"punctuation.bind"}}}]},{patterns:[{match:"[\\+\\-\\*]|/(?![/*])",name:"keyword.operator"},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])(?:div|mod|quo|rem)(?![\\p{L}\\p{Nd}_\\$\\#])",name:"keyword.operator.word"},{match:"=[=~]|![=~]|<=|>=|[<](?![-=])|[>](?![=])",name:"keyword.operator.comparison"},{match:"&{2}|\\|{2}|!(?![=~])",name:"keyword.operator.logical"},{match:"&(?!&)|\\|(?!\\|)",name:"keyword.operator.set"}]},{match:"(?<!\\.)(\\.)([\\p{L}\\$\\#][\\p{L}\\p{Nd}_\\$\\#]*|_[\\p{L}\\p{Nd}_\\$\\#]+)(?![\\p{L}\\p{Nd}_\\$\\#])",captures:{"1":{name:"punctuation.accessor"},"2":{name:"variable.other.member"}}},{patterns:[{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])_(?!\\|)(?![\\p{L}\\p{Nd}_\\$\\#])",name:"constant.language.top"},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])_\\|_(?![\\p{L}\\p{Nd}_\\$\\#])",name:"constant.language.bottom"},{match:"(?<![\\p{L}\\p{Nd}_\\$\\#])null(?![\\p{L}\\p{Nd}_\\$\\#])",name:"constLine truncated
export { cue_tmLanguage as default };
@@ -0,0 +1,3 @@
var cypher_tmLanguage = {fileTypes:["cql","cyp","cypher"],name:"cypher",patterns:[{include:"#comments"},{include:"#constants"},{include:"#keywords"},{include:"#functions"},{include:"#path-patterns"},{include:"#operators"},{include:"#identifiers"},{include:"#properties_literal"},{include:"#numbers"},{include:"#strings"}],repository:{comments:{patterns:[{match:"//.*$\\n?",name:"comment.line.double-slash.cypher"}]},constants:{patterns:[{match:"(?i)\\bTRUE|FALSE\\b",name:"constant.language.bool.cypher"},{match:"(?i)\\bNULL\\b",name:"constant.language.missing.cypher"}]},functions:{patterns:[{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b((NOT)(?=\\s*\\()|IS\\s+NULL|IS\\s+NOT\\s+NULL)",name:"keyword.control.function.boolean.cypher"},{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b(ALL|ANY|NONE|SINGLE)(?=\\s*\\()",name:"support.function.predicate.cypher"},{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b(LENGTH|TYPE|ID|COALESCE|HEAD|LAST|TIMESTAMP|STARTNODE|ENDNODE|TOINT|TOFLOAT)(?=\\s*\\()",name:"support.function.scalar.cypher"},{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b(NODES|RELATIONSHIPS|LABELS|EXTRACT|FILTER|TAIL|RANGE|REDUCE)(?=\\s*\\()",name:"support.function.collection.cypher"},{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b(ABS|ACOS|ASIN|ATAN|ATAN2|COS|COT|DEGREES|E|EXP|FLOOR|HAVERSIN|LOG|LOG10|PI|RADIANS|RAND|ROUND|SIGN|SIN|SQRT|TAN)(?=\\s*\\()",name:"support.function.math.cypher"},{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b(COUNT|sum|avg|max|min|stdev|stdevp|percentileDisc|percentileCont|collect)(?=\\s*\\()",name:"support.function.aggregation.cypher"},{comment:"List of Cypher built-in functions from http://docs.neo4j.org/chunked/milestone/query-function.html",match:"(?i)\\b(STR|REPLACE|SUBSTRING|LEFT|RIGHT|LTRIM|RTRIM|TRIM|LOWER|UPPER|SPLIT)(?=\\s*\\()",name:"support.function.string.cypher"}]},identifiers:{patterns:[{match:"`.+?`",name:"variable.other.quoted-identifier.cypher"},{match:"[\\p{L}_][\\p{L}0-9_]*",name:"variable.other.identifier.cypher"}]},keywords:{patterns:[{match:"(?i)\\b(START|MATCH|WHERE|RETURN|UNION|FOREACH|WITH|AS|LIMIT|SKIP|UNWIND|HAS|DISTINCT|OPTIONAL\\\\s+MATCH|ORDER\\s+BY|CALL|YIELD)\\b",name:"keyword.control.clause.cypher"},{match:"(?i)\\b(ELSE|END|THEN|CASE|WHEN)\\b",name:"keyword.control.case.cypher"},{match:"(?i)\\b(FIELDTERMINATOR|USING\\s+PERIODIC\\s+COMMIT|HEADERS|LOAD\\s+CSV|FROM)\\b",name:"keyword.data.import.cypher"},{match:"(?i)\\b(USING\\s+INDEX|CREATE\\s+INDEX\\s+ON|DROP\\s+INDEX\\s+ON|CREATE\\s+CONSTRAINT\\s+ON|DROP\\s+CONSTRAINT\\s+ON)\\b",name:"keyword.other.indexes.cypher"},{match:"(?i)\\b(MERGE|DELETE|SET|REMOVE|ON\\s+CREATE|ON\\s+MATCH|CREATE\\s+UNIQUE|CREATE)\\b",name:"keyword.data.definition.cypher"},{match:"(?i)\\b(DESC|ASC)\\b",name:"keyword.other.order.cypher"},{begin:"(?i)\\b(node|relationship|rel)((:)([\\p{L}_-][\\p{L}0-9_]*))?(?=\\s*\\()",beginCaptures:{"1":{name:"support.class.starting-functions-point.cypher"},"2":{name:"keyword.control.index-seperator.cypher"},"3":{name:"keyword.control.index-seperator.cypher"},"4":{name:"support.class.index.cypher"}},end:"\\)",name:"source.starting-functions.cypher",patterns:[{match:"((?:`.+?`)|(?:[\\p{L}_][\\p{L}0-9_]*))",name:"variable.parameter.relationship-name.cypher"},{match:"(\\*)",name:"keyword.control.starting-function-params.cypher"},{include:"#comments"},{include:"#numbers"},{include:"#strings"}]}]},numbers:{patterns:[{match:"\\b\\d+(\\.\\d+)?\\b",name:"constant.numeric.cypher"}]},operators:{patterns:[{match:"(\\+|\\-|\\/|\\*|\\%|\\?|!)",name:"keyword.operator.math.cypher"},{match:"(<=|=>|<>|<|>|=~|=)",name:"keyword.operator.compare.cypher"},{match:"(?i)\\b(OR|AND|XOR|IS)\\b",name:"keyword.operator.logical.cypher"},{match:"(?i)\\b(IN)\\b",name:"keyword.operator.in.cypher"}]},"path-patterns":{patterns:[{match:"(<--|-->|--)",name:"support.function.relationship-pattern.cypher"},{begin:"(<-|-)(\\[)",beginCaptures:{"1":{name:"support.function.relationship-pattern-start.cypher"},"2":{name:"keyword.operator.relationship-pattern-start.cypher"}},end:"(])(->|-)",endCaptures:{"1":{name:"keyword.operator.relationship-pattern-end.cypher"},"2":{name:"support.function.relationship-pattern-end.cypher"}},name:"path-pattern.cypher",patterns:[{include:"#identifiers"},{captures:{"1":{name:"keyword.operator.relationship-type-start.cypher"},"2":{name:"entity.name.class.relationship.type.cypher"}},match:"(:)((?:`.+?`)|(?:[\\p{L}_][\\p{L}0-9_]*))",name:"entity.name.class.relationship-type.cypher"},{captures:{"1":{name:"support.type.operator.relationship-type-or.cypher"},Line truncated
export { cypher_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var d_tmLanguage = {fileTypes:["d","di","dpp"],name:"d",scopeName:"source.d",patterns:[{include:"#comment"},{include:"#type"},{include:"#statement"},{include:"#expression"}],repository:{type:{patterns:[{include:"#typeof"},{include:"#base-type"},{include:"#type-ctor"},{begin:"!\\(",end:"\\)",patterns:[{include:"#type"},{include:"#expression"}]}]},"base-type":{patterns:[{match:"\\b(auto|bool|byte|ubyte|short|ushort|int|uint|long|ulong|char|wchar|dchar|float|double|real|ifloat|idouble|ireal|cfloat|cdouble|creal|void|noreturn)\\b",name:"storage.type.basic-type.d"},{match:"\\b(string|wstring|dstring|size_t|ptrdiff_t)\\b(?!\\s*=)",name:"storage.type.basic-type.d"}]},"extended-type":{patterns:[{match:"\\b((\\.\\s*)?[_\\w][_\\d\\w]*)(\\s*\\.\\s*[_\\w][_\\d\\w]*)*\\b",name:"entity.name.type.d"},{begin:"\\[",beginCaptures:{"0":{name:"storage.type.array.expression.begin.d"}},end:"\\]",endCaptures:{"0":{name:"storage.type.array.expression.end.d"}},patterns:[{match:"\\.\\.|\\$",name:"keyword.operator.slice.d"},{include:"#type"},{include:"#expression"}]}]},"type-ctor":{patterns:[{match:"(const|immutable|inout|shared)\\b",name:"storage.type.modifier.d"}]},"typeof":{begin:"typeof\\s*\\(",end:"\\)",name:"keyword.token.typeof.d",patterns:[{match:"return",name:"keyword.control.return.d"},{include:"#expression"}]},expression:{patterns:[{include:"#index-expression"},{include:"#expression-no-index"}]},"expression-no-index":{patterns:[{include:"#function-literal"},{include:"#assert-expression"},{include:"#assign-expression"},{include:"#mixin-expression"},{include:"#import-expression"},{include:"#traits-expression"},{include:"#is-expression"},{include:"#typeid-expression"},{include:"#shift-expression"},{include:"#logical-expression"},{include:"#rel-expression"},{include:"#bitwise-expression"},{include:"#identity-expression"},{include:"#in-expression"},{include:"#conditional-expression"},{include:"#arithmetic-expression"},{include:"#new-expression"},{include:"#delete-expression"},{include:"#cast-expression"},{include:"#type-specialization"},{include:"#comma"},{include:"#special-keyword"},{include:"#functions"},{include:"#type"},{include:"#parentheses-expression"},{include:"#lexical"}]},"assign-expression":{patterns:[{match:">>>=|\\^\\^=|>>=|<<=|~=|\\^=|\\|=|&=|%=|/=|\\*=|-=|\\+=|=(?!>)",name:"keyword.operator.assign.d"}]},"conditional-expression":{patterns:[{match:"\\s(\\?|:)\\s",name:"keyword.operator.ternary.d"}]},"logical-expression":{patterns:[{match:"\\|\\||&&|==|!=|!",name:"keyword.operator.logical.d"}]},"bitwise-expression":{patterns:[{match:"\\||\\^|&",name:"keyword.operator.bitwise.d"}]},"identity-expression":{patterns:[{match:"\\b(is|!is)\\b",name:"keyword.operator.identity.d"}]},"rel-expression":{patterns:[{match:"!<>=|!<>|<>=|!>=|!<=|<=|>=|<>|!>|!<|<|>",name:"keyword.operator.rel.d"}]},"in-expression":{patterns:[{match:"\\b(in|!in)\\b",name:"keyword.operator.in.d"}]},"shift-expression":{patterns:[{match:"<<|>>|>>>",name:"keyword.operator.shift.d"},{include:"#add-expression"}]},"arithmetic-expression":{patterns:[{match:"\\^\\^|\\+\\+|--|(?<!/)\\+(?!/)|-|~|(?<!/)\\*(?!/)|(?<![+*/])/(?![+*/])|%",name:"keyword.operator.numeric.d"}]},"new-expression":{patterns:[{match:"\\bnew\\s+",name:"keyword.other.new.d"}]},"delete-expression":{patterns:[{match:"\\bdelete\\s+",name:"keyword.other.delete.d"}]},"cast-expression":{patterns:[{begin:"\\b(cast)\\s*(\\()",beginCaptures:{"1":{name:"keyword.operator.cast.d"},"2":{name:"keyword.operator.cast.begin.d"}},end:"\\)",endCaptures:{"0":{name:"keyword.operator.cast.end.d"}},patterns:[{include:"#type"},{include:"#extended-type"}]}]},"index-expression":{patterns:[{begin:"\\[",end:"\\]",patterns:[{match:"\\.\\.|\\$",name:"keyword.operator.slice.d"},{include:"#expression-no-index"}]}]},"function-literal":{patterns:[{match:"=>",name:"keyword.operator.lambda.d"},{match:"\\b(function|delegate)\\b",name:"keyword.other.function-literal.d"},{begin:"\\b([_\\w][_\\d\\w]*)\\s*(=>)",end:"(?=[\\);,\\]}])",beginCaptures:{"1":{name:"variable.parameter.d"},"2":{name:"meta.lexical.token.symbolic.d"}},patterns:[{include:"source.d"}]},{begin:"(?<=\\)|\\()(\\s*)({)",beginCaptures:{"1":{name:"source.d"},"2":{name:"source.d"}},end:"}",patterns:[{include:"source.d"}]}]},"assert-expression":{patterns:[{begin:"\\bassert\\s*\\(",beginCaptures:{"0":{name:"keyword.other.assert.begin.d"}},end:"\\)",endCaptures:{"0":{name:"keyword.other.assert.end.d"}},patterns:[{include:"#comment"},{include:"#expression"},{include:"#comma"}]}]},"mixin-expression":{patterns:[{begin:"\\bmixin\\s*\\(",beginCaptures:{"0":{name:"keyword.other.mixin.begin.d"}},end:"\\)",endCaptures:{"0":{name:"keyword.other.mixin.end.d"}},patterns:[{include:"#comment"},{include:"#expression"},{include:"#comma"}]}]},"import-expression":{patterns:[{begin:"\\b(import)\\s*(\\()",beginCaptures:{"1":{name:"keyword.other.import.d"},"2":{name:"keyword.other.import.begin.d"}},end:"\\)",endCaptures:{"0":{name:"keyword.other.import.end.d"}},patterns:[{include:"#commentLine truncated
export { d_tmLanguage as default };
@@ -0,0 +1,3 @@
var dart_tmLanguage = {name:"dart",version:"1.2.2",fileTypes:["dart"],scopeName:"source.dart",foldingStartMarker:"\\{\\s*$",foldingStopMarker:"^\\s*\\}",patterns:[{name:"meta.preprocessor.script.dart",match:"^(#!.*)$"},{name:"meta.declaration.dart",begin:"^\\w*\\b(library|import|part of|part|export)\\b",beginCaptures:{"0":{name:"keyword.other.import.dart"}},end:";",endCaptures:{"0":{name:"punctuation.terminator.dart"}},patterns:[{include:"#strings"},{include:"#comments"},{name:"keyword.other.import.dart",match:"\\b(as|show|hide)\\b"},{name:"keyword.control.dart",match:"\\b(if)\\b"}]},{include:"#comments"},{include:"#punctuation"},{include:"#annotations"},{include:"#keywords"},{include:"#constants-and-special-vars"},{include:"#operators"},{include:"#strings"}],repository:{dartdoc:{patterns:[{match:"(\\[.*?\\])",captures:{"0":{name:"variable.name.source.dart"}}},{match:"^ {4,}(?![ \\*]).*",captures:{"0":{name:"variable.name.source.dart"}}},{contentName:"variable.other.source.dart",begin:"```.*?$",end:"```"},{match:"(`.*?`)",captures:{"0":{name:"variable.other.source.dart"}}},{match:"(`.*?`)",captures:{"0":{name:"variable.other.source.dart"}}},{match:"(\\* (( ).*))$",captures:{"2":{name:"variable.other.source.dart"}}}]},comments:{patterns:[{name:"comment.block.empty.dart",match:"/\\*\\*/",captures:{"0":{name:"punctuation.definition.comment.dart"}}},{include:"#comments-doc-oldschool"},{include:"#comments-doc"},{include:"#comments-inline"}]},"comments-doc-oldschool":{patterns:[{name:"comment.block.documentation.dart",begin:"/\\*\\*",end:"\\*/",patterns:[{include:"#comments-doc-oldschool"},{include:"#comments-block"},{include:"#dartdoc"}]}]},"comments-doc":{patterns:[{name:"comment.block.documentation.dart",begin:"///","while":"^\\s*///",patterns:[{include:"#dartdoc"}]}]},"comments-inline":{patterns:[{include:"#comments-block"},{match:"((//).*)$",captures:{"1":{name:"comment.line.double-slash.dart"}}}]},"comments-block":{patterns:[{name:"comment.block.dart",begin:"/\\*",end:"\\*/",patterns:[{include:"#comments-block"}]}]},annotations:{patterns:[{name:"storage.type.annotation.dart",match:"@[a-zA-Z]+"}]},"constants-and-special-vars":{patterns:[{name:"constant.language.dart",match:"(?<!\\$)\\b(true|false|null)\\b(?!\\$)"},{name:"variable.language.dart",match:"(?<!\\$)\\b(this|super)\\b(?!\\$)"},{name:"constant.numeric.dart",match:"(?<!\\$)\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b(?!\\$)"},{include:"#class-identifier"},{include:"#function-identifier"}]},"class-identifier":{patterns:[{match:"(?<!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)",name:"support.class.dart"},{match:"(?<!\\$)\\bvoid\\b(?!\\$)",name:"storage.type.primitive.dart"},{begin:"(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b",end:"(?!<)",beginCaptures:{"1":{name:"support.class.dart"}},patterns:[{include:"#type-args"}]}]},"function-identifier":{patterns:[{match:"([_$]*[a-z][a-zA-Z0-9_$]*)(<(?:[a-zA-Z0-9_$<>?]|,\\s*|\\s+extends\\s+)+>)?[!?]?\\(",captures:{"1":{name:"entity.name.function.dart"},"2":{patterns:[{include:"#type-args"}]}}}]},"type-args":{begin:"(<)",end:"(>)",beginCaptures:{"1":{name:"other.source.dart"}},endCaptures:{"1":{name:"other.source.dart"}},patterns:[{include:"#class-identifier"},{match:","},{name:"keyword.declaration.dart",match:"extends"},{include:"#comments"}]},keywords:{patterns:[{name:"keyword.cast.dart",match:"(?<!\\$)\\bas\\b(?!\\$)"},{name:"keyword.control.catch-exception.dart",match:"(?<!\\$)\\b(try|on|catch|finally|throw|rethrow)\\b(?!\\$)"},{name:"keyword.control.dart",match:"(?<!\\$)\\b(break|case|continue|default|do|else|for|if|in|return|switch|while|when)\\b(?!\\$)"},{name:"keyword.control.dart",match:"(?<!\\$)\\b(sync(\\*)?|async(\\*)?|await|yield(\\*)?)\\b(?!\\$)"},{name:"keyword.control.dart",match:"(?<!\\$)\\bassert\\b(?!\\$)"},{name:"keyword.control.new.dart",match:"(?<!\\$)\\b(new)\\b(?!\\$)"},{name:"keyword.declaration.dart",match:"(?<!\\$)\\b(abstract|sealed|base|interface|inline class|class|enum|extends|extension|external|factory|implements|get(?!\\()|mixin|native|operator|set(?!\\()|typedef|with|covariant)\\b(?!\\$)"},{name:"storage.modifier.dart",match:"(?<!\\$)\\b(static|final|const|required|late)\\b(?!\\$)"},{name:"storage.type.primitive.dart",match:"(?<!\\$)\\b(?:void|var)\\b(?!\\$)"}]},operators:{patterns:[{name:"keyword.operator.dart",match:"(?<!\\$)\\b(is\\!?)\\b(?!\\$)"},{name:"keyword.operator.ternary.dart",match:"\\?|:"},{name:"keyword.operator.bitwise.dart",match:"(<<|>>>?|~|\\^|\\||&)"},{name:"keyword.operator.assignment.bitwise.dart",match:"((&|\\^|\\||<<|>>>?)=)"},{name:"keyword.operator.closure.dart",match:"(=>)"},{name:"keyword.operator.comparison.dart",match:"(==|!=|<=?|>=?)"},{name:"keyword.operator.assignment.arithmetic.dart",match:"(([+*/%-]|\\~)=)"},{name:"keyword.operator.assignment.dart",match:"(=)"},{name:"keyword.operator.increment-decrement.dart",match:"(\\-\\-|\\+\\+)"},{name:"keyword.operator.arithmetic.dart",match:"(\\-|\\+|\\*|\\/|\Line truncated
export { dart_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var dax_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"dax",patterns:[{include:"#comments"},{include:"#keywords"},{include:"#labels"},{include:"#parameters"},{include:"#strings"},{include:"#numbers"}],repository:{parameters:{patterns:[{name:"meta.function.definition.parameters.dax",comment:"build out variable assignment",begin:"\\b(?<!\\.)(VAR)\\b(?<!\\.)\\b",end:"=",beginCaptures:{"1":{name:"keyword.control.dax"},"2":{name:"variable.other.readwrite.dax"}},endCaptures:{"0":{name:"keyword.operator.assignment.dax"}},patterns:[{name:"keyword.control.dax",match:"(?x)\n = \n"}]},{name:"variable.other.constant.dax",match:"[_$[:alpha:]][_$[:alnum:]]*"}]},labels:{patterns:[{match:"(^(.*?)\\s*(:=|!=))",captures:{"1":{name:"punctuation.separator.label.dax"},"2":{name:"entity.name.label.dax"}}}]},numbers:{name:"constant.numeric.dax",match:"(?x) # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional"},comments:{patterns:[{name:"comment.line.dax",begin:"//",end:"\n",captures:{"0":{name:"punctuation.definition.comment.dax"}}},{name:"comment.line.dax",begin:"--",end:"\n",captures:{"0":{name:"punctuation.definition.comment.dax"}}},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.dax"}},end:"\\*/",name:"comment.block.dax"}]},keywords:{patterns:[{match:"\\b(YIELDMAT|YIELDDISC|YIELD|YEARFRAC|YEAR|XNPV|XIRR|WEEKNUM|WEEKDAY|VDB|VARX.S|VARX.P|VAR.S|VAR.P|VALUES|VALUE|UTCTODAY|UTCNOW|USERPRINCIPALNAME|USEROBJECTID|USERNAME|USERELATIONSHIP|USERCULTURE|UPPER|UNION|UNICODE|UNICHAR|TRUNC|TRUE|TRIM|TREATAS|TOTALYTD|TOTALQTD|TOTALMTD|TOPNSKIP|TOPNPERLEVEL|TOPN|TODAY|TIMEVALUE|TIME|TBILLYIELD|TBILLPRICE|TBILLEQ|TANH|TAN|T.INV.2T|T.INV|T.DIST.RT|T.DIST.2T|T.DIST|SYD|SWITCH|SUMX|SUMMARIZECOLUMNS|SUMMARIZE|SUM|SUBSTITUTEWITHINDEX|SUBSTITUTE|STDEVX.S|STDEVX.P|STDEV.S|STDEV.P|STARTOFYEAR|STARTOFQUARTER|STARTOFMONTH|SQRTPI|SQRT|SLN|SINH|SIN|SIGN|SELECTEDVALUE|SELECTEDMEASURENAME|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURE|SELECTCOLUMNS|SECOND|SEARCH|SAMPLE|SAMEPERIODLASTYEAR|RRI|ROW|ROUNDUP|ROUNDDOWN|ROUND|ROLLUPISSUBTOTAL|ROLLUPGROUP|ROLLUPADDISSUBTOTAL|ROLLUP|RIGHT|REPT|REPLACE|REMOVEFILTERS|RELATEDTABLE|RELATED|RECEIVED|RATE|RANKX|RANK.EQ|RANDBETWEEN|RAND|RADIANS|QUOTIENT|QUARTER|PV|PRODUCTX|PRODUCT|PRICEMAT|PRICEDISC|PRICE|PREVIOUSYEAR|PREVIOUSQUARTER|PREVIOUSMONTH|PREVIOUSDAY|PPMT|POWER|POISSON.DIST|PMT|PI|PERMUT|PERCENTILEX.INC|PERCENTILEX.EXC|PERCENTILE.INC|PERCENTILE.EXC|PDURATION|PATHLENGTH|PATHITEMREVERSE|PATHITEM|PATHCONTAINS|PATH|PARALLELPERIOD|OR|OPENINGBALANCEYEAR|OPENINGBALANCEQUARTER|OPENINGBALANCEMONTH|ODDLYIELD|ODDLPRICE|ODDFYIELD|ODDFPRICE|ODD|NPER|NOW|NOT|NORM.S.INV|NORM.S.DIST|NORM.INV|NORM.DIST|NONVISUAL|NOMINAL|NEXTYEAR|NEXTQUARTER|NEXTMONTH|NEXTDAY|NATURALLEFTOUTERJOIN|NATURALINNERJOIN|MROUND|MONTH|MOD|MINX|MINUTE|MINA|MIN|MID|MEDIANX|MEDIAN|MDURATION|MAXX|MAXA|MAX|LOWER|LOOKUPVALUE|LOG10|LOG|LN|LEN|LEFT|LCM|LASTNONBLANKVALUE|LASTNONBLANK|LASTDATE|KEYWORDMATCH|KEEPFILTERS|ISTEXT|ISSUBTOTAL|ISSELECTEDMEASURE|ISPMT|ISONORAFTER|ISODD|ISO.CEILING|ISNUMBER|ISNONTEXT|ISLOGICAL|ISINSCOPE|ISFILTERED|ISEVEN|ISERROR|ISEMPTY|ISCROSSFILTERED|ISBLANK|ISAFTER|IPMT|INTRATE|INTERSECT|INT|IGNORE|IFERROR|IF.EAGER|IF|HOUR|HASONEVALUE|HASONEFILTER|HASH|GROUPBY|GEOMEANX|GEOMEAN|GENERATESERIES|GENERATEALL|GENERATE|GCD|FV|FORMAT|FLOOR|FIXED|FIRSTNONBLANKVALUE|FIRSTNONBLANK|FIRSTDATE|FIND|FILTERS|FILTER|FALSE|FACT|EXPON.DIST|EXP|EXCEPT|EXACT|EVEN|ERROR|EOMONTH|ENDOFYEAR|ENDOFQUARTER|ENDOFMONTH|EFFECT|EDATE|EARLIEST|EARLIER|DURATION|DOLLARFR|DOLLARDE|DIVIDE|DISTINCTCOUNTNOBLANK|DISTINCTCOUNT|DISTINCT|DISC|DETAILROWS|DEGREES|DDB|DB|DAY|DATEVALUE|DATESYTD|DATESQTD|DATESMTD|DATESINPERIOD|DATESBETWEEN|DATEDIFF|DATEADD|DATE|DATATABLE|CUSTOMDATA|CURRENTGROUP|CURRENCY|CUMPRINC|CUMIPMT|CROSSJOIN|CROSSFILTER|COUPPCD|COUPNUM|COUPNCD|COUPDAYSNC|COUPDAYS|COUPDAYBS|COUNTX|COUNTROWS|COUNTBLANK|COUNTAX|COUNTA|COUNT|COTH|COT|COSH|COS|CONVERT|CONTAINSSTRINGEXACT|CONTAINSSTRING|CONTAINSROW|CONTAINS|CONFIDENCE.T|CONFIDENCE.NORM|CONCATENATEX|CONCATENATE|COMBINEVALUES|COMBINA|COMBIN|COLUMNSTATISTICS|COALESCE|CLOSINGBALANCEYEAR|CLOSINGBALANCEQUARTER|CLOSINGBALANCEMONTH|CHISQ.INV.RT|CHISQ.INV|CHISQ.DIST.RT|CHISQ.DIST|CEILING|CALENDARAUTO|CALENDAR|CALCULATETABLE|CALCULATE|BLANK|BETA.INV|BETA.DIST|AVERAGEX|AVERAGEA|AVERAGE|ATANH|ATAN|ASINH|ASIN|APPROXIMATEDISTINCTCOUNT|AND|AMORLINC|AMORDEGRC|ALLSELECTED|ALLNOBLANKROW|ALLEXCEPT|ALLCROSSFILTERED|ALL|ADDMISSINGITEMS|ADDCOLUMNS|ACOTH|ACOT|ACOSH|ACOS|ACCRINTM|ACCRINT|ABS)\\b",name:"variable.language.dLine truncated
export { dax_tmLanguage as default };
@@ -0,0 +1,3 @@
var diff_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/textmate/diff.tmbundle/blob/master/Syntaxes/Diff.plist","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/textmate/diff.tmbundle/commit/0593bb775eab1824af97ef2172fd38822abd97d7",name:"diff",scopeName:"source.diff",patterns:[{captures:{"1":{name:"punctuation.definition.separator.diff"}},match:"^((\\*{15})|(={67})|(-{3}))$\\n?",name:"meta.separator.diff"},{match:"^\\d+(,\\d+)*(a|d|c)\\d+(,\\d+)*$\\n?",name:"meta.diff.range.normal"},{captures:{"1":{name:"punctuation.definition.range.diff"},"2":{name:"meta.toc-list.line-number.diff"},"3":{name:"punctuation.definition.range.diff"}},match:"^(@@)\\s*(.+?)\\s*(@@)($\\n?)?",name:"meta.diff.range.unified"},{captures:{"3":{name:"punctuation.definition.range.diff"},"4":{name:"punctuation.definition.range.diff"},"6":{name:"punctuation.definition.range.diff"},"7":{name:"punctuation.definition.range.diff"}},match:"^(((\\-{3}) .+ (\\-{4}))|((\\*{3}) .+ (\\*{4})))$\\n?",name:"meta.diff.range.context"},{match:"^diff --git a/.*$\\n?",name:"meta.diff.header.git"},{match:"^diff (-|\\S+\\s+\\S+).*$\\n?",name:"meta.diff.header.command"},{captures:{"4":{name:"punctuation.definition.from-file.diff"},"6":{name:"punctuation.definition.from-file.diff"},"7":{name:"punctuation.definition.from-file.diff"}},match:"(^(((-{3}) .+)|((\\*{3}) .+))$\\n?|^(={4}) .+(?= - ))",name:"meta.diff.header.from-file"},{captures:{"2":{name:"punctuation.definition.to-file.diff"},"3":{name:"punctuation.definition.to-file.diff"},"4":{name:"punctuation.definition.to-file.diff"}},match:"(^(\\+{3}) .+$\\n?| (-) .* (={4})$\\n?)",name:"meta.diff.header.to-file"},{captures:{"3":{name:"punctuation.definition.inserted.diff"},"6":{name:"punctuation.definition.inserted.diff"}},match:"^(((>)( .*)?)|((\\+).*))$\\n?",name:"markup.inserted.diff"},{captures:{"1":{name:"punctuation.definition.changed.diff"}},match:"^(!).*$\\n?",name:"markup.changed.diff"},{captures:{"3":{name:"punctuation.definition.deleted.diff"},"6":{name:"punctuation.definition.deleted.diff"}},match:"^(((<)( .*)?)|((-).*))$\\n?",name:"markup.deleted.diff"},{begin:"^(#)",captures:{"1":{name:"punctuation.definition.comment.diff"}},comment:"Git produces unified diffs with embedded comments\"",end:"\\n",name:"comment.line.number-sign.diff"},{match:"^index [0-9a-f]{7,40}\\.\\.[0-9a-f]{7,40}.*$\\n?",name:"meta.diff.index.git"},{captures:{"1":{name:"punctuation.separator.key-value.diff"},"2":{name:"meta.toc-list.file-name.diff"}},match:"^Index(:) (.+)$\\n?",name:"meta.diff.index"},{match:"^Only in .*: .*$\\n?",name:"meta.diff.only-in"}]};
export { diff_tmLanguage as default };
@@ -0,0 +1,3 @@
var docker_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/moby/moby/blob/master/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/moby/moby/commit/abd39744c6f3ed854500e423f5fabf952165161f",name:"docker",scopeName:"source.dockerfile",patterns:[{captures:{"1":{name:"keyword.other.special-method.dockerfile"},"2":{name:"keyword.other.special-method.dockerfile"}},match:"^\\s*\\b(?i:(FROM))\\b.*?\\b(?i:(AS))\\b"},{captures:{"1":{name:"keyword.control.dockerfile"},"2":{name:"keyword.other.special-method.dockerfile"}},match:"^\\s*(?i:(ONBUILD)\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\s"},{captures:{"1":{name:"keyword.operator.dockerfile"},"2":{name:"keyword.other.special-method.dockerfile"}},match:"^\\s*(?i:(ONBUILD)\\s+)?(?i:(CMD|ENTRYPOINT))\\s"},{begin:"\"",beginCaptures:{"1":{name:"punctuation.definition.string.begin.dockerfile"}},end:"\"",endCaptures:{"1":{name:"punctuation.definition.string.end.dockerfile"}},name:"string.quoted.double.dockerfile",patterns:[{match:"\\\\.",name:"constant.character.escaped.dockerfile"}]},{begin:"'",beginCaptures:{"1":{name:"punctuation.definition.string.begin.dockerfile"}},end:"'",endCaptures:{"1":{name:"punctuation.definition.string.end.dockerfile"}},name:"string.quoted.single.dockerfile",patterns:[{match:"\\\\.",name:"constant.character.escaped.dockerfile"}]},{captures:{"1":{name:"punctuation.whitespace.comment.leading.dockerfile"},"2":{name:"comment.line.number-sign.dockerfile"},"3":{name:"punctuation.definition.comment.dockerfile"}},comment:"comment.line",match:"^(\\s*)((#).*$\\n?)"}]};
export { docker_tmLanguage as default };
@@ -0,0 +1,3 @@
var dreamMaker_tmLanguage = {fileTypes:["dm","dme"],foldingStartMarker:"(?x)\n/\\*\\*(?!\\*)\n|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))",foldingStopMarker:"(?<!\\*)\\*\\*/|^\\s*\\}",name:"dream-maker",patterns:[{include:"#preprocessor-rule-enabled"},{include:"#preprocessor-rule-disabled"},{include:"#preprocessor-rule-other"},{include:"#comments"},{match:"(?x)\n(var)[\\/ ]\n(?:(static|global|tmp|const)\\/)?\n(?:(datum|atom(?:\\/movable)?|obj|mob|turf|area|savefile|list|client|sound|image|database|matrix|regex|exception)\\/)?\n(?:\n\t([a-zA-Z0-9_\\-$]*)\\/\n)*\n\n([A-Za-z0-9_$]*)\\b",name:"meta.initialization.dm",captures:{"1":{name:"storage.type.dm"},"2":{name:"storage.modifier.dm"},"3":{name:"storage.type.dm"},"5":{name:"variable.other.dm"}}},{match:"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b",name:"constant.numeric.dm"},{match:"\\b(sleep|spawn|break|continue|do|else|for|goto|if|return|switch|while)\\b",name:"keyword.control.dm"},{match:"\\b(del|new)\\b",name:"keyword.other.dm"},{match:"\\b(proc|verb|datum|atom(/movable)?|obj|mob|turf|area|savefile|list|client|sound|image|database|matrix|regex|exception)\\b",name:"storage.type.dm"},{match:"\\b(as|const|global|set|static|tmp)\\b",name:"storage.modifier.dm"},{match:"\\b(usr|world|src|args)\\b",name:"variable.language.dm"},{match:"(\\?|(>|<)(=)?|\\.|:|/(=)?|~|\\+(\\+|=)?|-(-|=)?|\\*(\\*|=)?|%|>>|<<|=(=)?|!(=)?|<>|&|&&|\\^|\\||\\|\\||\\bto\\b|\\bin\\b|\\bstep\\b)",name:"keyword.operator.dm"},{match:"\\b([A-Z_][A-Z_0-9]*)\\b",name:"constant.language.dm"},{match:"\\bnull\\b",name:"constant.language.dm"},{begin:"{\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.dm"}},end:"\"}",endCaptures:{"0":{name:"punctuation.definition.string.end.dm"}},name:"string.quoted.triple.dm",patterns:[{include:"#string_escaped_char"},{include:"#string_embedded_expression"}]},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.dm"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.dm"}},name:"string.quoted.double.dm",patterns:[{include:"#string_escaped_char"},{include:"#string_embedded_expression"}]},{begin:"'",beginCaptures:{"0":{name:"punctuation.definition.string.begin.dm"}},end:"'",endCaptures:{"0":{name:"punctuation.definition.string.end.dm"}},name:"string.quoted.single.dm",patterns:[{include:"#string_escaped_char"}]},{begin:"(?x)\n^\\s* ((\\#)\\s*define) \\s+ # define\n((?<id>[a-zA-Z_][a-zA-Z0-9_]*)) # macro name\n(?:\n\t(\\()\n\t\t(\n\t\t\t\\s* \\g<id> \\s* # first argument\n\t\t\t((,) \\s* \\g<id> \\s*)* # additional arguments\n\t\t\t(?:\\.\\.\\.)? # varargs ellipsis?\n\t\t)\n\t(\\))\n)",beginCaptures:{"1":{name:"keyword.control.directive.define.dm"},"2":{name:"punctuation.definition.directive.dm"},"3":{name:"entity.name.function.preprocessor.dm"},"5":{name:"punctuation.definition.parameters.begin.dm"},"6":{name:"variable.parameter.preprocessor.dm"},"8":{name:"punctuation.separator.parameters.dm"},"9":{name:"punctuation.definition.parameters.end.dm"}},end:"(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",name:"meta.preprocessor.macro.dm",patterns:[{include:"$base"}]},{begin:"(?x)\n^\\s* ((\\#)\\s*define) \\s+ # define\n((?<id>[a-zA-Z_][a-zA-Z0-9_]*)) # macro name",beginCaptures:{"1":{name:"keyword.control.directive.define.dm"},"2":{name:"punctuation.definition.directive.dm"},"3":{name:"variable.other.preprocessor.dm"}},end:"(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",name:"meta.preprocessor.macro.dm",patterns:[{include:"$base"}]},{begin:"^\\s*(#\\s*(error|warn))\\b",captures:{"1":{name:"keyword.control.import.error.dm"}},end:"$",name:"meta.preprocessor.diagnostic.dm",patterns:[{match:"(?>\\\\\\s*\\n)",name:"punctuation.separator.continuation.dm"}]},{begin:"^\\s*(?:((#)\\s*(?:elif|else|if|ifdef|ifndef))|((#)\\s*(undef|include)))\\b",beginCaptures:{"1":{name:"keyword.control.directive.conditional.dm"},"2":{name:"punctuation.definition.directive.dm"},"3":{name:"keyword.control.directive.$5.dm"},"4":{name:"punctuation.definition.directive.dm"}},end:"(?=(?://|/\\*))|(?<!\\\\)(?=\\n)",name:"meta.preprocessor.dm",patterns:[{match:"(?>\\\\\\s*\\n)",name:"punctuation.separator.continuation.dm"}]},{include:"#block"},{begin:"(?x)\n\t\t\t\t(?: ^ # begin-of-line\n\t\t\t\t\t|\n\t\t\t\t\t\t (?: (?= \\s ) (?<!else|new|return) (?<=\\w) # or word + space before name\n\t\t\t\t\t\t\t | (?= \\s*[A-Za-z_] ) (?<!&&) (?<=[*&>]) # or type modifier before name\n\t\t\t\t\t\t )\n\t\t\t\t)\n\t\t\t\t(\\s*) (?!(while|for|do|if|else|switch|catch|enumerate|return|r?iterate)\\s*\\()\n\t\t\t\t(\n\t\t\t\t\t(?: [A-Za-z_][A-Za-z0-9_]*+ | :: )++ | # actual name\n\t\t\t\t\t(?: (?<=operator) (?: [-*&<>=+!]+ | \\(\\) | \\[\\] ) ) # if it is a C++ operator\n\t\t\t\t)\n\t\t\t\t \\s*(?=\\()",beginCaptures:{"1":{name:"punctuation.whitespace.function.leading.dm"},"3":{name:"entity.name.function.dm"},"4":{name:"Line truncated
export { dreamMaker_tmLanguage as default };
@@ -0,0 +1,3 @@
var elixir_tmLanguage = {comment:"Textmate bundle for Elixir Programming Language.",fileTypes:["ex","exs"],firstLineMatch:"^#!/.*\\belixir",foldingStartMarker:"(after|else|catch|rescue|\\-\\>|\\{|\\[|do)\\s*$",foldingStopMarker:"^\\s*((\\}|\\]|after|else|catch|rescue)\\s*$|end\\b)",keyEquivalent:"^~E",name:"elixir",patterns:[{begin:"\\b(fn)\\b(?!.*->)",beginCaptures:{"1":{name:"keyword.control.elixir"}},end:"$",patterns:[{include:"#core_syntax"}]},{captures:{"1":{name:"entity.name.type.class.elixir"},"2":{name:"punctuation.separator.method.elixir"},"3":{name:"entity.name.function.elixir"}},match:"([A-Z]\\w+)\\s*(\\.)\\s*([a-z_]\\w*[!?]?)"},{captures:{"1":{name:"constant.other.symbol.elixir"},"2":{name:"punctuation.separator.method.elixir"},"3":{name:"entity.name.function.elixir"}},match:"(\\:\\w+)\\s*(\\.)\\s*([_]?\\w*[!?]?)"},{captures:{"1":{name:"keyword.operator.other.elixir"},"2":{name:"entity.name.function.elixir"}},match:"(\\|\\>)\\s*([a-z_]\\w*[!?]?)"},{match:"\\b[a-z_]\\w*[!?]?(?=\\s*\\.?\\s*\\()",name:"entity.name.function.elixir"},{begin:"\\b(fn)\\b(?=.*->)",beginCaptures:{"1":{name:"keyword.control.elixir"}},end:"(?>(->)|(when)|(\\)))",endCaptures:{"1":{name:"keyword.operator.other.elixir"},"2":{name:"keyword.control.elixir"},"3":{name:"punctuation.section.function.elixir"}},patterns:[{include:"#core_syntax"}]},{include:"#core_syntax"},{begin:"^(?=.*->)((?![^\"']*(\"|')[^\"']*->)|(?=.*->[^\"']*(\"|')[^\"']*->))((?!.*\\([^\\)]*->)|(?=[^\\(\\)]*->)|(?=\\s*\\(.*\\).*->))((?!.*\\b(fn)\\b)|(?=.*->.*\\bfn\\b))",beginCaptures:{"1":{name:"keyword.control.elixir"}},end:"(?>(->)|(when)|(\\)))",endCaptures:{"1":{name:"keyword.operator.other.elixir"},"2":{name:"keyword.control.elixir"},"3":{name:"punctuation.section.function.elixir"}},patterns:[{include:"#core_syntax"}]}],repository:{core_syntax:{patterns:[{begin:"^\\s*(defmodule)\\b",beginCaptures:{"1":{name:"keyword.control.module.elixir"}},end:"\\b(do)\\b",endCaptures:{"1":{name:"keyword.control.module.elixir"}},name:"meta.module.elixir",patterns:[{match:"\\b[A-Z]\\w*(?=\\.)",name:"entity.other.inherited-class.elixir"},{match:"\\b[A-Z]\\w*\\b",name:"entity.name.type.class.elixir"}]},{begin:"^\\s*(defprotocol)\\b",beginCaptures:{"1":{name:"keyword.control.protocol.elixir"}},end:"\\b(do)\\b",endCaptures:{"1":{name:"keyword.control.protocol.elixir"}},name:"meta.protocol_declaration.elixir",patterns:[{match:"\\b[A-Z]\\w*\\b",name:"entity.name.type.protocol.elixir"}]},{begin:"^\\s*(defimpl)\\b",beginCaptures:{"1":{name:"keyword.control.protocol.elixir"}},end:"\\b(do)\\b",endCaptures:{"1":{name:"keyword.control.protocol.elixir"}},name:"meta.protocol_implementation.elixir",patterns:[{match:"\\b[A-Z]\\w*\\b",name:"entity.name.type.protocol.elixir"}]},{begin:"^\\s*(def|defmacro|defdelegate|defguard)\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|>[>=]?|<=>|<[<=]?|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))((\\()|\\s*)",beginCaptures:{"1":{name:"keyword.control.module.elixir"},"2":{name:"entity.name.function.public.elixir"},"4":{name:"punctuation.section.function.elixir"}},end:"(\\bdo:)|(\\bdo\\b)|(?=\\s+(def|defn|defmacro|defdelegate|defguard)\\b)",endCaptures:{"1":{name:"constant.other.keywords.elixir"},"2":{name:"keyword.control.module.elixir"}},name:"meta.function.public.elixir",patterns:[{include:"$self"},{begin:"\\s(\\\\\\\\)",beginCaptures:{"1":{name:"keyword.operator.other.elixir"}},end:",|\\)|$",patterns:[{include:"$self"}]},{match:"\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\b",name:"keyword.control.elixir"}]},{begin:"^\\s*(defp|defnp|defmacrop|defguardp)\\s+((?>[a-zA-Z_]\\w*(?>\\.|::))?(?>[a-zA-Z_]\\w*(?>[?!]|=(?!>))?|===?|>[>=]?|<=>|<[<=]?|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?))((\\()|\\s*)",beginCaptures:{"1":{name:"keyword.control.module.elixir"},"2":{name:"entity.name.function.private.elixir"},"4":{name:"punctuation.section.function.elixir"}},end:"(\\bdo:)|(\\bdo\\b)|(?=\\s+(defp|defmacrop|defguardp)\\b)",endCaptures:{"1":{name:"constant.other.keywords.elixir"},"2":{name:"keyword.control.module.elixir"}},name:"meta.function.private.elixir",patterns:[{include:"$self"},{begin:"\\s(\\\\\\\\)",beginCaptures:{"1":{name:"keyword.operator.other.elixir"}},end:",|\\)|$",patterns:[{include:"$self"}]},{match:"\\b(is_atom|is_binary|is_bitstring|is_boolean|is_float|is_function|is_integer|is_list|is_map|is_nil|is_number|is_pid|is_port|is_record|is_reference|is_tuple|is_exception|abs|bit_size|byte_size|div|elem|hd|length|map_size|node|rem|round|tl|trunc|tuple_size)\\b",name:"keyword.control.elixir"}]},{begin:"\\s*~L\"\"\"",comment:"Leex Sigil",end:"\\s*\"\"\"",name:"sigil.leex",patterns:[{include:"text.elixir"},{include:"text.html.basic"}]},{begin:"\\s*~H\"\"\"",comment:"HEEx Sigil",end:"\\s*\"\"\"",name:"sigil.heex",patterns:[{includeLine truncated
export { elixir_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var elm_tmLanguage = {fileTypes:["elm"],name:"elm",scopeName:"source.elm",patterns:[{include:"#import"},{include:"#module"},{include:"#debug"},{include:"#comments"},{match:"\\b(_)\\b",name:"keyword.unused.elm"},{include:"#type-signature"},{include:"#type-declaration"},{include:"#type-alias-declaration"},{include:"#string-triple"},{include:"#string-quote"},{include:"#char"},{comment:"Floats are always decimal",match:"\\b([0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\\b",name:"constant.numeric.float.elm"},{match:"\\b([0-9]+)\\b",name:"constant.numeric.elm"},{match:"\\b(0x[0-9a-fA-F]+)\\b",name:"constant.numeric.elm"},{include:"#glsl"},{include:"#record-prefix"},{include:"#module-prefix"},{include:"#constructor"},{name:"meta.record.field.update.elm",match:"(\\{)\\s+([a-z][a-zA-Z0-9_]*)\\s+(\\|)\\s+([a-z][a-zA-Z0-9_]*)",captures:{"1":{name:"punctuation.bracket.elm"},"2":{name:"record.name.elm"},"3":{name:"keyword.pipe.elm"},"4":{name:"entity.name.record.field.elm"}}},{name:"meta.record.field.update.elm",match:"(\\|)\\s+([a-z][a-zA-Z0-9_]*)\\s+(\\=)",captures:{"1":{name:"keyword.pipe.elm"},"2":{name:"entity.name.record.field.elm"},"3":{name:"keyword.operator.assignment.elm"}}},{name:"meta.record.field.update.elm",match:"(\\{)\\s+([a-z][a-zA-Z0-9_]*)\\s+$",captures:{"1":{name:"punctuation.bracket.elm"},"2":{name:"record.name.elm"}}},{name:"meta.record.field.elm",match:"(\\{)\\s+([a-z][a-zA-Z0-9_]*)\\s+(\\=)",captures:{"1":{name:"punctuation.bracket.elm"},"2":{name:"entity.name.record.field.elm"},"3":{name:"keyword.operator.assignment.elm"}}},{name:"meta.record.field.elm",match:"(,)\\s+([a-z][a-zA-Z0-9_]*)\\s+(\\=)",captures:{"1":{name:"punctuation.separator.comma.elm"},"2":{name:"entity.name.record.field.elm"},"3":{name:"keyword.operator.assignment.elm"}}},{match:"(\\}|\\{)",name:"punctuation.bracket.elm"},{include:"#unit"},{include:"#comma"},{include:"#parens"},{match:"(->)",name:"keyword.operator.arrow.elm"},{include:"#infix_op"},{match:"(\\=|\\:|\\||\\\\)",name:"keyword.other.elm"},{match:"\\b(type|as|port|exposing|alias|infixl|infixr|infix)\\s+",name:"keyword.other.elm"},{match:"\\b(if|then|else|case|of|let|in)\\s+",name:"keyword.control.elm"},{include:"#record-accessor"},{include:"#top_level_value"},{include:"#value"},{include:"#period"},{include:"#square_brackets"}],repository:{comma:{match:"(,)",name:"punctuation.separator.comma.elm"},parens:{match:"(\\(|\\))",name:"punctuation.parens.elm"},block_comment:{applyEndPatternLast:1,begin:"\\{-(?!#)",captures:{"0":{name:"punctuation.definition.comment.elm"}},end:"-\\}",name:"comment.block.elm",patterns:[{include:"#block_comment"}]},comments:{patterns:[{captures:{"1":{name:"punctuation.definition.comment.elm"}},begin:"--",end:"$",name:"comment.line.double-dash.elm"},{include:"#block_comment"}]},"import":{name:"meta.import.elm",begin:"^\\b(import)\\s+",beginCaptures:{"1":{name:"keyword.control.import.elm"}},end:"\\n(?!\\s)",patterns:[{match:"(as|exposing)",name:"keyword.control.elm"},{include:"#module_chunk"},{include:"#period"},{match:"\\s+",name:"punctuation.spaces.elm"},{include:"#module-exports"}]},module:{begin:"^\\b((port |effect )?module)\\s+",beginCaptures:{"1":{name:"keyword.other.elm"}},end:"\\n(?!\\s)",endCaptures:{"1":{name:"keyword.other.elm"}},name:"meta.declaration.module.elm",patterns:[{include:"#module_chunk"},{include:"#period"},{match:"(exposing)",name:"keyword.other.elm"},{match:"\\s+",name:"punctuation.spaces.elm"},{include:"#module-exports"}]},"string-triple":{name:"string.quoted.triple.elm",begin:"\"\"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.elm"}},end:"\"\"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.elm"}},patterns:[{match:"\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\&]|x[0-9a-fA-F]{1,5})",name:"constant.character.escape.elm"},{match:"\\^[A-Z@\\[\\]\\\\\\^_]",name:"constant.character.escape.control.elm"}]},"string-quote":{name:"string.quoted.double.elm",begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.elm"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.elm"}},patterns:[{match:"\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\&]|x[0-9a-fA-F]{1,5})",name:"constant.character.escape.elm"},{match:"\\^[A-Z@\\[\\]\\\\\\^_]",name:"constant.character.escape.control.elm"}]},char:{name:"string.quoted.single.elm",begin:"'",beginCaptures:{"0":{name:"punctuation.definition.char.begin.elm"}},end:"'",endCaptures:{"0":{name:"punctuation.definition.char.end.elm"}},patterns:[{match:"\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\&]|x[0-9a-fA-F]{1,5})",name:"constant.character.escape.elm"},{match:"\\^[A-Z@\\[\\]\\\\\\^_]",name:"constant.character.escape.control.elm"}]}Line truncated
export { elm_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var erb_tmLanguage = {fileTypes:["erb","rhtml","html.erb"],injections:{"text.html.erb - (meta.embedded.block.erb | meta.embedded.line.erb | comment)":{patterns:[{begin:"(^\\s*)(?=<%+#(?![^%]*%>))",beginCaptures:{"0":{name:"punctuation.whitespace.comment.leading.erb"}},end:"(?!\\G)(\\s*$\\n)?",endCaptures:{"0":{name:"punctuation.whitespace.comment.trailing.erb"}},patterns:[{include:"#comment"}]},{begin:"(^\\s*)(?=<%(?![^%]*%>))",beginCaptures:{"0":{name:"punctuation.whitespace.embedded.leading.erb"}},end:"(?!\\G)(\\s*$\\n)?",endCaptures:{"0":{name:"punctuation.whitespace.embedded.trailing.erb"}},patterns:[{include:"#tags"}]},{include:"#comment"},{include:"#tags"}]}},keyEquivalent:"^~H",name:"erb",patterns:[{include:"text.html.basic"}],repository:{comment:{patterns:[{begin:"<%+#",beginCaptures:{"0":{name:"punctuation.definition.comment.begin.erb"}},end:"%>",endCaptures:{"0":{name:"punctuation.definition.comment.end.erb"}},name:"comment.block.erb"}]},tags:{patterns:[{begin:"<%+(?!>)[-=]?(?![^%]*%>)",beginCaptures:{"0":{name:"punctuation.section.embedded.begin.erb"}},contentName:"source.ruby",end:"(-?%)>",endCaptures:{"0":{name:"punctuation.section.embedded.end.erb"},"1":{name:"source.ruby"}},name:"meta.embedded.block.erb",patterns:[{captures:{"1":{name:"punctuation.definition.comment.erb"}},match:"(#).*?(?=-?%>)",name:"comment.line.number-sign.erb"},{include:"source.ruby"}]},{begin:"<%+(?!>)[-=]?",beginCaptures:{"0":{name:"punctuation.section.embedded.begin.erb"}},contentName:"source.ruby",end:"(-?%)>",endCaptures:{"0":{name:"punctuation.section.embedded.end.erb"},"1":{name:"source.ruby"}},name:"meta.embedded.line.erb",patterns:[{captures:{"1":{name:"punctuation.definition.comment.erb"}},match:"(#).*?(?=-?%>)",name:"comment.line.number-sign.erb"},{include:"source.ruby"}]}]}},scopeName:"text.html.erb",uuid:"13FF9439-15D0-4E74-9A8E-83ABF0BAA5E7"};
export { erb_tmLanguage as default };
@@ -0,0 +1,3 @@
var erlang_tmLanguage = {comment:"The recognition of function definitions and compiler directives (such as module, record and macro definitions) requires that each of the aforementioned constructs must be the first string inside a line (except for whitespace). Also, the function/module/record/macro names must be given unquoted. -- desp",fileTypes:["erl","escript","hrl","xrl","yrl"],keyEquivalent:"^~E",name:"erlang",patterns:[{include:"#module-directive"},{include:"#import-export-directive"},{include:"#behaviour-directive"},{include:"#record-directive"},{include:"#define-directive"},{include:"#macro-directive"},{include:"#directive"},{include:"#function"},{include:"#everything-else"}],repository:{atom:{patterns:[{begin:"(')",beginCaptures:{"1":{name:"punctuation.definition.symbol.begin.erlang"}},end:"(')",endCaptures:{"1":{name:"punctuation.definition.symbol.end.erlang"}},name:"constant.other.symbol.quoted.single.erlang",patterns:[{captures:{"1":{name:"punctuation.definition.escape.erlang"},"3":{name:"punctuation.definition.escape.erlang"}},match:"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})",name:"constant.other.symbol.escape.erlang"},{match:"\\\\\\^?.?",name:"invalid.illegal.atom.erlang"}]},{match:"[a-z][a-zA-Z\\d@_]*+",name:"constant.other.symbol.unquoted.erlang"}]},"behaviour-directive":{captures:{"1":{name:"punctuation.section.directive.begin.erlang"},"2":{name:"keyword.control.directive.behaviour.erlang"},"3":{name:"punctuation.definition.parameters.begin.erlang"},"4":{name:"entity.name.type.class.behaviour.definition.erlang"},"5":{name:"punctuation.definition.parameters.end.erlang"},"6":{name:"punctuation.section.directive.end.erlang"}},match:"^\\s*+(-)\\s*+(behaviour)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)",name:"meta.directive.behaviour.erlang"},binary:{begin:"(<<)",beginCaptures:{"1":{name:"punctuation.definition.binary.begin.erlang"}},end:"(>>)",endCaptures:{"1":{name:"punctuation.definition.binary.end.erlang"}},name:"meta.structure.binary.erlang",patterns:[{captures:{"1":{name:"punctuation.separator.binary.erlang"},"2":{name:"punctuation.separator.value-size.erlang"}},match:"(,)|(:)"},{include:"#internal-type-specifiers"},{include:"#everything-else"}]},character:{patterns:[{captures:{"1":{name:"punctuation.definition.character.erlang"},"2":{name:"constant.character.escape.erlang"},"3":{name:"punctuation.definition.escape.erlang"},"5":{name:"punctuation.definition.escape.erlang"}},match:"(\\$)((\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2}))",name:"constant.character.erlang"},{match:"\\$\\\\\\^?.?",name:"invalid.illegal.character.erlang"},{captures:{"1":{name:"punctuation.definition.character.erlang"}},match:"(\\$)[ \\S]",name:"constant.character.erlang"},{match:"\\$.?",name:"invalid.illegal.character.erlang"}]},comment:{begin:"(^[ \\t]+)?(?=%)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.erlang"}},end:"(?!\\G)",patterns:[{begin:"%",beginCaptures:{"0":{name:"punctuation.definition.comment.erlang"}},end:"\\n",name:"comment.line.percentage.erlang"}]},"define-directive":{patterns:[{begin:"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+",beginCaptures:{"1":{name:"punctuation.section.directive.begin.erlang"},"2":{name:"keyword.control.directive.define.erlang"},"3":{name:"punctuation.definition.parameters.begin.erlang"},"4":{name:"entity.name.function.macro.definition.erlang"}},end:"(\\))\\s*+(\\.)",endCaptures:{"1":{name:"punctuation.definition.parameters.end.erlang"},"2":{name:"punctuation.section.directive.end.erlang"}},name:"meta.directive.define.erlang",patterns:[{include:"#everything-else"}]},{begin:"(?=^\\s*+-\\s*+define\\s*+\\(\\s*+[a-zA-Z\\d@_]++\\s*+\\()",end:"(\\))\\s*+(\\.)",endCaptures:{"1":{name:"punctuation.definition.parameters.end.erlang"},"2":{name:"punctuation.section.directive.end.erlang"}},name:"meta.directive.define.erlang",patterns:[{begin:"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+(\\()",beginCaptures:{"1":{name:"punctuation.section.directive.begin.erlang"},"2":{name:"keyword.control.directive.define.erlang"},"3":{name:"punctuation.definition.parameters.begin.erlang"},"4":{name:"entity.name.function.macro.definition.erlang"},"5":{name:"punctuation.definition.parameters.begin.erlang"}},end:"(\\))\\s*(,)",endCaptures:{"1":{name:"punctuation.definition.parameters.end.erlang"},"2":{name:"punctuation.separator.parameters.erlang"}},patterns:[{match:",",name:"punctuation.separator.parameters.erlang"},{include:"#everything-else"}]},{match:"\\|\\||\\||:|;|,|\\.|->",name:"punctuation.separator.define.erlang"},{include:"#everything-else"}]}]},directive:{patterns:[{begin:"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\(?)",beginCaptures:{"1":{name:"punctuation.section.directive.begin.erlang"},"2":{name:"keyword.control.directive.erlang"},"3":{name:"punctuation.definition.parameters.begin.erlang"}},end:"(\\)?)\\s*+(\\.)",endCaptures:{"1":{name:"punctuation.definition.parameters.end.eLine truncated
export { erlang_tmLanguage as default };
@@ -0,0 +1,3 @@
var fish_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",fileTypes:["fish"],firstLineMatch:"^#!.*\\bfish\\b",foldingStartMarker:"^\\s*(function|while|if|switch|for|begin)\\s.*$",foldingStopMarker:"^\\s*end\\s*$",keyEquivalent:"^~F",name:"fish",patterns:[{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.fish"}},comment:"Double quoted string",end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.fish"}},name:"string.quoted.double.fish",patterns:[{include:"#variable"},{comment:"https://fishshell.com/docs/current/#quotes",match:"\\\\(\\\"|\\$|$|\\\\)",name:"constant.character.escape.fish"}]},{begin:"'",beginCaptures:{"0":{name:"punctuation.definition.string.begin.fish"}},comment:"Single quoted string",end:"'",endCaptures:{"0":{name:"punctuation.definition.string.end.fish"}},name:"string.quoted.single.fish",patterns:[{comment:"https://fishshell.com/docs/current/#quotes",match:"\\\\('|`|\\\\)",name:"constant.character.escape.fish"}]},{captures:{"1":{name:"punctuation.definition.comment.fish"}},comment:"line comment",match:"(?<!\\$)(#)(?!\\{).*$\\n?",name:"comment.line.number-sign.fish"},{comment:"name of command, either a function or a binary",match:"(^\\s*|&&\\s*|\\|\\s*|\\(\\s*|[;]\\s*|\\b(if|while)\\b\\s+)(?!(?<!\\.)\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\b(?![?!]))([a-zA-Z_\\-0-9\\[\\].]+)",captures:{"2":{name:"keyword.control.fish"},"4":{name:"support.function.command.fish"}}},{comment:"keywords that affect control flow",match:"(?<!\\.)\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\b(?![?!])",name:"keyword.control.fish"},{match:"(?<!\\.)\\bfunction\\b(?![?!])",name:"storage.type.fish"},{match:"\\|",name:"keyword.operator.pipe.fish"},{comment:"IO Redirection",match:"(?x:\n<|# Standard Input\n(>|\\^|>>|\\^\\^)(&[012\\-])?| # Redirection of stderr\n[012](<|>|>>)(&[012\\-])? # Redirect input/output of file descriptors\n)",name:"keyword.operator.redirect.fish"},{match:"&",name:"keyword.operator.background.fish"},{match:"\\*\\*|\\*|\\?",name:"keyword.operator.glob.fish"},{comment:"command short/long options",match:"\\s(-{1,2}[a-zA-Z_\\-0-9]+|-\\w)\\b",captures:{"1":{name:"source.option.fish"}}},{include:"#variable"},{include:"#escape"}],repository:{"escape":{patterns:[{comment:"single character character escape sequences",match:"\\\\[abefnrtv $*?~#(){}\\[\\]<>^&|;\"']",name:"constant.character.escape.single.fish"},{comment:"escapes the ascii character with the specified value (hexadecimal)",match:"\\\\x[0-9a-fA-F]{1,2}",name:"constant.character.escape.hex-ascii.fish"},{comment:"escapes a byte of data with the specified value (hexadecimal). If you are using mutibyte encoding, this can be used to enter invalid strings. Only use this if you know what are doing.",match:"\\\\X[0-9a-fA-F]{1,2}",name:"constant.character.escape.hex-byte.fish"},{comment:"escapes the ascii character with the specified value (octal)",match:"\\\\[0-7]{1,3}",name:"constant.character.escape.octal.fish"},{comment:"escapes the 16-bit unicode character with the specified value (hexadecimal)",match:"\\\\u[0-9a-fA-F]{1,4}",name:"constant.character.escape.unicode-16-bit.fish"},{comment:"escapes the 32-bit unicode character with the specified value (hexadecimal)",match:"\\\\U[0-9a-fA-F]{1,8}",name:"constant.character.escape.unicode-32-bit.fish"},{comment:"escapes the control sequence generated by pressing the control key and the specified letter",match:"\\\\c[a-zA-Z]",name:"constant.character.escape.control.fish"}]},variable:{patterns:[{comment:"Built-in variables visible by pressing $ TAB TAB in a new shell",captures:{"1":{name:"punctuation.definition.variable.fish"}},match:"(\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\b",name:"variable.languLine truncated
export { fish_tmLanguage as default };
@@ -0,0 +1,3 @@
var fsharp_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/ionide/ionide-fsgrammar/blob/master/grammars/fsharp.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/ionide/ionide-fsgrammar/commit/8740e610a367c5e3f15be716acc7207655ced4cf",name:"fsharp",scopeName:"source.fsharp",patterns:[{include:"#compiler_directives"},{include:"#comments"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#definition"},{include:"#abstract_definition"},{include:"#attributes"},{include:"#modules"},{include:"#anonymous_functions"},{include:"#du_declaration"},{include:"#record_declaration"},{include:"#records"},{include:"#strp_inlined"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}],repository:{strp_inlined_body:{patterns:[{include:"#comments"},{include:"#anonymous_functions"},{match:"(\\^[[:alpha:]0-9'._]+)",captures:{"1":{name:"entity.name.type.fsharp"}}},{name:"keyword.fsharp",match:"\\b(and|when|or)\\b"},{begin:"(\\()",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:"(\\))",endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#strp_inlined_body"}]},{match:"(static member|member)\\s*([[:alpha:]0-9'`<>^._]+|``[[:alpha:]0-9' <>^._]+``)\\s*(:)",captures:{"1":{name:"keyword.fsharp"},"2":{name:"variable.fsharp"},"3":{name:"keyword.symbol.fsharp"}}},{include:"#compiler_directives"},{include:"#constants"},{include:"#strings"},{include:"#chars"},{include:"#double_tick"},{include:"#keywords"},{include:"#text"},{include:"#definition"},{include:"#attributes"},{include:"#keywords"},{include:"#cexprs"},{include:"#text"}]},strp_inlined:{patterns:[{begin:"(\\()",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:"(\\))",endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#strp_inlined_body"}]}]},generic_declaration:{patterns:[{comments:"SRTP syntax support",begin:"(:)\\s*(\\()\\s*(static member|member)",beginCaptures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"keyword.symbol.fsharp"},"3":{name:"keyword.fsharp"}},end:"(\\))",endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{begin:"(\\()",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},end:"(\\))",endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{include:"#member_declaration"}]},{match:"(('|\\^)[[:alpha:]0-9'._]+)",captures:{"1":{name:"entity.name.type.fsharp"}}},{include:"#variables"},{include:"#keywords"}]},{name:"keyword.fsharp",match:"\\b(private|to|public|internal|function|yield!|yield|class|exception|match|delegate|of|new|in|as|if|then|else|elif|for|begin|end|inherit|do|let\\!|return\\!|return|interface|with|abstract|enum|member|try|finally|and|when|or|use|use\\!|struct|while|mutable|assert|base|done|downcast|downto|extern|fixed|global|lazy|upcast|not)(?!')\\b"},{name:"keyword.symbol.fsharp",match:":"},{include:"#constants"},{match:"(('|\\^)[[:alpha:]0-9'._]+)",captures:{"1":{name:"entity.name.type.fsharp"}}},{begin:"(<)",end:"(>)",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{match:"(('|\\^)[[:alpha:]0-9'._]+)",captures:{"1":{name:"entity.name.type.fsharp"}}},{include:"#tuple_signature"},{include:"#generic_declaration"}]},{begin:"(\\()",end:"(\\))",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{match:"(([?[:alpha:]0-9'`^._ ]+))+",captures:{"1":{name:"entity.name.type.fsharp"}}},{include:"#tuple_signature"}]},{match:"(?!when|and|or\\b)\\b([\\w0-9'`^._]+)",comments:"Here we need the \\w modifier in order to check that the words are allowed",captures:{"1":{name:"entity.name.type.fsharp"}}},{match:"(\\|)",comments:"Prevent captures of `|>` as a keyword when defining custom operator like `<|>`",captures:{"1":{name:"keyword.symbol.fsharp"}}},{include:"#keywords"}]},anonymous_record_declaration:{begin:"(\\{\\|)",end:"(\\|\\})",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{match:"[[:alpha:]0-9'`^_ ]+(:)",captures:{"1":{name:"keyword.symbol.fsharp"}}},{match:"([[:alpha:]0-9'`^_ ]+)",captures:{"1":{name:"entity.name.type.fsharp"}}},{include:"#anonymous_record_declaration"},{include:"#keywords"}]},record_signature:{patterns:[{match:"[[:alpha:]0-9'`^_ ]+(=)([[:alpha:]0-9'`^_ ]+)",captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}}},{begin:"({)",end:"(})",beginCaptures:{"1":{name:"keyword.symbol.fsharp"}},endCaptures:{"1":{name:"keyword.symbol.fsharp"}},patterns:[{match:"[[:alpha:]0-9'`^_ ]+(=)([[:alpha:]0-9'`^_ ]+)",captures:{"1":{name:"keyword.symbol.fsharp"},"2":{name:"variable.parameter.fsharp"}}},{include:"#record_signature"}]},{include:"#keywords"}]},tuple_signature:{patterns:[{match:"(([?[:alpha:]0-9'`^._ ]+))+",captures:{"1":{name:"eLine truncated
export { fsharp_tmLanguage as default };
@@ -0,0 +1,3 @@
var gdresource_tmLanguage = {scopeName:"source.gdresource",uuid:"e076faa2-3c52-42fa-a8e6-9a7c453c1a5b",patterns:[{include:"#embedded_shader"},{include:"#embedded_gdscript"},{include:"#comment"},{include:"#heading"},{include:"#key_value"}],repository:{comment:{captures:{"1":{name:"punctuation.definition.comment.gdresource"}},match:"(;).*$\\n?",name:"comment.line.gdresource"},embedded_shader:{name:"meta.embedded.block.gdshader",begin:"(code) = \"",end:"\"",beginCaptures:{"1":{name:"variable.other.property.gdresource"}},patterns:[{include:"source.gdshader"}]},embedded_gdscript:{comment:"meta.embedded.block.gdscript",begin:"(script/source) = \"",end:"\"",beginCaptures:{"1":{name:"variable.other.property.gdresource"}},patterns:[{include:"source.gdscript"}]},heading:{begin:"\\[([a-z_]*)\\s?",beginCaptures:{"1":{name:"keyword.control.gdresource"}},end:"\\]",patterns:[{include:"#heading_properties"},{include:"#data"}]},heading_properties:{patterns:[{name:"invalid.deprecated.noValue.gdresource",match:"(\\s*[A-Za-z_\\-][A-Za-z0-9_\\-]*\\s*=)(?=\\s*$)"},{begin:"\\s*([A-Za-z_-][^\\s]*|\".+\"|'.+'|[0-9]+)\\s*(=)\\s*",beginCaptures:{"1":{name:"variable.other.property.gdresource"},"2":{name:"punctuation.definition.keyValue.gdresource"}},end:"($|(?==)|\\,?|\\s*(?=\\}))",patterns:[{include:"#data"}]}]},key_value:{patterns:[{name:"invalid.deprecated.noValue.gdresource",match:"(\\s*[A-Za-z_\\-][A-Za-z0-9_\\-]*\\s*=)(?=\\s*$)"},{begin:"\\s*([A-Za-z_-][^\\s]*|\".+\"|'.+'|[0-9]+)\\s*(=)\\s*",beginCaptures:{"1":{name:"variable.other.property.gdresource"},"2":{name:"punctuation.definition.keyValue.gdresource"}},end:"($|(?==)|\\,|\\s*(?=\\}))",patterns:[{include:"#data"}]}]},data:{patterns:[{include:"#comment"},{begin:"(?<!\\w)(\\{)\\s*",beginCaptures:{"1":{name:"punctuation.definition.table.inline.gdresource"}},end:"\\s*(\\})(?!\\w)",endCaptures:{"1":{name:"punctuation.definition.table.inline.gdresource"}},patterns:[{include:"#key_value"},{include:"#data"}]},{begin:"(?<!\\w)(\\[)\\s*",beginCaptures:{"1":{name:"punctuation.definition.array.gdresource"}},end:"\\s*(\\])(?!\\w)",endCaptures:{"1":{name:"punctuation.definition.array.gdresource"}},patterns:[{include:"#data"}]},{name:"string.quoted.triple.basic.block.gdresource",begin:"\"\"\"",end:"\"\"\"",patterns:[{match:"\\\\([btnfr\"\\\\\\n/ ]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})",name:"constant.character.escape.gdresource"},{match:"\\\\[^btnfr/\"\\\\\\n]",name:"invalid.illegal.escape.gdresource"}]},{name:"support.function.any-method.gdresource",match:"\"res:\\/\\/[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\""},{name:"support.class.library.gdresource",match:"(?<=type=)\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\""},{name:"constant.character.escape.gdresource",match:"(?<=NodePath\\(|parent=|name=)\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\""},{name:"string.quoted.double.basic.line.gdresource",match:"\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\"",patterns:[{match:"\\\\([btnfr\"\\\\\\n/ ]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})",name:"constant.character.escape.gdresource"},{match:"\\\\[^btnfr/\"\\\\\\n]",name:"invalid.illegal.escape.gdresource"}]},{name:"invalid.illegal.escape.gdresource",begin:"'''",end:"'''"},{name:"string.quoted.single.literal.line.gdresource",match:"'.*?'"},{match:"(?<!\\w)(true|false)(?!\\w)",captures:{"1":{name:"constant.language.gdresource"}}},{match:"(?<!\\w)([\\+\\-]?(0|([1-9](([0-9]|_[0-9])+)?))(?:(?:\\.(0|([1-9](([0-9]|_[0-9])+)?)))?[eE][\\+\\-]?[1-9]_?[0-9]*|(?:\\.[0-9_]*)))(?!\\w)",captures:{"1":{name:"constant.numeric.float.gdresource"}}},{match:"(?<!\\w)((?:[\\+\\-]?(0|([1-9](([0-9]|_[0-9])+)?))))(?!\\w)",captures:{"1":{name:"constant.numeric.integer.gdresource"}}},{match:"(?<!\\w)([\\+\\-]?inf)(?!\\w)",captures:{"1":{name:"constant.numeric.inf.gdresource"}}},{match:"(?<!\\w)([\\+\\-]?nan)(?!\\w)",captures:{"1":{name:"constant.numeric.nan.gdresource"}}},{match:"(?<!\\w)((?:0x(([0-9a-fA-F](([0-9a-fA-F]|_[0-9a-fA-F])+)?))))(?!\\w)",captures:{"1":{name:"constant.numeric.hex.gdresource"}}},{match:"(?<!\\w)(0o[0-7](_?[0-7])*)(?!\\w)",captures:{"1":{name:"constant.numeric.oct.gdresource"}}},{match:"(?<!\\w)(0b[01](_?[01])*)(?!\\w)",captures:{"1":{name:"constant.numeric.bin.gdresource"}}},{begin:"(?<!\\w)(Vector2|Vector2i|Vector3|Vector3i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|Object|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|StringName|Quaternion|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedColorArray)(\\()\\s?",beginCaptures:{"1":{name:"support.class.library.gdresource"}},end:"\\s?(\\))",patterns:[{include:"#key_value"},{include:"#data"}]},{begin:"(?<!\\w)(ExtResource|SubResource)(\\()\\s?",beginCaptures:{"1":{name:"keyword.control.gdresource"}},end:"\\s?(\\))",patterns:[{include:"#key_value"},{include:"#data"}]}Line truncated
export { gdresource_tmLanguage as default };
@@ -0,0 +1,3 @@
var gdscript_tmLanguage = {fileTypes:["gd"],scopeName:"source.gdscript",name:"gdscript",patterns:[{include:"#nodepath_object"},{include:"#nodepath_function"},{include:"#base_expression"},{include:"#logic_op"},{include:"#in_keyword"},{include:"#getter_setter_godot4"},{include:"#compare_op"},{include:"#arithmetic_op"},{include:"#assignment_op"},{include:"#lambda_declaration"},{include:"#control_flow"},{include:"#annotations"},{include:"#keywords"},{include:"#self"},{include:"#class_definition"},{include:"#variable_definition"},{include:"#class_name"},{include:"#builtin_func"},{include:"#builtin_get_node_shorthand"},{include:"#builtin_classes"},{include:"#const_vars"},{include:"#pascal_case_class"},{include:"#class_new"},{include:"#class_is"},{include:"#class_enum"},{include:"#signal_declaration_bare"},{include:"#signal_declaration"},{include:"#function_declaration"},{include:"#function_keyword"},{include:"#any_method"},{include:"#any_property"},{include:"#extends"}],repository:{comment:{captures:{"1":{name:"punctuation.definition.comment.number-sign.gdscript"}},match:"(#).*$\\n?",name:"comment.line.number-sign.gdscript"},strings:{patterns:[{begin:"(?:(?<=get_node|has_node|find_node|get_node_or_null|NodePath)\\s*\\(\\s*)",end:"(?:\\s*\\))",patterns:[{begin:"[\"']",end:"[\"']",name:"constant.character.escape"},{include:"#base_expression"}]},{name:"invalid.illegal.escape.gdscript",begin:"'''",end:"'''"},{begin:"\"",end:"\"",patterns:[{name:"constant.character.escape.untitled",match:"\\\\."}],name:"string.quoted.double.gdscript"},{begin:"'",end:"'",patterns:[{name:"constant.character.escape.untitled",match:"\\\\."}],name:"string.quoted.single.gdscript"},{begin:"@\"",end:"\"",patterns:[{name:"constant.character.escape.untitled",match:"\\."}],name:"string.nodepath.gdscript"}]},nodepath_object:{name:"meta.literal.nodepath.gdscript",begin:"(NodePath)\\s*(?:\\()",beginCaptures:{"1":{name:"support.class.library.gdscript"}},end:"(?:\\))",patterns:[{begin:"[\"']",end:"[\"']",name:"constant.character.escape",patterns:[{match:"%",name:"keyword.control.flow"}]}]},nodepath_function:{name:"meta.literal.nodepath.gdscript",begin:"(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\s*(?:\\()",beginCaptures:{"1":{name:"entity.name.function.gdscript"}},end:"(?:\\))",patterns:[{begin:"[\"']",end:"[\"']",name:"constant.character.escape",patterns:[{match:"%",name:"keyword.control.flow"}]}]},self:{match:"\\bself\\b",name:"variable.language.gdscript"},base_expression:{patterns:[{include:"#builtin_get_node_shorthand"},{include:"#nodepath_object"},{include:"#nodepath_function"},{include:"#strings"},{include:"#keywords"},{include:"#logic_op"},{include:"#lambda_declaration"},{include:"#in_keyword"},{include:"#control_flow"},{include:"#function_call"},{include:"#comment"},{include:"#self"},{include:"#letter"},{include:"#numbers"},{include:"#builtin_func"},{include:"#builtin_classes"},{include:"#const_vars"},{include:"#pascal_case_class"},{include:"#line_continuation"}]},logic_op:{match:"\\b(and|or|not)\\b",name:"keyword.operator.wordlike.gdscript"},in_keyword:{patterns:[{match:"\\b(for)\\s+[a-zA-Z_]\\w*\\s+(in)\\b",captures:{"1":{name:"keyword.control.gdscript"},"2":{name:"keyword.control.gdscript"}}},{match:"\\bin\\b",name:"keyword.operator.wordlike.gdscript"}]},compare_op:{match:"<=|>=|==|<|>|!=",name:"keyword.operator.comparison.gdscript"},arithmetic_op:{match:"\\+=|-=|\\*=|/=|%=|&=|\\|=|\\*|/|%|\\+|-|<<|>>|&|\\||\\^|~",name:"keyword.operator.arithmetic.gdscript"},assignment_op:{match:"=",name:"keyword.operator.assignment.gdscript"},control_flow:{match:"\\b(?i:if|elif|else|for|while|break|continue|pass|return|match|yield|await)\\b",name:"keyword.control.gdscript"},keywords:{match:"\\b(?i:class|class_name|extends|is|onready|tool|static|export|as|void|enum|preload|assert|breakpoint|rpc|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",name:"keyword.language.gdscript"},letter:{match:"\\b(?i:true|false|null)\\b",name:"constant.language.gdscript"},numbers:{patterns:[{match:"\\b(?i:0x\\h*)\\b",name:"constant.numeric.integer.hexadecimal.gdscript"},{match:"\\b(?i:(\\d+\\.\\d*(e[\\-\\+]?\\d+)?))\\b",name:"constant.numeric.float.gdscript"},{match:"\\b(?i:(\\.\\d+(e[\\-\\+]?\\d+)?))\\b",name:"constant.numeric.float.gdscript"},{match:"\\b(?i:(\\d+e[\\-\\+]?\\d+))\\b",name:"constant.numeric.float.gdscript"},{match:"\\b\\d+\\b",name:"constant.numeric.integer.gdscript"}]},variable_definition:{begin:"\\b(?:(var)|(const))\\s+",end:"$|;",beginCaptures:{"1":{name:"storage.type.var.gdscript"},"2":{name:"storage.type.const.gdscript"}},patterns:[{match:"(:)\\s*([a-zA-Z_]\\w*)?",captures:{"1":{name:"punctuation.separator.annotation.gdscript"},"2":{name:"entity.name.type.class.gdscript"}}},{match:"=(?!=)",name:"keyword.operator.assignment.gdscript"},{match:"(setget)\\s+([a-zA-Z_]\\w*)(?:[,]\\s*([a-zA-Z_]\\w*))?",captures:{"1":{name:"storage.type.const.gdscript"},"2":{name:"entity.name.function.gdscript"},"3Line truncated
export { gdscript_tmLanguage as default };
@@ -0,0 +1,3 @@
var gdshader_tmLanguage = {name:"gdshader",scopeName:"source.gdshader",uuid:"3a95d25d-688b-481f-a581-eee47f00e5ca",fileTypes:["gdshader"],patterns:[{include:"#any"}],repository:{any:{patterns:[{include:"#comment"},{include:"#enclosed"},{include:"#classifier"},{include:"#definition"},{include:"#keyword"},{include:"#element"},{include:"#separator"},{include:"#operator"}]},comment:{patterns:[{include:"#commentLine"},{include:"#commentBlock"}]},commentLine:{name:"comment.line.double-slash.gdshader",begin:"//",end:"$"},commentBlock:{name:"comment.block.gdshader",begin:"/\\*",end:"\\*/"},enclosed:{name:"meta.parenthesis.gdshader",begin:"\\(",end:"\\)",captures:{"0":{name:"punctuation.parenthesis.gdshader"}},patterns:[{include:"#any"}]},classifier:{name:"meta.classifier.gdshader",begin:"(?=\\b(?:shader_type|render_mode)\\b)",patterns:[{include:"#comment"},{include:"#keyword"},{include:"#identifierClassification"},{include:"#separator"}],end:"(?<=;)"},classifierKeyword:{name:"keyword.language.classifier.gdshader",match:"\\b(?:shader_type|render_mode)\\b"},identifierClassification:{name:"entity.other.inherited-class.gdshader",match:"\\b[a-z_]+\\b"},definition:{patterns:[{include:"#structDefinition"}]},arraySize:{name:"meta.array-size.gdshader",begin:"\\[",end:"\\]",captures:{"0":{name:"punctuation.bracket.gdshader"}},patterns:[{include:"#comment"},{include:"#keyword"},{include:"#element"},{include:"#separator"}]},structDefinition:{begin:"(?=\\b(?:struct)\\b)",patterns:[{include:"#comment"},{include:"#keyword"},{include:"#structName"},{include:"#structDefinitionBlock"},{include:"#separator"}],end:"(?<=;)"},structKeyword:{name:"keyword.other.struct.gdshader",match:"\\b(?:struct)\\b"},structName:{name:"entity.name.type.struct.gdshader",match:"\\b[a-zA-Z_]\\w*\\b"},structDefinitionBlock:{name:"meta.definition.block.struct.gdshader",begin:"\\{",end:"\\}",captures:{"0":{name:"punctuation.definition.block.struct.gdshader"}},patterns:[{include:"#comment"},{include:"#precisionKeyword"},{include:"#fieldDefinition"},{include:"#keyword"},{include:"#any"}]},fieldDefinition:{name:"meta.definition.field.gdshader",begin:"\\b[a-zA-Z_]\\w*\\b",beginCaptures:{"0":{patterns:[{include:"#typeKeyword"},{match:".+",name:"entity.name.type.gdshader"}]}},patterns:[{include:"#comment"},{include:"#keyword"},{include:"#arraySize"},{include:"#fieldName"},{include:"#any"}],end:"(?<=;)"},fieldName:{name:"entity.name.variable.field.gdshader",match:"\\b[a-zA-Z_]\\w*\\b"},keyword:{patterns:[{include:"#classifierKeyword"},{include:"#structKeyword"},{include:"#controlKeyword"},{include:"#modifierKeyword"},{include:"#precisionKeyword"},{include:"#typeKeyword"},{include:"#hintKeyword"}]},controlKeyword:{name:"keyword.control.gdshader",match:"\\b(?:if|else|do|while|for|continue|break|switch|case|default|return|discard)\\b"},modifierKeyword:{name:"storage.modifier.gdshader",match:"\\b(?:const|global|instance|uniform|varying|in|out|inout|flat|smooth)\\b"},precisionKeyword:{name:"storage.type.built-in.primitive.precision.gdshader",match:"\\b(?:low|medium|high)p\\b"},typeKeyword:{name:"support.type.gdshader",match:"\\b(?:void|bool|[biu]?vec[234]|u?int|float|mat[234]|[iu]?sampler(?:3D|2D(?:Array)?)|samplerCube)\\b"},hintKeyword:{name:"support.type.annotation.gdshader",match:"\\b(?:source_color|hint_(?:color|range|(?:black_)?albedo|normal|(?:default_)?(?:white|black)|aniso|anisotropy|roughness_(?:[rgba]|normal|gray))|filter_(?:nearest|linear)(?:_mipmap(?:_anisotropic)?)?|repeat_(?:en|dis)able)\\b"},element:{patterns:[{include:"#literalFloat"},{include:"#literalInt"},{include:"#literalBool"},{include:"#identifierType"},{include:"#constructor"},{include:"#processorFunction"},{include:"#identifierFunction"},{include:"#swizzling"},{include:"#identifierField"},{include:"#constantFloat"},{include:"#languageVariable"},{include:"#identifierVariable"}]},literalFloat:{name:"constant.numeric.float.gdshader",match:"\\b(?:\\d+[eE][-+]?\\d+|(?:\\d*[.]\\d+|\\d+[.])(?:[eE][-+]?\\d+)?)[fF]?"},literalInt:{name:"constant.numeric.integer.gdshader",match:"\\b(?:0[xX][0-9A-Fa-f]+|\\d+[uU]?)\\b"},literalBool:{name:"constant.language.boolean.gdshader",match:"\\b(?:false|true)\\b"},identifierType:{name:"entity.name.type.gdshader",match:"\\b[a-zA-Z_]\\w*(?=(?:\\s*\\[\\s*\\w*\\s*\\])?\\s+[a-zA-Z_]\\w*\\b)"},constructor:{name:"entity.name.type.constructor.gdshader",match:"\\b[a-zA-Z_]\\w*(?=\\s*\\[\\s*\\w*\\s*\\]\\s*[(])|\\b[A-Z]\\w*(?=\\s*[(])"},processorFunction:{name:"support.function.gdshader",match:"\\b(?:vertex|fragment|light|start|process|sky|fog)(?=(?:\\s|/\\*(?:\\*(?!/)|[^*])*\\*/)*[(])"},identifierFunction:{name:"entity.name.function.gdshader",match:"\\b[a-zA-Z_]\\w*(?=(?:\\s|/\\*(?:\\*(?!/)|[^*])*\\*/)*[(])"},swizzling:{match:"([.])\\s*([xyzw]{2,4}|[rgba]{2,4}|[stpq]{2,4})\\b",captures:{"1":{name:"punctuation.accessor.gdshader"},"2":{name:"variable.other.property.gdshader"}}},identifierField:{match:"([.])\\s*([a-zA-Z_]\\w*)\\b(?!\\s*\\()",captures:{"1":{name:"punctuation.accessLine truncated
export { gdshader_tmLanguage as default };
@@ -0,0 +1,3 @@
var gherkin_tmLanguage = {fileTypes:["feature"],firstLineMatch:"기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Особина|Функция|Функциональность|Свойство|Могућност|Özellik|Właściwość|Tính năng|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Ability|Business Need|Feature|Egenskap|Egenskab|Crikey|Característica|Arwedd(.*)",foldingStartMarker:"^\\s*\\b(예|시나리오 개요|시나리오|배경|背景|場景大綱|場景|场景大纲|场景|劇本大綱|劇本|例子|例|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|シナリオ|サンプル|سيناريو مخطط|سيناريو|امثلة|الخلفية|תרחיש|תבנית תרחיש|רקע|דוגמאות|Тарих|Сценарій|Сценарији|Сценарио|Сценарий структураси|Сценарий|Структура сценарію|Структура сценарија|Структура сценария|Скица|Рамка на сценарий|Примери|Пример|Приклади|Предыстория|Предистория|Позадина|Передумова|Основа|Мисоллар|Концепт|Контекст|Значения|Örnekler|Założenia|Wharrimean is|Voorbeelden|Variantai|Tình huống|The thing of it is|Tausta|Taust|Tapausaihio|Tapaus|Tapaukset|Szenariogrundriss|Szenario|Szablon scenariusza|Stsenaarium|Struktura scenarija|Skica|Skenario konsep|Skenario|Situācija|Senaryo taslağı|Senaryo|Scénář|Scénario|Schema dello scenario|Scenārijs pēc parauga|Scenārijs|Scenár|Scenariusz|Scenariul de şablon|Scenariul de sablon|Scenariu|Scenarios|Scenario Outline|Scenario Amlinellol|Scenario|Example|Scenarijus|Scenariji|Scenarijaus šablonas|Scenarijai|Scenarij|Scenarie|Rerefons|Raamstsenaarium|Příklady|Példák|Príklady|Przykłady|Primjeri|Primeri|Primer|Pozadí|Pozadina|Pozadie|Plan du scénario|Plan du Scénario|Piemēri|Pavyzdžiai|Paraugs|Osnova scénáře|Osnova|Náčrt Scénáře|Náčrt Scenáru|Mate|MISHUN SRSLY|MISHUN|Kịch bản|Kontext|Konteksts|Kontekstas|Kontekst|Koncept|Khung tình huống|Khung kịch bản|Juhtumid|Háttér|Grundlage|Geçmiş|Forgatókönyv vázlat|Forgatókönyv|Exemplos|Exemples|Exemplele|Exempel|Examples|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esempi|Escenario|Escenari|Enghreifftiau|Eksempler|Ejemplos|EXAMPLZ|Dữ liệu|Dis is what went down|Dasar|Contoh|Contexto|Contexte|Contesto|Condiţii|Conditii|Cobber|Cenário|Cenario|Cefndir|Bối cảnh|Blokes|Beispiele|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|All y'all|Achtergrond|Abstrakt Scenario|Abstract Scenario|Rule|Regla|Règle|Regel|Regra)",foldingStopMarker:"^\\s*$",keyEquivalent:"^~C",name:"gherkin",patterns:[{include:"#feature_element_keyword"},{include:"#feature_keyword"},{include:"#step_keyword"},{include:"#strings_triple_quote"},{include:"#strings_single_quote"},{include:"#strings_double_quote"},{include:"#comments"},{include:"#tags"},{include:"#scenario_outline_variable"},{include:"#table"}],repository:{comments:{captures:{"0":{name:"comment.line.number-sign"}},match:"^\\s*(#.*)"},table:{begin:"^\\s*\\|",end:"\\|\\s*$",name:"keyword.control.cucumber.table",patterns:[{match:"\\w",name:"source"}]},feature_keyword:{captures:{"1":{name:"keyword.language.gherkin.feature"},"2":{name:"string.language.gherkin.feature.title"}},match:"^\\s*(기능|機能|功能|フィーチャ|خاصية|תכונה|Функціонал|Функционалност|Функционал|Особина|Функция|Функциональность|Свойство|Могућност|Özellik|Właściwość|Tính năng|Savybė|Požiadavka|Požadavek|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Fīča|Funzionalità|Funktionalität|Funkcionalnost|Funkcionalitāte|Funcționalitate|Functionaliteit|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Ability|Business Need|Feature|Ability|Egenskap|Egenskab|Crikey|Característica|Arwedd):(.*)\\b"},step_keyword:{captures:{"1":{name:"keyword.language.gherkin.feature.step"}},match:"^\\s*(En |و |Y |E |Եվ |Ya |Too right |Və |Həm |A |И |而且 |并且 |同时 |並且 |同時 |Ak |Epi |A také |Og |😂 |And |Kaj |Ja |Et que |Et qu' |Et |და |Und |Και |અને |וגם |और |तथा |És |Dan |Agus |かつ |Lan |ಮತ್ತು |'ej |latlh |그리고 |AN |Un |Ir |an |a |Мөн |Тэгээд |Ond |7 |ਅਤੇ |Aye |Oraz |Si |Și |Şi |К тому же |Также |An |A tiež |A taktiež |A zároveň |In |Ter |Och |மேலும் |மற்றும் |Һәм |Вә |మLine truncated
export { gherkin_tmLanguage as default };
@@ -0,0 +1,3 @@
var gitCommit_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/walles/git-commit-message-plus/blob/master/syntaxes/git-commit.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/walles/git-commit-message-plus/commit/35a079dea5a91b087021b40c01a6bb4eb0337a87",name:"git-commit",scopeName:"text.git-commit",patterns:[{comment:"diff presented at the end of the commit message when using commit -v.",name:"meta.embedded.diff.git-commit",contentName:"source.diff",begin:"(?=^diff\\ \\-\\-git)",end:"\\z",patterns:[{include:"source.diff"}]},{comment:"User supplied message",name:"meta.scope.message.git-commit",begin:"^(?!#)",end:"^(?=#)",patterns:[{comment:"Mark > 50 lines as deprecated, > 72 as illegal",name:"meta.scope.subject.git-commit",match:"\\G.{0,50}(.{0,22}(.*))$",captures:{"1":{name:"invalid.deprecated.line-too-long.git-commit"},"2":{name:"invalid.illegal.line-too-long.git-commit"}}}]},{comment:"Git supplied metadata in a number of lines starting with #",name:"meta.scope.metadata.git-commit",begin:"^(?=#)",contentName:"comment.line.number-sign.git-commit",end:"^(?!#)",patterns:[{match:"^#\\t((modified|renamed):.*)$",captures:{"1":{name:"markup.changed.git-commit"}}},{match:"^#\\t(new file:.*)$",captures:{"1":{name:"markup.inserted.git-commit"}}},{match:"^#\\t(deleted.*)$",captures:{"1":{name:"markup.deleted.git-commit"}}},{comment:"Fallback for non-English git commit template",match:"^#\\t([^:]+): *(.*)$",captures:{"1":{name:"keyword.other.file-type.git-commit"},"2":{name:"string.unquoted.filename.git-commit"}}}]}]};
export { gitCommit_tmLanguage as default };
@@ -0,0 +1,3 @@
var gitRebase_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git%20Rebase%20Message.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/textmate/git.tmbundle/commit/5870cf3f8abad3a6637bdf69250b5d2ded427dc4",name:"git-rebase",scopeName:"text.git-rebase",patterns:[{captures:{"1":{name:"punctuation.definition.comment.git-rebase"}},match:"^\\s*(#).*$\\n?",name:"comment.line.number-sign.git-rebase"},{captures:{"1":{name:"support.function.git-rebase"},"2":{name:"constant.sha.git-rebase"},"3":{name:"meta.commit-message.git-rebase"}},match:"^\\s*(pick|p|reword|r|edit|e|squash|s|fixup|f|drop|d)\\s+([0-9a-f]+)\\s+(.*)$",name:"meta.commit-command.git-rebase"},{captures:{"1":{name:"support.function.git-rebase"},"2":{patterns:[{include:"source.shell"}]}},match:"^\\s*(exec|x)\\s+(.*)$",name:"meta.commit-command.git-rebase"},{captures:{"1":{name:"support.function.git-rebase"}},match:"^\\s*(break|b)\\s*$",name:"meta.commit-command.git-rebase"}]};
export { gitRebase_tmLanguage as default };
@@ -0,0 +1,3 @@
var glimmerJs_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"glimmer-js",scopeName:"source.gjs",patterns:[{include:"source.js"}],injections:{"L:source.gjs -comment -string":{patterns:[{name:"meta.js.embeddedTemplateWithoutArgs",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"}},patterns:[{include:"text.html.handlebars"}]},{name:"meta.js.embeddedTemplateWithArgs",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"}},patterns:[{begin:"(?<=\\<template)",end:"(?=\\>)",patterns:[{include:"text.html.handlebars#tag-stuff"}]},{begin:"(>)",beginCaptures:{"1":{name:"punctuation.definition.tag.end.js"}},end:"(?=</template>)",contentName:"meta.html.embedded.block",patterns:[{include:"text.html.handlebars"}]}]}]}}};
export { glimmerJs_tmLanguage as default };
@@ -0,0 +1,3 @@
var glimmerTs_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"glimmer-ts",scopeName:"source.gts",patterns:[{include:"source.ts"}],injections:{"L:source.gts -comment -string":{patterns:[{name:"meta.js.embeddedTemplateWithoutArgs",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"}},patterns:[{include:"text.html.handlebars"}]},{name:"meta.js.embeddedTemplateWithArgs",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"}},patterns:[{begin:"(?<=\\<template)",end:"(?=\\>)",patterns:[{include:"text.html.handlebars#tag-stuff"}]},{begin:"(>)",beginCaptures:{"1":{name:"punctuation.definition.tag.end.js"}},end:"(?=</template>)",contentName:"meta.html.embedded.block",patterns:[{include:"text.html.handlebars"}]}]}]}}};
export { glimmerTs_tmLanguage as default };
@@ -0,0 +1,3 @@
var glsl_tmLanguage = {fileTypes:["vs","fs","gs","vsh","fsh","gsh","vshader","fshader","gshader","vert","frag","geom","f.glsl","v.glsl","g.glsl"],foldingStartMarker:"/\\*\\*|\\{\\s*$",foldingStopMarker:"\\*\\*/|^\\s*\\}",keyEquivalent:"^~G",name:"glsl",patterns:[{match:"\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\b",name:"keyword.control.glsl"},{match:"\\b(void|bool|int|uint|float|vec2|vec3|vec4|bvec2|bvec3|bvec4|ivec2|ivec2|ivec3|uvec2|uvec2|uvec3|mat2|mat3|mat4|mat2x2|mat2x3|mat2x4|mat3x2|mat3x3|mat3x4|mat4x2|mat4x3|mat4x4|sampler[1|2|3]D|samplerCube|sampler2DRect|sampler[1|2]DShadow|sampler2DRectShadow|sampler[1|2]DArray|sampler[1|2]DArrayShadow|samplerBuffer|sampler2DMS|sampler2DMSArray|struct|isampler[1|2|3]D|isamplerCube|isampler2DRect|isampler[1|2]DArray|isamplerBuffer|isampler2DMS|isampler2DMSArray|usampler[1|2|3]D|usamplerCube|usampler2DRect|usampler[1|2]DArray|usamplerBuffer|usampler2DMS|usampler2DMSArray)\\b",name:"storage.type.glsl"},{match:"\\b(attribute|centroid|const|flat|in|inout|invariant|noperspective|out|smooth|uniform|varying)\\b",name:"storage.modifier.glsl"},{match:"\\b(gl_BackColor|gl_BackLightModelProduct|gl_BackLightProduct|gl_BackMaterial|gl_BackSecondaryColor|gl_ClipDistance|gl_ClipPlane|gl_ClipVertex|gl_Color|gl_DepthRange|gl_DepthRangeParameters|gl_EyePlaneQ|gl_EyePlaneR|gl_EyePlaneS|gl_EyePlaneT|gl_Fog|gl_FogCoord|gl_FogFragCoord|gl_FogParameters|gl_FragColor|gl_FragCoord|gl_FragDat|gl_FragDept|gl_FrontColor|gl_FrontFacing|gl_FrontLightModelProduct|gl_FrontLightProduct|gl_FrontMaterial|gl_FrontSecondaryColor|gl_InstanceID|gl_Layer|gl_LightModel|gl_LightModelParameters|gl_LightModelProducts|gl_LightProducts|gl_LightSource|gl_LightSourceParameters|gl_MaterialParameters|gl_ModelViewMatrix|gl_ModelViewMatrixInverse|gl_ModelViewMatrixInverseTranspose|gl_ModelViewMatrixTranspose|gl_ModelViewProjectionMatrix|gl_ModelViewProjectionMatrixInverse|gl_ModelViewProjectionMatrixInverseTranspose|gl_ModelViewProjectionMatrixTranspose|gl_MultiTexCoord[0-7]|gl_Normal|gl_NormalMatrix|gl_NormalScale|gl_ObjectPlaneQ|gl_ObjectPlaneR|gl_ObjectPlaneS|gl_ObjectPlaneT|gl_Point|gl_PointCoord|gl_PointParameters|gl_PointSize|gl_Position|gl_PrimitiveIDIn|gl_ProjectionMatrix|gl_ProjectionMatrixInverse|gl_ProjectionMatrixInverseTranspose|gl_ProjectionMatrixTranspose|gl_SecondaryColor|gl_TexCoord|gl_TextureEnvColor|gl_TextureMatrix|gl_TextureMatrixInverse|gl_TextureMatrixInverseTranspose|gl_TextureMatrixTranspose|gl_Vertex|gl_VertexIDh)\\b",name:"support.variable.glsl"},{match:"\\b(gl_MaxClipPlanes|gl_MaxCombinedTextureImageUnits|gl_MaxDrawBuffers|gl_MaxFragmentUniformComponents|gl_MaxLights|gl_MaxTextureCoords|gl_MaxTextureImageUnits|gl_MaxTextureUnits|gl_MaxVaryingFloats|gl_MaxVertexAttribs|gl_MaxVertexTextureImageUnits|gl_MaxVertexUniformComponents)\\b",name:"support.constant.glsl"},{match:"\\b(abs|acos|all|any|asin|atan|ceil|clamp|cos|cross|degrees|dFdx|dFdy|distance|dot|equal|exp|exp2|faceforward|floor|fract|ftransform|fwidth|greaterThan|greaterThanEqual|inversesqrt|length|lessThan|lessThanEqual|log|log2|matrixCompMult|max|min|mix|mod|noise[1-4]|normalize|not|notEqual|outerProduct|pow|radians|reflect|refract|shadow1D|shadow1DLod|shadow1DProj|shadow1DProjLod|shadow2D|shadow2DLod|shadow2DProj|shadow2DProjLod|sign|sin|smoothstep|sqrt|step|tan|texture1D|texture1DLod|texture1DProj|texture1DProjLod|texture2D|texture2DLod|texture2DProj|texture2DProjLod|texture3D|texture3DLod|texture3DProj|texture3DProjLod|textureCube|textureCubeLod|transpose)\\b",name:"support.function.glsl"},{match:"\\b(asm|double|enum|extern|goto|inline|long|short|sizeof|static|typedef|union|unsigned|volatile)\\b",name:"invalid.illegal.glsl"},{include:"source.c"}],scopeName:"source.glsl",uuid:"D0FD1B52-F137-4FBA-A148-B8A893CD948C"};
export { glsl_tmLanguage as default };
@@ -0,0 +1,3 @@
var gnuplot_tmLanguage = {name:"gnuplot",scopeName:"source.gnuplot",uuid:"A75AB1C2-611C-4500-9EE4-20668B5BB465",fileTypes:["gp","plt","plot","gnuplot"],patterns:[{name:"invalid.illegal.backslash.gnuplot",match:"(\\\\(?!\\n).*)"},{name:"punctuation.separator.statement.gnuplot",match:"(;)"},{include:"#LineComment"},{include:"#DataBlock"},{include:"#MacroExpansion"},{include:"#VariableDecl"},{include:"#ArrayDecl"},{include:"#FunctionDecl"},{include:"#ShellCommand"},{include:"#Command"}],repository:{DataBlock:{name:"meta.datablock.gnuplot",begin:"(?x:\n\t\t\t\t([$][A-Za-z_]\\w*)\\s* # 1: var name\n\t\t\t\t(<<)\\s* # 2: shift operator\n\t\t\t\t([A-Za-z_]\\w*)\\s* # 3: end tag\n\t\t\t\t(?=(\\#|$)) # 4: comment or end of line\n\t\t\t)",beginCaptures:{"1":{patterns:[{include:"#SpecialVariable"}]},"3":{name:"constant.language.datablock.gnuplot"}},end:"^(\\3)\\b(.*)",endCaptures:{"1":{name:"constant.language.datablock.gnuplot"},"2":{name:"invalid.illegal.datablock.gnuplot"}},patterns:[{include:"#LineComment"},{include:"#NumberLiteral"},{include:"#DoubleQuotedStringLiteral"}]},MacroExpansion:{begin:"([@][A-Za-z_]\\w*)",beginCaptures:{"1":{patterns:[{include:"#SpecialVariable"}]}},end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",patterns:[{include:"#Expression"}]},VariableDecl:{name:"meta.variable.gnuplot",begin:"\\b(?x:\n\t\t\t\t([A-Za-z_]\\w*)\\s* # 1: var name\n\t\t\t\t(?:\n\t\t\t\t\t(\\[)\\s* # 2: opening bracket\n\t\t\t\t\t(.*)\\s* # 3: expression\n\t\t\t\t\t(\\])\\s* # 4: closing bracket\n\t\t\t\t)?\n\t\t\t\t(?=(=)(?!\\s*=)) # 5: assignment\n\t\t\t)",beginCaptures:{"1":{name:"entity.name.variable.gnuplot",patterns:[{include:"#InvalidVariableDecl"},{include:"#BuiltinVariable"}]},"3":{patterns:[{include:"#Expression"}]}},end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",patterns:[{include:"#Expression"}]},ArrayDecl:{name:"meta.variable.gnuplot",begin:"\\b(?x:\n\t\t\t\t(array)\\s+ # 1: array keyword\n\t\t\t\t([A-Za-z_]\\w*)? # 2: var name\n\t\t\t\t# Note: Handle size decl and init expression inside.\n\t\t\t\t# TODO: Properly annotate brackets.\n\t\t\t)",beginCaptures:{"1":{name:"support.type.array.gnuplot"},"2":{name:"entity.name.variable.gnuplot",patterns:[{include:"#InvalidVariableDecl"},{include:"#BuiltinVariable"}]}},end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",patterns:[{include:"#Expression"}]},FunctionDecl:{name:"meta.function.gnuplot",begin:"\\b(?x:\n\t\t\t\t([A-Za-z_]\\w*)\\s* # 1: func name\n\t\t\t\t( # 2: parameter list\n\t\t\t\t\t(\\()\\s* # 3: opening parens\n\t\t\t\t\t([A-Za-z_]\\w*)\\s* # 4: arg name\n\t\t\t\t\t(?:\n\t\t\t\t\t\t(,)\\s* # 5: comma\n\t\t\t\t\t\t([A-Za-z_]\\w*)\\s* # 6: other args\n\t\t\t\t\t)*\n\t\t\t\t\t(\\)) # 7: closing parens\n\t\t\t\t)\n\t\t\t)",beginCaptures:{"1":{name:"entity.name.function.gnuplot",patterns:[{include:"#BuiltinFunction"}]},"2":{name:"meta.function.parameters.gnuplot"},"3":{name:"punctuation.definition.parameters.begin.gnuplot"},"4":{name:"variable.parameter.function.language.gnuplot"},"5":{name:"punctuation.separator.parameters.gnuplot"},"6":{name:"variable.parameter.function.language.gnuplot"},"7":{name:"punctuation.definition.parameters.end.gnuplot"}},end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",patterns:[{include:"#Expression"}]},InvalidVariableDecl:{name:"invalid.illegal.variable.gnuplot",match:"\\b(GPVAL_\\w*|MOUSE_\\w*)\\b"},ShellCommand:{begin:"(!)",beginCaptures:{"1":{name:"keyword.other.shell.gnuplot"}},end:"(?=(#|\\\\(?!\\n)|(?<!\\\\)\\n$))",patterns:[{name:"string.unquoted",match:"([^#]|\\\\(?=\\n))"}]},Command:{patterns:[{name:"invalid.deprecated.command.gnuplot",begin:"\\b(?x:\n\t\t\t\t\t\tupdate\n\t\t\t\t\t)\\b",end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))"},{begin:"\\b(?x:\n\t\t\t\t\t\tbreak |\n\t\t\t\t\t\tclear |\n\t\t\t\t\t\tcontinue |\n\t\t\t\t\t\tpwd |\n\t\t\t\t\t\trefresh |\n\t\t\t\t\t\treplot |\n\t\t\t\t\t\treread |\n\t\t\t\t\t\tshell\n\t\t\t\t\t)\\b",beginCaptures:{"0":{name:"keyword.other.command.gnuplot"}},end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$))",patterns:[{include:"#InvalidWord"}]},{begin:"\\b(?x:\n\t\t\t\t\t\tcd |\n\t\t\t\t\t\tcall |\n\t\t\t\t\t\teval |\n\t\t\t\t\t\texit |\n\t\t\t\t\t\thelp |\n\t\t\t\t\t\thistory |\n\t\t\t\t\t\tload |\n\t\t\t\t\t\tlower |\n\t\t\t\t\t\tpause |\n\t\t\t\t\t\tprint |\n\t\t\t\t\t\tprinterr |\n\t\t\t\t\t\tquit |\n\t\t\t\t\t\traise |\n\t\t\t\t\t\tsave |\n\t\t\t\t\t\tstats |\n\t\t\t\t\t\tsystem |\n\t\t\t\t\t\ttest |\n\t\t\t\t\t\ttoggle\n\t\t\t\t\t)\\b",beginCaptures:{"0":{name:"keyword.other.command.gnuplot"}},end:"(?=(;|#|\\\\(?!\\n)|(?<!\\\\)\\n$Line truncated
export { gnuplot_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var go_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/jeff-hykin/better-go-syntax/blob/master/export/generated.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/jeff-hykin/better-go-syntax/commit/6175663a7a0e23d58ccf9aab95054cb6e5c92aff",name:"go",scopeName:"source.go",patterns:[{include:"#comments"},{include:"#comments"},{comment:"Interpreted string literals",begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.go"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.go"}},name:"string.quoted.double.go",patterns:[{include:"#string_escaped_char"},{include:"#string_placeholder"}]},{comment:"Raw string literals",begin:"`",beginCaptures:{"0":{name:"punctuation.definition.string.begin.go"}},end:"`",endCaptures:{"0":{name:"punctuation.definition.string.end.go"}},name:"string.quoted.raw.go",patterns:[{include:"#string_placeholder"}]},{comment:"Syntax error receiving channels",match:"<\\-([\\t ]+)chan\\b",captures:{"1":{name:"invalid.illegal.receive-channel.go"}}},{comment:"Syntax error sending channels",match:"\\bchan([\\t ]+)<-",captures:{"1":{name:"invalid.illegal.send-channel.go"}}},{comment:"Syntax error using slices",match:"\\[\\](\\s+)",captures:{"1":{name:"invalid.illegal.slice.go"}}},{comment:"Syntax error numeric literals",match:"\\b0[0-7]*[89]\\d*\\b",name:"invalid.illegal.numeric.go"},{comment:"Built-in functions",match:"\\b(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)\\b(?=\\()",name:"support.function.builtin.go"},{comment:"Function declarations",match:"^(\\bfunc\\b)(?:\\s+(\\([^\\)]+\\)\\s+)?(\\w+)(?=\\())?",captures:{"1":{name:"keyword.function.go"},"2":{patterns:[{include:"#brackets"},{include:"#operators"}]},"3":{patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"entity.name.function.go"}]}}},{comment:"Functions",match:"(\\bfunc\\b)|(\\w+)(?=\\()",captures:{"1":{name:"keyword.function.go"},"2":{patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"support.function.go"}]}}},{include:"#numeric_literals"},{comment:"Language constants",match:"\\b(true|false|nil|iota)\\b",name:"constant.language.go"},{begin:"\\b(package)\\s+",beginCaptures:{"1":{name:"keyword.package.go"}},end:"(?!\\G)",patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"entity.name.package.go"}]},{begin:"\\b(type)\\s+",beginCaptures:{"1":{name:"keyword.type.go"}},end:"(?!\\G)",patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"entity.name.type.go"}]},{begin:"\\b(import)\\s+",beginCaptures:{"1":{name:"keyword.import.go"}},end:"(?!\\G)",patterns:[{include:"#imports"}]},{begin:"\\b(var)\\s+",beginCaptures:{"1":{name:"keyword.var.go"}},end:"(?!\\G)",patterns:[{include:"#variables"}]},{match:"(?<!var)\\s*(\\w+(?:\\.\\w+)*(?>,\\s*\\w+(?:\\.\\w+)*)*)(?=\\s*=(?!=))",captures:{"1":{patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+(?:\\.\\w+)*",name:"variable.other.assignment.go",captures:{"0":{patterns:[{include:"#delimiters"}]}}},{include:"#delimiters"}]}}},{match:"\\b\\w+(?:,\\s*\\w+)*(?=\\s*:=)",captures:{"0":{patterns:[{match:"\\d\\w*",name:"invalid.illegal.identifier.go"},{match:"\\w+",name:"variable.other.assignment.go"},{include:"#delimiters"}]}}},{comment:"Terminators",match:";",name:"punctuation.terminator.go"},{include:"#brackets"},{include:"#delimiters"},{include:"#keywords"},{include:"#operators"},{include:"#runes"},{include:"#storage_types"}],repository:{brackets:{patterns:[{begin:"{",beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.curly.go"}},end:"}",endCaptures:{"0":{name:"punctuation.definition.end.bracket.curly.go"}},patterns:[{include:"$self"}]},{begin:"\\(",beginCaptures:{"0":{name:"punctuation.definition.begin.bracket.round.go"}},end:"\\)",endCaptures:{"0":{name:"punctuation.definition.end.bracket.round.go"}},patterns:[{include:"$self"}]},{match:"\\[|\\]",name:"punctuation.definition.bracket.square.go"}]},comments:{patterns:[{name:"comment.block.go",begin:"(\\/\\*)",beginCaptures:{"1":{name:"punctuation.definition.comment.go"}},end:"(\\*\\/)",endCaptures:{"1":{name:"punctuation.definition.comment.go"}}},{name:"comment.line.double-slash.go",begin:"(\\/\\/)",beginCaptures:{"1":{name:"punctuation.definition.comment.go"}},end:"(?:\\n|$)"}]},delimiters:{patterns:[{match:",",name:"punctuation.other.comma.go"},{match:"\\.(?!\\.\\.)",name:"punctuation.other.period.go"},{match:":(?!=)",name:"punctuation.other.colon.go"}]},imports:{patterns:[{match:"((?!\\s+\")[^\\s]*)?\\s*((\")([^\"]*)(\"))",captures:{"1":{name:"entity.alias.import.go"},"2":{name:"string.quoted.double.go"},"3":{name:"punctuation.definition.string.begin.go"},"4":{name:"entity.name.import.go"},"5":{Line truncated
export { go_tmLanguage as default };
@@ -0,0 +1,3 @@
var graphql_tmLanguage = {name:"graphql",scopeName:"source.graphql",fileTypes:["graphql","graphqls","gql","graphcool"],patterns:[{include:"#graphql"}],repository:{graphql:{patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-fragment-definition"},{include:"#graphql-directive-definition"},{include:"#graphql-type-interface"},{include:"#graphql-enum"},{include:"#graphql-scalar"},{include:"#graphql-union"},{include:"#graphql-schema"},{include:"#graphql-operation-def"},{include:"#literal-quasi-embedded"}]},"graphql-operation-def":{patterns:[{include:"#graphql-query-mutation"},{include:"#graphql-name"},{include:"#graphql-variable-definitions"},{include:"#graphql-directive"},{include:"#graphql-selection-set"}]},"graphql-fragment-definition":{name:"meta.fragment.graphql",begin:"\\s*(?:(\\bfragment\\b)\\s*([_A-Za-z][_0-9A-Za-z]*)?\\s*(?:(\\bon\\b)\\s*([_A-Za-z][_0-9A-Za-z]*)))",end:"(?<=})",captures:{"1":{name:"keyword.fragment.graphql"},"2":{name:"entity.name.fragment.graphql"},"3":{name:"keyword.on.graphql"},"4":{name:"support.type.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-selection-set"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"},{include:"#literal-quasi-embedded"}]},"graphql-query-mutation":{match:"\\s*\\b(query|mutation)\\b",captures:{"1":{name:"keyword.operation.graphql"}}},"graphql-type-interface":{name:"meta.type.interface.graphql",begin:"\\s*\\b(?:(extends?)?\\b\\s*\\b(type)|(interface)|(input))\\b\\s*([_A-Za-z][_0-9A-Za-z]*)?",end:"(?=.)",applyEndPatternLast:1,captures:{"1":{name:"keyword.type.graphql"},"2":{name:"keyword.type.graphql"},"3":{name:"keyword.interface.graphql"},"4":{name:"keyword.input.graphql"},"5":{name:"support.type.graphql"}},patterns:[{begin:"\\s*\\b(implements)\\b\\s*",end:"\\s*(?={)",beginCaptures:{"1":{name:"keyword.implements.graphql"}},patterns:[{match:"\\s*([_A-Za-z][_0-9A-Za-z]*)",captures:{"1":{name:"support.type.graphql"}}},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-ampersand"},{include:"#graphql-comma"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-type-object"},{include:"#literal-quasi-embedded"},{include:"#graphql-ignore-spaces"}]},"graphql-ignore-spaces":{match:"\\s*"},"graphql-type-object":{name:"meta.type.object.graphql",begin:"\\s*({)",end:"\\s*(})",beginCaptures:{"1":{name:"punctuation.operation.graphql"}},endCaptures:{"1":{name:"punctuation.operation.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-object-type"},{include:"#graphql-type-definition"},{include:"#literal-quasi-embedded"}]},"graphql-type-definition":{comment:"key (optionalArgs): Type",begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",end:"(?=\\s*(([_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(})))|\\s*(,)",beginCaptures:{"1":{name:"variable.graphql"}},endCaptures:{"5":{name:"punctuation.comma.graphql"}},patterns:[{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-variable-definitions"},{include:"#graphql-type-object"},{include:"#graphql-colon"},{include:"#graphql-input-types"},{include:"#literal-quasi-embedded"}]},"graphql-schema":{begin:"\\s*\\b(schema)\\b",end:"(?<=})",beginCaptures:{"1":{name:"keyword.schema.graphql"}},patterns:[{begin:"\\s*({)",end:"\\s*(})",beginCaptures:{"1":{name:"punctuation.operation.graphql"}},endCaptures:{"1":{name:"punctuation.operation.graphql"}},patterns:[{begin:"\\s*([_A-Za-z][_0-9A-Za-z]*)(?=\\s*\\(|:)",end:"(?=\\s*(([_A-Za-z][_0-9A-Za-z]*)\\s*(\\(|:)|(})))|\\s*(,)",beginCaptures:{"1":{name:"variable.arguments.graphql"}},endCaptures:{"5":{name:"punctuation.comma.graphql"}},patterns:[{match:"\\s*([_A-Za-z][_0-9A-Za-z]*)",captures:{"1":{name:"support.type.graphql"}}},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-colon"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-skip-newlines"}]},{include:"#graphql-comment"},{include:"#graphql-description-docstring"},{include:"#graphql-description-singleline"},{include:"#graphql-directive"},{include:"#graphql-skip-newlines"}]},"graphql-comment":{patterns:[{comment:"need to prefix comment space with a scope else Atom's reflow cmd doesn't work",name:"comment.line.graphql.js",match:"(\\s*)(#).*",captures:{"1":{name:"punctuation.whitespace.comment.leading.graphLine truncated
export { graphql_tmLanguage as default };
@@ -0,0 +1,3 @@
var groovy_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/textmate/groovy.tmbundle/blob/master/Syntaxes/Groovy.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/textmate/groovy.tmbundle/commit/85d8f7c97ae473ccb9473f6c8d27e4ec957f4be1",name:"groovy",scopeName:"source.groovy",patterns:[{captures:{"1":{name:"punctuation.definition.comment.groovy"}},match:"^(#!).+$\\n",name:"comment.line.hashbang.groovy"},{captures:{"1":{name:"keyword.other.package.groovy"},"2":{name:"storage.modifier.package.groovy"},"3":{name:"punctuation.terminator.groovy"}},match:"^\\s*(package)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",name:"meta.package.groovy"},{begin:"(import static)\\b\\s*",beginCaptures:{"1":{name:"keyword.other.import.static.groovy"}},captures:{"1":{name:"keyword.other.import.groovy"},"2":{name:"storage.modifier.import.groovy"},"3":{name:"punctuation.terminator.groovy"}},contentName:"storage.modifier.import.groovy",end:"\\s*(?:$|(?=%>)(;))",endCaptures:{"1":{name:"punctuation.terminator.groovy"}},name:"meta.import.groovy",patterns:[{match:"\\.",name:"punctuation.separator.groovy"},{match:"\\s",name:"invalid.illegal.character_not_allowed_here.groovy"}]},{begin:"(import)\\b\\s*",beginCaptures:{"1":{name:"keyword.other.import.groovy"}},captures:{"1":{name:"keyword.other.import.groovy"},"2":{name:"storage.modifier.import.groovy"},"3":{name:"punctuation.terminator.groovy"}},contentName:"storage.modifier.import.groovy",end:"\\s*(?:$|(?=%>)|(;))",endCaptures:{"1":{name:"punctuation.terminator.groovy"}},name:"meta.import.groovy",patterns:[{match:"\\.",name:"punctuation.separator.groovy"},{match:"\\s",name:"invalid.illegal.character_not_allowed_here.groovy"}]},{captures:{"1":{name:"keyword.other.import.groovy"},"2":{name:"keyword.other.import.static.groovy"},"3":{name:"storage.modifier.import.groovy"},"4":{name:"punctuation.terminator.groovy"}},match:"^\\s*(import)(?:\\s+(static)\\s+)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",name:"meta.import.groovy"},{include:"#groovy"}],repository:{annotations:{patterns:[{begin:"(?<!\\.)(@[^ (]+)(\\()",beginCaptures:{"1":{name:"storage.type.annotation.groovy"},"2":{name:"punctuation.definition.annotation-arguments.begin.groovy"}},end:"(\\))",endCaptures:{"1":{name:"punctuation.definition.annotation-arguments.end.groovy"}},name:"meta.declaration.annotation.groovy",patterns:[{captures:{"1":{name:"constant.other.key.groovy"},"2":{name:"keyword.operator.assignment.groovy"}},match:"(\\w*)\\s*(=)"},{include:"#values"},{match:",",name:"punctuation.definition.seperator.groovy"}]},{match:"(?<!\\.)@\\S+",name:"storage.type.annotation.groovy"}]},"anonymous-classes-and-new":{begin:"\\bnew\\b",beginCaptures:{"0":{name:"keyword.control.new.groovy"}},end:"(?<=\\)|\\])(?!\\s*{)|(?<=})|(?=[;])|$",patterns:[{begin:"(\\w+)\\s*(?=\\[)",beginCaptures:{"1":{name:"storage.type.groovy"}},end:"}|(?=\\s*(?:,|;|\\)))|$",patterns:[{begin:"\\[",end:"\\]",patterns:[{include:"#groovy"}]},{begin:"{",end:"(?=})",patterns:[{include:"#groovy"}]}]},{begin:"(?=\\w.*\\(?)",end:"(?<=\\))|$",patterns:[{include:"#object-types"},{begin:"\\(",beginCaptures:{"1":{name:"storage.type.groovy"}},end:"\\)",patterns:[{include:"#groovy"}]}]},{begin:"{",end:"}",name:"meta.inner-class.groovy",patterns:[{include:"#class-body"}]}]},braces:{begin:"\\{",end:"\\}",patterns:[{include:"#groovy-code"}]},"class":{begin:"(?=\\w?[\\w\\s]*(?:class|(?:@)?interface|enum)\\s+\\w+)",end:"}",endCaptures:{"0":{name:"punctuation.section.class.end.groovy"}},name:"meta.definition.class.groovy",patterns:[{include:"#storage-modifiers"},{include:"#comments"},{captures:{"1":{name:"storage.modifier.groovy"},"2":{name:"entity.name.type.class.groovy"}},match:"(class|(?:@)?interface|enum)\\s+(\\w+)",name:"meta.class.identifier.groovy"},{begin:"extends",beginCaptures:{"0":{name:"storage.modifier.extends.groovy"}},end:"(?={|implements)",name:"meta.definition.class.inherited.classes.groovy",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:"(implements)\\s",beginCaptures:{"1":{name:"storage.modifier.implements.groovy"}},end:"(?=\\s*extends|\\{)",name:"meta.definition.class.implemented.interfaces.groovy",patterns:[{include:"#object-types-inherited"},{include:"#comments"}]},{begin:"{",end:"(?=})",name:"meta.class.body.groovy",patterns:[{include:"#class-body"}]}]},"class-body":{patterns:[{include:"#enum-values"},{include:"#constructors"},{include:"#groovy"}]},closures:{begin:"\\{(?=.*?->)",end:"\\}",patterns:[{begin:"(?<=\\{)(?=[^\\}]*?->)",end:"->",endCaptures:{"0":{name:"keyword.operator.groovy"}},patterns:[{begin:"(?!->)",end:"(?=->)",name:"meta.closure.parameters.groovy",patterns:[{begin:"(?!,|->)",end:"(?=,|->)",name:"meta.closure.parameter.groovy",patterns:[{begin:"=",beginCaptures:{"0":{name:"keyword.operator.assignment.groovy"}},end:"(?=,|->)",name:"mLine truncated
export { groovy_tmLanguage as default };
@@ -0,0 +1,3 @@
var hack_tmLanguage = {scopeName:"source.hack",name:"hack",fileTypes:["hh","php","hack"],foldingStartMarker:"(/\\*|\\{\\s*$|<<<HTML)",foldingStopMarker:"(\\*/|^\\s*\\}|^HTML;)",patterns:[{include:"text.html.basic"},{include:"#language"}],repository:{"class-builtin":{patterns:[{captures:{"1":{name:"punctuation.separator.inheritance.php"}},match:"(?i)(\\\\)?\\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Method|Class|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection)|ursor(Exception)?|lient)|Timestamp|I(nt(32|64)|d)|D(B(Ref)?|ate)|Pool|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(tackable|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(ttp(Re(sponse|quest(Pool)?)|Message|InflateStream|DeflateStream|QueryString)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Yaf_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|llator)|a(chingIterator|llbackFilterIterator))|T(hread|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tlDateFormatter|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?)?)|php_user_filter|ZipArchive|O(CI-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(Zone)?|Interval|Period))|Un(derflowException|expectedValueException)|JsonSerializable|finfo|P(har(Data|FileInfo)?|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|Fil(terIterator|esystemIterator)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(MQP(C(hannel|onnection)|E(nvelope|xchange)|Queue)|ppendIterator|PCIterator|rray(Iterator|Object|Access)))\\b",name:"support.class.builtin.php"}]},"class-name":{patterns:[{begin:"(?i)(?=\\\\?[a-z_0-9]+\\\\)",end:"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",endCaptures:{"1":{name:"support.class.php"}},patterns:[{include:"#namespace"}]},{include:"#class-builtin"},{begin:"(?=[\\\\a-zA-Z_])",end:"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",endCaptures:{"1":{name:"support.class.php"}},patterns:[{include:"#namespace"}]}]},comments:{patterns:[{begin:"/\\*\\*(?:#@\\+)?\\s*$",captures:{"0":{name:"punctuation.definition.comment.php"}},comment:"This now only highlights a docblock if the first line contains only /**\n- this is to stop highlighting everything as invalid when people do comment banners with /******** ...\n- Now matches /**#@+ too - used for docblock templates:\n http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#basics.docblocktemplate",end:"\\*/",name:"comment.block.documentation.phpdoc.php",patterns:[{include:"#php_doc"}]},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.php"}},end:"\\*/",name:"comment.block.php"},{begin:"(^[ \\t]+)?(?=//)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.php"}},end:"(?!\\G)",patterns:[{begin:"//",beginCaptures:{"0":{name:"punctuation.definition.comment.php"}},end:"\\n|(?=\\?>)",name:"comment.line.double-slash.php"}]}]},generics:{patterns:[{begin:"(<)",beginCaptures:{"1":{name:"punctuation.definition.generics.php"}},end:"(>)",endCaptures:{"1":{name:"Line truncated
export { hack_tmLanguage as default };
@@ -0,0 +1,3 @@
var haml_tmLanguage = {fileTypes:["haml","html.haml"],foldingStartMarker:"^\\s*([-%#\\:\\.\\w\\=].*)\\s$",foldingStopMarker:"^\\s*$",keyEquivalent:"^~H",name:"haml",patterns:[{begin:"^(\\s*)==",contentName:"string.quoted.double.ruby",end:"$\\n*",patterns:[{include:"#interpolated_ruby"}]},{begin:"^(\\s*):ruby",end:"^(?!\\1\\s+|$\\n*)",name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{captures:{"1":{name:"punctuation.definition.prolog.haml"}},match:"^(!!!)($|\\s.*)",name:"meta.prolog.haml"},{begin:"^(\\s*):javascript",end:"^(?!\\1\\s+|$\\n*)",name:"js.haml",patterns:[{include:"source.js"}]},{begin:"^(\\s*)%script",end:"^(?!\\1\\s+|$\\n*)",name:"js.inline.haml",patterns:[{include:"source.js"}]},{begin:"^(\\s*):ruby$",end:"^(?!\\1\\s+|$\\n*)",name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{captures:{"1":{name:"punctuation.section.comment.haml"}},match:"^(\\s*)(\\/\\[[^\\]].*?$\\n?)",name:"comment.line.slash.haml"},{begin:"^(\\s*)(\\-\\#|\\/|\\-\\s*\\/\\*+)",beginCaptures:{"2":{name:"punctuation.section.comment.haml"}},end:"^(?!\\1\\s+|\\n)",name:"comment.block.haml",patterns:[{include:"text.haml"}]},{begin:"^\\s*(?:((%)([-\\w:]+))|(?=\\.|#))",end:"$|(?!\\.|#|\\{|\\(|\\[|&amp;|=|-|~|!=|&=|/)",captures:{"1":{name:"meta.tag.haml"},"2":{name:"punctuation.definition.tag.haml"},"3":{name:"entity.name.tag.haml"}},patterns:[{begin:"==",contentName:"string.quoted.double.ruby",end:"$\\n?",patterns:[{include:"#interpolated_ruby"}]},{captures:{"1":{name:"entity.other.attribute-name.class"}},match:"(\\.[\\w\\-\\:]+)",name:"meta.selector.css"},{captures:{"1":{name:"entity.other.attribute-name.id"}},match:"(#[\\w-]+)",name:"meta.selector.css"},{begin:"(?<!\\#)\\{(?=.*(,|(do)|\\{|\\}|\\||(\\#.*)|\\R)\\s*)",end:"\\s*\\}(?!\\s*\\,)(?!\\s*\\|)(?!\\#\\{.*\\})",name:"meta.section.attributes.haml",patterns:[{include:"source.ruby"},{include:"#continuation"},{include:"#rubyline"}]},{begin:"\\(",end:"\\)",name:"meta.section.attributes.plain.haml",patterns:[{match:"([\\w-]+)",name:"constant.other.symbol.ruby"},{match:"\\=",name:"punctuation"},{include:"#variables"},{begin:"\"",end:"\"",name:"string.quoted.double.ruby",patterns:[{match:"\\\\(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",name:"constant.character.escape.ruby"},{include:"#interpolated_ruby"}]},{include:"#interpolated_ruby"}]},{begin:"\\[(?=.+(,|\\[|\\]|\\||(\\#.*))\\s*)",end:"\\s*\\](?!.*(?!\\#\\[)\\])",name:"meta.section.object.haml",patterns:[{include:"source.ruby"},{include:"#continuation"},{include:"#rubyline"}]},{include:"#interpolated_ruby_line"},{include:"#rubyline"},{match:"/",name:"punctuation.terminator.tag.haml"}]},{begin:"^(\\s*):(ruby|opal)$",end:"^(?!\\1\\s+|$\\n*)",name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{begin:"^(\\s*):ruby$",end:"^(?!\\1\\s+|$\\n*)",name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{begin:"^(\\s*):(style|sass)$",end:"^(?=\\1\\s+|$\\n*)",name:"source.sass.embedded.filter.haml",patterns:[{include:"source.sass"}]},{begin:"^(\\s*):coffee(script)?",end:"^(?!\\1\\s+|$\\n*)",name:"source.coffee.embedded.filter.haml",patterns:[{include:"source.coffee"}]},{begin:"^(\\s*):plain$",end:"^(?=\\1\\s+|$\\n*)",name:"text.plain.embedded.filter.haml",patterns:[{include:"text.plain"}]},{begin:"^(\\s*)(:ruby)",beginCaptures:{"2":{name:"keyword.control.filter.haml"}},end:"(?m:(?<=\\n)(?!\\1\\s+|$\\n*))",name:"source.ruby.embedded.filter.haml",patterns:[{include:"source.ruby"}]},{begin:"^(\\s*)(:sass)",beginCaptures:{"2":{name:"keyword.control.filter.haml"}},end:"^(?!\\1\\s+|$\\n*)",name:"source.embedded.filter.sass",patterns:[{include:"source.sass"}]},{begin:"^(\\s*):(styles|sass)$",end:"^(?=\\1\\s+|$\\n*)",name:"source.sass.embedded.filter.haml",patterns:[{include:"source.sass"}]},{begin:"^(\\s*):plain$",end:"^(?=\\1\\s+|$\\n*)",name:"text.plain.embedded.filter.haml",patterns:[{include:"text.plain"}]},{captures:{"1":{name:"meta.escape.haml"}},match:"^\\s*(\\.)"},{begin:"^\\s*(?==|-|~|!=|&=)",end:"$",patterns:[{include:"#interpolated_ruby_line"},{include:"#rubyline"}]},{begin:"^(\\s*)(:php)",end:"^(?!\\1\\s+|$\\n*)",name:"meta.embedded.php",captures:{"2":{name:"entity.name.tag.haml"}},patterns:[{include:"text.html.php#language"}]},{begin:"^(\\s*)(:markdown)",end:"^(?!\\1\\s+|$\\n*)",name:"meta.embedded.markdown",captures:{"2":{name:"entity.name.tag.haml"}},patterns:[{include:"text.html.markdown"}]},{begin:"^(\\s*)(:(css|styles?))$",end:"^(?!\\1\\s+|$\\n*)",name:"meta.embedded.css",captures:{"2":{name:"entity.name.tag.haml"}},patterns:[{include:"source.css"}]},{begin:"^(\\s*)(:sass)$",end:"^(?!\\1\\s+|$\\n*)",name:"meta.embedded.sass",captures:{"2":{name:"entity.name.tag.haml"}},patterns:[{include:"source.sass"}]},{begin:"^(\\s*)(:scss)$",end:"^(?!\\1\\s+|$\\n*)",name:"meta.embedded.scss",captures:{"2":{name:"entity.name.tag.haml"}},patterns:[{include:"source.scss"}]}],repository:{continuation:{captures:{"1":{name:"punctuation.seLine truncated
export { haml_tmLanguage as default };
@@ -0,0 +1,3 @@
var handlebars_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/daaain/Handlebars/blob/master/grammars/Handlebars.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/daaain/Handlebars/commit/85a153a6f759df4e8da7533e1b3651f007867c51",name:"handlebars",scopeName:"text.html.handlebars",patterns:[{include:"#yfm"},{include:"#extends"},{include:"#block_comments"},{include:"#comments"},{include:"#block_helper"},{include:"#end_block"},{include:"#else_token"},{include:"#partial_and_var"},{include:"#inline_script"},{include:"#html_tags"},{include:"text.html.basic"}],repository:{html_tags:{patterns:[{begin:"(<)([a-zA-Z0-9:-]+)(?=[^>]*></\\2>)",beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.html"}},end:"(>(<)/)(\\2)(>)",endCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"meta.scope.between-tag-pair.html"},"3":{name:"entity.name.tag.html"},"4":{name:"punctuation.definition.tag.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(<\\?)(xml)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.xml.html"}},end:"(\\?>)",name:"meta.tag.preprocessor.xml.html",patterns:[{include:"#tag_generic_attribute"},{include:"#string"}]},{begin:"<!--",captures:{"0":{name:"punctuation.definition.comment.html"}},end:"--\\s*>",name:"comment.block.html",patterns:[{match:"--",name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{begin:"<!",captures:{"0":{name:"punctuation.definition.tag.html"}},end:">",name:"meta.tag.sgml.html",patterns:[{begin:"(DOCTYPE|doctype)",captures:{"1":{name:"entity.name.tag.doctype.html"}},end:"(?=>)",name:"meta.tag.sgml.doctype.html",patterns:[{match:"\"[^\">]*\"",name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:"\\[CDATA\\[",end:"]](?=>)",name:"constant.other.inline-data.html"},{match:"(\\s*)(?!--|>)\\S(\\s*)",name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{begin:"(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.style.html"},"3":{name:"punctuation.definition.tag.html"}},end:"(</)((?i:style))(>)(?:\\s*\\n)?",name:"source.css.embedded.html",patterns:[{include:"#tag-stuff"},{begin:"(>)",beginCaptures:{"1":{name:"punctuation.definition.tag.html"}},end:"(?=</(?i:style))",patterns:[{include:"source.css"}]}]},{begin:"(?:^\\s+)?(<)((?i:script))\\b(?![^>]*/>)",beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.script.html"}},end:"(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?",endCaptures:{"2":{name:"punctuation.definition.tag.html"}},name:"source.js.embedded.html",patterns:[{include:"#tag-stuff"},{begin:"(?<!</(?:script|SCRIPT))(>)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.script.html"}},end:"(</)((?i:script))",patterns:[{captures:{"1":{name:"punctuation.definition.comment.js"}},match:"(//).*?((?=</script)|$\\n?)",name:"comment.line.double-slash.js"},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.js"}},end:"\\*/|(?=</script)",name:"comment.block.js"},{include:"source.js"}]}]},{begin:"(</?)((?i:body|head|html)\\b)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.structure.any.html"}},end:"(>)",name:"meta.tag.structure.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)((?i:address|blockquote|dd|div|header|section|footer|aside|nav|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.block.any.html"}},end:"(>)",name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.inline.any.html"}},end:"((?: ?/)?>)",name:"meta.tag.inline.any.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)([a-zA-Z0-9:-]+)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.other.html"}},end:"(>)",name:"meta.tag.other.html",patterns:[{include:"#tag-stuff"}]},{begin:"(</?)([a-zA-Z0-9{}:-]+)",captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.tokenised.html"}},end:"(>)",name:"meta.tag.tokenised.html",patterns:[{include:"#tag-stuff"}]},{include:"#entities"},{match:"<>",name:"invalid.illegal.incomplete.html"},{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}]},entities:{pattLine truncated
export { handlebars_tmLanguage as default };
@@ -0,0 +1,3 @@
var haskell_tmLanguage = {fileTypes:["hs","hs-boot","hsig"],keyEquivalent:"^~H",name:"haskell",patterns:[{include:"#liquid_haskell"},{include:"#comment_like"},{include:"#numeric_literals"},{include:"#string_literal"},{include:"#char_literal"},{match:"(?<!@|#)-\\}",name:"invalid"},{match:"(\\()\\s*(\\))",name:"constant.language.unit.haskell",captures:{"1":{name:"punctuation.paren.haskell"},"2":{name:"punctuation.paren.haskell"}}},{match:"(\\()(#)\\s*(#)(\\))",name:"constant.language.unit.unboxed.haskell",captures:{"1":{name:"punctuation.paren.haskell"},"2":{name:"keyword.operator.hash.haskell"},"3":{name:"keyword.operator.hash.haskell"},"4":{name:"punctuation.paren.haskell"}}},{match:"(\\()\\s*,[\\s,]*(\\))",name:"support.constant.tuple.haskell",captures:{"1":{name:"punctuation.paren.haskell"},"2":{name:"punctuation.paren.haskell"}}},{match:"(\\()(#)\\s*,[\\s,]*(#)(\\))",name:"support.constant.tuple.unboxed.haskell",captures:{"1":{name:"punctuation.paren.haskell"},"2":{name:"keyword.operator.hash.haskell"},"3":{name:"keyword.operator.hash.haskell"},"4":{name:"punctuation.paren.haskell"}}},{match:"(\\[)\\s*(\\])",name:"constant.language.empty-list.haskell",captures:{"1":{name:"punctuation.bracket.haskell"},"2":{name:"punctuation.bracket.haskell"}}},{begin:"(\\b(?<!')(module)|^(signature))(\\b(?!'))",beginCaptures:{"2":{name:"keyword.other.module.haskell"},"3":{name:"keyword.other.signature.haskell"}},end:"(?=\\b(?<!')where\\b(?!'))",name:"meta.declaration.module.haskell",patterns:[{include:"#comment_like"},{include:"#module_name"},{include:"#module_exports"},{match:"[a-z]+",name:"invalid"}]},{include:"#ffi"},{begin:"^(\\s*)(class)(\\b(?!'))",beginCaptures:{"2":{name:"keyword.other.class.haskell"}},end:"(?x) # Detect end of class declaration:\n # 'where' keyword\n (?=(?<!')\\bwhere\\b(?!')) \n # Decreasing indentation\n |(?=\\}|;) # Explicit indentation\n |^(?! # Implicit indentation: end match on newline *unless* the new line is either:\n \\1\\s+\\S # - more indented, or\n | \\s* # - starts with whitespace, followed by:\n (?: $ # - the end of the line (i.e. empty line), or\n |\\{-[^@] # - the start of a block comment, or\n |--+ # - the start of a single-line comment.\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$) # non-symbol\n # The double dash may not be followed by other operator characters\n # (then it would be an operator, not a comment)\n )",name:"meta.declaration.class.haskell",patterns:[{include:"#comment_like"},{include:"#where"},{include:"#type_signature"}]},{begin:"(?x)\n ^(\\s*)(data|newtype)(?:\\s+(instance))?\\s+\n # Keep consuming characters until:\n ((?:(?!\n # the equals symbol or the start of a single-line comment, or\n (?: \n (?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]) # non-symbol\n (?:=|--+)\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]) # non-symbol\n )\n # the \"where\" or \"deriving\" keywords, or\n | (?:\\b(?<!')(?:where|deriving)\\b(?!'))\n # the start of a block comment.\n | {-\n #\n ).)*)\n (?=\\b(?<!'')where\\b(?!''))",beginCaptures:{"2":{name:"keyword.other.$2.haskell"},"3":{name:"keyword.other.instance.haskell"},"4":{patterns:[{include:"#type_signature"}]}},name:"meta.declaration.$2.generalized.haskell",end:"(?x) # Detect end of data declaration:\n # Deriving clause\n (?=(?<!')\\bderiving\\b(?!')) \n # Decreasing indentation\n |(?=\\}|;) # Explicit indentation\n |^(?! # Implicit indentation: end match on newline *unless* the new line is either:\n \\1\\s+\\S # - more indented, or\n | \\s* # - starts with whitespace, followed by:\n (?: $ # - the end of the line (i.e. empty line), or\n |\\{-[^@] # - the start of a block comment, or\n |--+ # - the start of a single-line comment.\n (?![\\p{S}\\p{P}&&[^(),;\\[\\]{}`_\"']]).*$) # non-symbol\n # The double dash may not be followed by other operator characters\n # (then it would be an operator, not a comment)\n )\n",patterns:[{include:"#comment_like"},{begin:"(?x)\n (?<!')\\b(where)\n \\s*(\\{)(?!-)",end:"(\\})",beginCaptures:{"1":{name:"keyword.other.where.haskell"},"2":{name:"punctuation.brace.haskell"}},endCaptures:{"1":{name:"punctuation.brace.haskell"}},patterns:[{include:"#comment_like"},{include:"#gadt_constructor"},{match:";",name:"punctuation.semicolon.haskell"}]},{match:"\\b(?<!')(where)\\b(?!')",name:"keyword.other.where.haskell"},{include:"#deriving"},{include:"#gadt_constructor"}]},{include:"#role_annotation"},{name:"meta.declaration.pattern.type.haskell",begin:"^(\\s*)(pattern)\\s+(.*?)\\s+(::|∷)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])",beginCaptures:{"2":{name:"keyword.other.pattern.haskell"},"3":{patterns:[{include:"#comma"},{include:"#data_constructor"}]},"4":{name:"keyword.operator.double-colon.haskell"}},end:"(Line truncated
export { haskell_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var hcl_tmLanguage = {scopeName:"source.hcl",name:"hcl",uuid:"a14187be-98d8-42c1-ac89-bb5eaccf911e",fileTypes:["hcl"],patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}],repository:{attribute_access:{begin:"\\.(?!\\*)",end:"[[:alpha:]][\\w-]*|\\d*",comment:"Matches traversal attribute access such as .attr",beginCaptures:{"0":{name:"keyword.operator.accessor.hcl"}},endCaptures:{"0":{patterns:[{match:"(?!null|false|true)[[:alpha:]][\\w-]*",comment:"Attribute name",name:"variable.other.member.hcl"},{match:"\\d+",comment:"Optional attribute index",name:"constant.numeric.integer.hcl"}]}}},attribute_definition:{name:"variable.declaration.hcl",match:"(\\()?(\\b(?!null\\b|false\\b|true\\b)[[:alpha:]][[:alnum:]_-]*)(\\))?\\s*(\\=(?!\\=|\\>))\\s*",comment:"Identifier \"=\" with optional parens",captures:{"1":{name:"punctuation.section.parens.begin.hcl"},"2":{name:"variable.other.readwrite.hcl"},"3":{name:"punctuation.section.parens.end.hcl"},"4":{name:"keyword.operator.assignment.hcl"}}},attribute_splat:{begin:"\\.",end:"\\*",comment:"Legacy attribute-only splat",beginCaptures:{"0":{name:"keyword.operator.accessor.hcl"}},endCaptures:{"0":{name:"keyword.operator.splat.hcl"}}},block:{name:"meta.block.hcl",begin:"([\\w][\\-\\w]*)([\\s\\\"\\-\\w]*)(\\{)",end:"\\}",comment:"This will match HCL blocks like `thing1 \"one\" \"two\" {` or `thing2 {`",beginCaptures:{"1":{patterns:[{match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",comment:"Block type",name:"entity.name.type.hcl"}]},"2":{patterns:[{match:"[\\\"\\-\\w]+",comment:"Block label",name:"variable.other.enummember.hcl"}]},"3":{name:"punctuation.section.block.begin.hcl"}},endCaptures:{"0":{name:"punctuation.section.block.end.hcl"}},patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}]},block_inline_comments:{name:"comment.block.hcl",begin:"/\\*",end:"\\*/",comment:"Inline comments start with the /* sequence and end with the */ sequence, and may have any characters within except the ending sequence. An inline comment is considered equivalent to a whitespace sequence",captures:{"0":{name:"punctuation.definition.comment.hcl"}}},brackets:{begin:"\\[",end:"\\]",beginCaptures:{"0":{name:"punctuation.section.brackets.begin.hcl"}},endCaptures:{"0":{name:"punctuation.section.brackets.end.hcl"}},patterns:[{name:"keyword.operator.splat.hcl",match:"\\*",comment:"Splat operator"},{include:"#comma"},{include:"#comments"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{include:"#expressions"},{include:"#local_identifiers"}]},char_escapes:{name:"constant.character.escape.hcl",match:"\\\\[nrt\"\\\\]|\\\\u(\\h{8}|\\h{4})",comment:"Character Escapes"},comma:{name:"punctuation.separator.hcl",match:"\\,",comment:"Commas - used in certain expressions"},comments:{patterns:[{include:"#hash_line_comments"},{include:"#double_slash_line_comments"},{include:"#block_inline_comments"}]},double_slash_line_comments:{name:"comment.line.double-slash.hcl",begin:"//",end:"$\\n?",comment:"Line comments start with // sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",captures:{"0":{name:"punctuation.definition.comment.hcl"}}},expressions:{patterns:[{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#brackets"},{include:"#objects"},{include:"#attribute_access"},{include:"#attribute_splat"},{include:"#functions"},{include:"#parens"}]},for_expression_body:{patterns:[{name:"keyword.operator.word.hcl",match:"\\bin\\b",comment:"in keyword"},{name:"keyword.control.conditional.hcl",match:"\\bif\\b",comment:"if keyword"},{name:"keyword.operator.hcl",match:"\\:"},{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},functions:{name:"meta.function-call.hcl",begin:"(\\w+)(\\()",end:"\\)",comment:"Built-in function calls",beginCaptures:{"1":{patterns:[{match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"support.function.builtin.hcl"}]},"2":{name:"punctuation.section.parens.begin.hcl"}},endCaptures:{"0":{name:"punctuation.section.parens.end.hcl"}},patterns:[{include:"#comments"},{include:"#expressions"},{include:"#comma"}]},hash_line_comments:{name:"comment.line.number-sign.hcl",begin:"#",end:"$\\n?",comment:"Line comments start with # sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",captures:{"0":{name:"punctuation.definition.comment.hcl"}}},hcl_type_keywords:{name:"storage.type.hcl",match:"\\b(any|string|number|bool|list|set|map|tuple|object)\\b",comment:"Type keywords known to HCL."},heredoc:{name:"string.unquoted.heredoc.hcl",begin:"(\\<\\<\\-?)\\s*(\\w+)\\s*$",end:"^\\s*\\2\\s*$",comment:"String Heredoc",beginCaptures:{"1":{name:"keyword.operator.heredoc.hcl"},"2":{name:"keyword.control.heredoc.hcl"}},endCaptures:{Line truncated
export { hcl_tmLanguage as default };
@@ -0,0 +1,3 @@
var hjson_tmLanguage = {fileTypes:["hjson"],foldingStartMarker:"(?x: # turn on extended mode\n ^ # a line beginning with\n \\s* # some optional space\n [{\\[] # the start of an object or array\n (?! # but not followed by\n .* # whatever\n [}\\]] # and the close of an object or array\n ,? # an optional comma\n \\s* # some optional space\n $ # at the end of the line\n )\n | # ...or...\n [{\\[] # the start of an object or array\n \\s* # some optional space\n $ # at the end of the line\n )",foldingStopMarker:"(?x: # turn on extended mode\n ^ # a line beginning with\n \\s* # some optional space\n [}\\]] # and the close of an object or array\n )",keyEquivalent:"^~J",name:"hjson",patterns:[{include:"#comments"},{include:"#value"},{match:"[^\\s]",name:"invalid.illegal.excess-characters.hjson"}],repository:{array:{begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.array.begin.hjson"}},end:"(\\])(?:\\s*([^,\\s]+))?",endCaptures:{"1":{name:"punctuation.definition.array.end.hjson"},"2":{name:"invalid.illegal.value.hjson"}},name:"meta.structure.array.hjson",patterns:[{include:"#arrayContent"}]},arrayArray:{begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.array.begin.hjson"}},end:"(\\])(?:\\s*([^,\\s\\]]+))?",endCaptures:{"1":{name:"punctuation.definition.array.end.hjson"},"2":{name:"invalid.illegal.value.hjson"}},name:"meta.structure.array.hjson",patterns:[{include:"#arrayContent"}]},arrayConstant:{captures:{"1":{name:"constant.language.hjson"},"2":{name:"punctuation.separator.array.after-const.hjson"}},match:"\\b(true|false|null)(?:[\\t ]*(?=,)|[\\t ]*(?:(,)[\\t ]*)?(?=$|#|/\\*|//|\\]))"},arrayContent:{name:"meta.structure.array.hjson",patterns:[{include:"#comments"},{include:"#arrayValue"},{begin:"(?<=\\[)|,",beginCaptures:{"1":{name:"punctuation.separator.dictionary.pair.hjson"}},end:"(?=[^\\s,/#])|(?=/[^/*])",patterns:[{include:"#comments"},{match:",",name:"invalid.illegal.extra-comma.hjson"}]},{match:",",name:"punctuation.separator.array.hjson"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.hjson"}]},arrayJstring:{patterns:[{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.hjson"}},end:"(\")(?:\\s*((?:[^,\\s\\]#/]|/[^/*])+))?",endCaptures:{"1":{name:"punctuation.definition.string.end.hjson"},"2":{name:"invalid.illegal.value.hjson"}},name:"string.quoted.double.hjson",patterns:[{include:"#jstringDoubleContent"}]},{begin:"'",beginCaptures:{"0":{name:"punctuation.definition.string.begin.hjson"}},end:"(')(?:\\s*((?:[^,\\s\\]#/]|/[^/*])+))?",endCaptures:{"1":{name:"punctuation.definition.string.end.hjson"},"2":{name:"invalid.illegal.value.hjson"}},name:"string.quoted.single.hjson",patterns:[{include:"#jstringSingleContent"}]}]},arrayMstring:{begin:"'''",beginCaptures:{"0":{name:"punctuation.definition.string.begin.hjson"}},end:"(''')(?:\\s*((?:[^,\\s\\]#/]|/[^/*])+))?",endCaptures:{"1":{name:"punctuation.definition.string.end.hjson"},"2":{name:"invalid.illegal.value.hjson"}},name:"string.quoted.multiline.hjson"},arrayNumber:{captures:{"1":{name:"constant.numeric.hjson"},"2":{name:"punctuation.separator.array.after-num.hjson"}},match:"(-?(?:0|(?:[1-9]\\d*))(?:\\.\\d+)?(?:[eE][+-]?\\d+)?)(?:[\\t ]*(?=,)|[\\t ]*(?:(,)[\\t ]*)?(?=$|#|/\\*|//|\\]))"},arrayObject:{begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.hjson"}},end:"(\\}|(?<=\\}))(?:\\s*([^,\\s\\]]+))?",endCaptures:{"1":{name:"punctuation.definition.dictionary.end.hjson"},"2":{name:"invalid.illegal.value.hjson"}},name:"meta.structure.dictionary.hjson",patterns:[{include:"#objectContent"}]},arrayString:{patterns:[{include:"#arrayMstring"},{include:"#arrayJstring"},{include:"#ustring"}]},arrayValue:{patterns:[{include:"#arrayNumber"},{include:"#arrayConstant"},{include:"#arrayString"},{include:"#arrayObject"},{include:"#arrayArray"}]},comments:{patterns:[{captures:{"1":{name:"punctuation.definition.comment.hjson"}},match:"^\\s*(#).*(?:\\n)?",name:"comment.line.hash"},{captures:{"1":{name:"punctuation.definition.comment.hjson"}},match:"^\\s*(//).*(?:\\n)?",name:"comment.line.double-slash"},{begin:"^\\s*/\\*",beginCaptures:{"1":{name:"punctuation.definition.comment.hjson"}},end:"\\*/(?:\\s*\\n)?",endCaptures:{"1":{name:"punctuation.definition.comment.hjson"}},name:"comment.block.double-slash"},{captures:{"1":{name:"punctuation.definition.comment.hjson"}},match:"(#)[^\\n]*",name:"comment.line.hash"},{captures:{"1":{name:"punctuation.definition.comment.hjson"}},match:"(//)[^\\n]*",name:"comment.line.double-slash"},{begin:"/\\*",beginCaptures:{"1":{name:"punctuation.definition.comment.hjson"}},end:"\\*/",endCaptures:{"1":{name:"punctuation.definition.comment.hjson"}},name:"comment.block.double-slash"}]},commentsNewline:{patterns:[{captures:{"1":{name:"punctuation.definition.comment.hjson"}},match:"(#).*\\n",name:"comment.line.hash"},{captures:{"1":{name:"punctuation.definition.comment.hjsLine truncated
export { hjson_tmLanguage as default };
@@ -0,0 +1,3 @@
var hlsl_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/tgjones/shaders-tmLanguage/blob/master/grammars/hlsl.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/tgjones/shaders-tmLanguage/commit/87c0dca3a39170dbd7ee7e277db4f915fb2de14a",name:"hlsl",scopeName:"source.hlsl",patterns:[{name:"comment.line.block.hlsl",begin:"/\\*",end:"\\*/"},{name:"comment.line.double-slash.hlsl",begin:"//",end:"$"},{name:"constant.numeric.decimal.hlsl",match:"\\b[0-9]+\\.[0-9]*(F|f)?\\b"},{name:"constant.numeric.decimal.hlsl",match:"(\\.([0-9]+)(F|f)?)\\b"},{name:"constant.numeric.decimal.hlsl",match:"\\b([0-9]+(F|f)?)\\b"},{name:"constant.numeric.hex.hlsl",match:"\\b(0(x|X)[0-9a-fA-F]+)\\b"},{name:"constant.language.hlsl",match:"\\b(false|true)\\b"},{name:"keyword.preprocessor.hlsl",match:"^\\s*#\\s*(define|elif|else|endif|ifdef|ifndef|if|undef|include|line|error|pragma)"},{name:"keyword.control.hlsl",match:"\\b(break|case|continue|default|discard|do|else|for|if|return|switch|while)\\b"},{name:"keyword.control.fx.hlsl",match:"\\b(compile)\\b"},{name:"keyword.typealias.hlsl",match:"\\b(typedef)\\b"},{name:"storage.type.basic.hlsl",match:"\\b(bool([1-4](x[1-4])?)?|double([1-4](x[1-4])?)?|dword|float([1-4](x[1-4])?)?|half([1-4](x[1-4])?)?|int([1-4](x[1-4])?)?|matrix|min10float([1-4](x[1-4])?)?|min12int([1-4](x[1-4])?)?|min16float([1-4](x[1-4])?)?|min16int([1-4](x[1-4])?)?|min16uint([1-4](x[1-4])?)?|unsigned|uint([1-4](x[1-4])?)?|vector|void)\\b"},{name:"support.function.hlsl",match:"\\b([a-zA-Z_][a-zA-Z0-9_]*)(?=[\\s]*\\()"},{name:"support.variable.semantic.hlsl",match:"(?<=\\:\\s|\\:)(?i:BINORMAL[0-9]*|BLENDINDICES[0-9]*|BLENDWEIGHT[0-9]*|COLOR[0-9]*|NORMAL[0-9]*|POSITIONT|POSITION|PSIZE[0-9]*|TANGENT[0-9]*|TEXCOORD[0-9]*|FOG|TESSFACTOR[0-9]*|VFACE|VPOS|DEPTH[0-9]*)\\b"},{name:"support.variable.semantic.sm4.hlsl",match:"(?<=\\:\\s|\\:)(?i:SV_ClipDistance[0-9]*|SV_CullDistance[0-9]*|SV_Coverage|SV_Depth|SV_DepthGreaterEqual[0-9]*|SV_DepthLessEqual[0-9]*|SV_InstanceID|SV_IsFrontFace|SV_Position|SV_RenderTargetArrayIndex|SV_SampleIndex|SV_StencilRef|SV_Target[0-7]?|SV_VertexID|SV_ViewportArrayIndex)\\b"},{name:"support.variable.semantic.sm5.hlsl",match:"(?<=\\:\\s|\\:)(?i:SV_DispatchThreadID|SV_DomainLocation|SV_GroupID|SV_GroupIndex|SV_GroupThreadID|SV_GSInstanceID|SV_InsideTessFactor|SV_OutputControlPointID|SV_TessFactor)\\b"},{name:"support.variable.semantic.sm5_1.hlsl",match:"(?<=\\:\\s|\\:)(?i:SV_InnerCoverage|SV_StencilRef)\\b"},{name:"storage.modifier.hlsl",match:"\\b(column_major|const|export|extern|globallycoherent|groupshared|inline|inout|in|out|precise|row_major|shared|static|uniform|volatile)\\b"},{name:"storage.modifier.float.hlsl",match:"\\b(snorm|unorm)\\b"},{name:"storage.modifier.postfix.hlsl",match:"\\b(packoffset|register)\\b"},{name:"storage.modifier.interpolation.hlsl",match:"\\b(centroid|linear|nointerpolation|noperspective|sample)\\b"},{name:"storage.modifier.geometryshader.hlsl",match:"\\b(lineadj|line|point|triangle|triangleadj)\\b"},{name:"support.type.other.hlsl",match:"\\b(string)\\b"},{name:"support.type.object.hlsl",match:"\\b(AppendStructuredBuffer|Buffer|ByteAddressBuffer|ConstantBuffer|ConsumeStructuredBuffer|InputPatch|OutputPatch)\\b"},{name:"support.type.object.rasterizerordered.hlsl",match:"\\b(RasterizerOrderedBuffer|RasterizerOrderedByteAddressBuffer|RasterizerOrderedStructuredBuffer|RasterizerOrderedTexture1D|RasterizerOrderedTexture1DArray|RasterizerOrderedTexture2D|RasterizerOrderedTexture2DArray|RasterizerOrderedTexture3D)\\b"},{name:"support.type.object.rw.hlsl",match:"\\b(RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture1D|RWTexture1DArray|RWTexture2D|RWTexture2DArray|RWTexture3D)\\b"},{name:"support.type.object.geometryshader.hlsl",match:"\\b(LineStream|PointStream|TriangleStream)\\b"},{name:"support.type.sampler.legacy.hlsl",match:"\\b(sampler|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler_state)\\b"},{name:"support.type.sampler.hlsl",match:"\\b(SamplerState|SamplerComparisonState)\\b"},{name:"support.type.texture.legacy.hlsl",match:"\\b(texture2D|textureCUBE)\\b"},{name:"support.type.texture.hlsl",match:"\\b(Texture1D|Texture1DArray|Texture2D|Texture2DArray|Texture2DMS|Texture2DMSArray|Texture3D|TextureCube|TextureCubeArray)\\b"},{name:"storage.type.structured.hlsl",match:"\\b(cbuffer|class|interface|namespace|struct|tbuffer)\\b"},{name:"support.constant.property-value.fx.hlsl",match:"\\b(FALSE|TRUE|NULL)\\b"},{name:"support.type.fx.hlsl",match:"\\b(BlendState|DepthStencilState|RasterizerState)\\b"},{name:"storage.type.fx.technique.hlsl",match:"\\b(technique|Technique|technique10|technique11|pass)\\b"},{name:"meta.object-literal.key.fx.blendstate.hlsl",match:"\\b(AlphaToCoverageEnable|BlendEnable|SrcBlend|DestBlend|BlendOp|SrcBlendAlpha|DestBlendAlpha|BlendOpAlpha|ReLine truncated
export { hlsl_tmLanguage as default };
@@ -0,0 +1,3 @@
var html_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/textmate/html.tmbundle/blob/master/Syntaxes/HTML.plist","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/textmate/html.tmbundle/commit/0c3d5ee54de3a993f747f54186b73a4d2d3c44a2",name:"html",scopeName:"text.html.basic",injections:{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{comment:"Uses R: to ensure this matches after any other injections.",patterns:[{match:"<",name:"invalid.illegal.bad-angle-bracket.html"}]}},patterns:[{include:"#xml-processing"},{include:"#comment"},{include:"#doctype"},{include:"#cdata"},{include:"#tags-valid"},{include:"#tags-invalid"},{include:"#entities"}],repository:{attribute:{patterns:[{begin:"(s(hape|cope|t(ep|art)|ize(s)?|p(ellcheck|an)|elected|lot|andbox|rc(set|doc|lang)?)|h(ttp-equiv|i(dden|gh)|e(ight|aders)|ref(lang)?)|n(o(nce|validate|module)|ame)|c(h(ecked|arset)|ite|o(nt(ent(editable)?|rols)|ords|l(s(pan)?|or))|lass|rossorigin)|t(ype(mustmatch)?|itle|a(rget|bindex)|ranslate)|i(s(map)?|n(tegrity|putmode)|tem(scope|type|id|prop|ref)|d)|op(timum|en)|d(i(sabled|r(name)?)|ownload|e(coding|f(er|ault))|at(etime|a)|raggable)|usemap|p(ing|oster|la(ysinline|ceholder)|attern|reload)|enctype|value|kind|for(m(novalidate|target|enctype|action|method)?)?|w(idth|rap)|l(ist|o(op|w)|a(ng|bel))|a(s(ync)?|c(ce(sskey|pt(-charset)?)|tion)|uto(c(omplete|apitalize)|play|focus)|l(t|low(usermedia|paymentrequest|fullscreen))|bbr)|r(ows(pan)?|e(versed|quired|ferrerpolicy|l|adonly))|m(in(length)?|u(ted|ltiple)|e(thod|dia)|a(nifest|x(length)?)))(?![\\w:-])",beginCaptures:{"0":{name:"entity.other.attribute-name.html"}},comment:"HTML5 attributes, not event handlers",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.$1.html",patterns:[{include:"#attribute-interior"}]},{begin:"style(?![\\w:-])",beginCaptures:{"0":{name:"entity.other.attribute-name.html"}},comment:"HTML5 style attribute",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.style.html",patterns:[{begin:"=",beginCaptures:{"0":{name:"punctuation.separator.key-value.html"}},end:"(?<=[^\\s=])(?!\\s*=)|(?=/?>)",patterns:[{begin:"(?=[^\\s=<>`/]|/(?!>))",end:"(?!\\G)",name:"meta.embedded.line.css",patterns:[{captures:{"0":{name:"source.css"}},match:"([^\\s\"'=<>`/]|/(?!>))+",name:"string.unquoted.html"},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"source.css",end:"(\")",endCaptures:{"0":{name:"punctuation.definition.string.end.html"},"1":{name:"source.css"}},name:"string.quoted.double.html",patterns:[{include:"#entities"}]},{begin:"'",beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"source.css",end:"(')",endCaptures:{"0":{name:"punctuation.definition.string.end.html"},"1":{name:"source.css"}},name:"string.quoted.single.html",patterns:[{include:"#entities"}]}]},{match:"=",name:"invalid.illegal.unexpected-equals-sign.html"}]}]},{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(nline|ffline)|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(data|metadata)))?|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":{name:"entity.other.attribute-name.html"}},comment:"HTML5 attributes, event handlers",end:"(?=\\s*+[^=\\s])",name:"meta.attribute.event-handler.$1.html",patterns:[{begin:"=",beginCaptures:{"0":{name:"punctuation.separator.key-value.html"}},end:"(?<=[^\\s=])(?!\\s*=)|(?=/?>)",patterns:[{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.html"},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"source.js",end:"(\")",endCaptures:{"0":{name:"punctuation.definition.string.end.html"},"1":{name:"source.js"}},name:"string.quoted.double.html",patterns:[{captures:{"0":{patterns:[{include:"source.js"}]}},match:"([^\\n\"/]|/(?![/*]))+"},{begin:"//",beginCaptures:{"0":{name:"punctuation.definition.comment.js"}},end:"(?=\")|\\n",name:"comment.line.double-slash.js"},{begin:"/\\*",beginCaptures:{"0":{name:"punctuation.definition.comment.begin.js"}},end:"(?=\")|\\*/",endCaptures:{"0":{name:"punctuation.definition.comment.end.js"}},name:"comment.block.js"}]},{begin:"'",begiLine truncated
export { html_tmLanguage as default };
@@ -0,0 +1,3 @@
var http_tmLanguage = {scopeName:"source.http",fileTypes:["http","rest"],keyEquivalent:"^~H",name:"http",patterns:[{begin:"^\\s*(?=curl)",name:"http.request.curl",end:"^\\s*(\\#{3,}.*?)?\\s*$",endCaptures:{"0":{name:"comment.line.sharp.http"}},patterns:[{include:"source.shell"}]},{begin:"\\s*(?=(\\[|{[^{]))",name:"http.request.body.json",end:"^\\s*(\\#{3,}.*?)?\\s*$",endCaptures:{"0":{name:"comment.line.sharp.http"}},patterns:[{include:"source.json"}]},{begin:"^\\s*(?=<\\S)",name:"http.request.body.xml",end:"^\\s*(\\#{3,}.*?)?\\s*$",endCaptures:{"0":{name:"comment.line.sharp.http"}},patterns:[{include:"text.xml"}]},{begin:"\\s*(?=(query|mutation))",name:"http.request.body.graphql",end:"^\\s*(\\#{3,}.*?)?\\s*$",endCaptures:{"0":{name:"comment.line.sharp.http"}},patterns:[{include:"source.graphql"}]},{begin:"\\s*(?=(query|mutation))",name:"http.request.body.graphql",end:"^\\{\\s*$",patterns:[{include:"source.graphql"}]},{include:"#metadata"},{include:"#comments"},{captures:{"1":{name:"keyword.other.http"},"2":{name:"variable.other.http"},"3":{name:"string.other.http"}},match:"^\\s*(@)([^\\s=]+)\\s*=\\s*(.*?)\\s*$",name:"http.filevariable"},{captures:{"1":{name:"keyword.operator.http"},"2":{name:"variable.other.http"},"3":{name:"string.other.http"}},match:"^\\s*(\\?|&)([^=\\s]+)=(.*)$",name:"http.query"},{captures:{"1":{name:"entity.name.tag.http"},"2":{name:"keyword.other.http"},"3":{name:"string.other.http"}},match:"^([\\w\\-]+)\\s*(\\:)\\s*([^/].*?)\\s*$",name:"http.headers"},{include:"#request-line"},{include:"#response-line"}],repository:{metadata:{patterns:[{match:"^\\s*\\#{1,}\\s+(?:((@)name)\\s+([^\\s\\.]+))$",captures:{"1":{name:"entity.other.attribute-name"},"2":{name:"punctuation.definition.block.tag.metadata"},"3":{name:"entity.name.type.http"}},name:"comment.line.sharp.http"},{match:"^\\s*\\/{2,}\\s+(?:((@)name)\\s+([^\\s\\.]+))$",captures:{"1":{name:"entity.other.attribute-name"},"2":{name:"punctuation.definition.block.tag.metadata"},"3":{name:"entity.name.type.http"}},name:"comment.line.double-slash.http"},{match:"^\\s*\\#{1,}\\s+((@)note)\\s*$",captures:{"1":{name:"entity.other.attribute-name"},"2":{name:"punctuation.definition.block.tag.metadata"}},name:"comment.line.sharp.http"},{match:"^\\s*\\/{2,}\\s+((@)note)\\s*$",captures:{"1":{name:"entity.other.attribute-name"},"2":{name:"punctuation.definition.block.tag.metadata"}},name:"comment.line.double-slash.http"},{match:"^\\s*\\#{1,}\\s+(?:((@)prompt)\\s+([^\\s]+)(?:\\s+(.*))?\\s*)$",captures:{"1":{name:"entity.other.attribute-name"},"2":{name:"punctuation.definition.block.tag.metadata"},"3":{name:"variable.other.http"},"4":{name:"string.other.http"}},name:"comment.line.sharp.http"},{match:"^\\s*\\/{2,}\\s+(?:((@)prompt)\\s+([^\\s]+)(?:\\s+(.*))?\\s*)$",captures:{"1":{name:"entity.other.attribute-name"},"2":{name:"punctuation.definition.block.tag.metadata"},"3":{name:"variable.other.http"},"4":{name:"string.other.http"}},name:"comment.line.double-slash.http"}]},comments:{patterns:[{match:"^\\s*\\#{1,}.*$",name:"comment.line.sharp.http"},{match:"^\\s*\\/{2,}.*$",name:"comment.line.double-slash.http"}]},"request-line":{captures:{"1":{name:"keyword.control.http"},"2":{name:"const.language.http"},"3":{patterns:[{include:"#protocol"}]}},match:"(?i)^(?:(get|post|put|delete|patch|head|options|connect|trace)\\s+)?\\s*(.+?)(?:\\s+(HTTP\\/\\S+))?$",name:"http.requestline"},"response-line":{captures:{"1":{patterns:[{include:"#protocol"}]},"2":{name:"constant.numeric.http"},"3":{name:"string.other.http"}},match:"(?i)^\\s*(HTTP\\/\\S+)\\s([1-5][0-9][0-9])\\s(.*)$",name:"http.responseLine"},protocol:{patterns:[{captures:{"1":{name:"keyword.other.http"},"2":{name:"constant.numeric.http"}},name:"http.version",match:"(HTTP)/(\\d+.\\d+)"}]}}};
export { http_tmLanguage as default };
@@ -0,0 +1,3 @@
var imba_tmLanguage = {name:"imba",scopeName:"source.imba",fileTypes:["imba","imba2"],uuid:"ef98eb90-bf9b-11e4-bb52-0800200c9a67",patterns:[{include:"#root"},{name:"comment.line.shebang.imba",match:"\\A(#!).*(?=$)",captures:{"1":{name:"punctuation.definition.comment.imba"}}}],repository:{root:{patterns:[{include:"#block"}]},block:{patterns:[{include:"#style-declaration"},{include:"#object-keys"},{include:"#tag-literal"},{include:"#regex"},{include:"#keywords"},{include:"#comment"},{include:"#literal"},{include:"#plain-identifiers"},{include:"#plain-accessors"},{include:"#pairs"},{include:"#invalid-indentation"}]},expr:{patterns:[{include:"#style-declaration"},{include:"#object-keys"},{include:"#tag-literal"},{include:"#regex"},{include:"#keywords"},{include:"#comment"},{include:"#literal"},{include:"#plain-identifiers"},{include:"#plain-accessors"},{include:"#pairs"}]},literal:{patterns:[{include:"#number-with-unit-literal"},{include:"#numeric-literal"},{include:"#boolean-literal"},{include:"#null-literal"},{include:"#undefined-literal"},{include:"#numericConstant-literal"},{include:"#this-literal"},{include:"#global-literal"},{include:"#super-literal"},{include:"#type-literal"},{include:"#string"}]},pairs:{patterns:[{include:"#curly-braces"},{include:"#square-braces"},{include:"#round-braces"}]},"curly-braces":{begin:"\\s*(\\{)",beginCaptures:{"1":{name:"meta.brace.curly.imba"}},end:"\\}",endCaptures:{"0":{name:"meta.brace.curly.imba"}},patterns:[{include:"#expr"},{include:"#punctuation-comma"}]},"square-braces":{begin:"\\s*(\\[)",beginCaptures:{"1":{name:"meta.brace.square.imba"}},end:"\\]",endCaptures:{"0":{name:"meta.brace.square.imba"}},patterns:[{include:"#expr"},{include:"#punctuation-comma"}]},"round-braces":{begin:"\\s*(\\()",beginCaptures:{"1":{name:"meta.brace.round.imba"}},end:"\\)",endCaptures:{"0":{name:"meta.brace.round.imba"}},patterns:[{include:"#expr"},{include:"#punctuation-comma"}]},keywords:{patterns:[{name:"keyword.control.imba",match:"(if|elif|else|unless|switch|when|then|do|import|export|for own|for|while|until|return|try|catch|await|finally|throw|as|continue|break|extend|augment)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.imba",match:"(?<=export\\s+)(default)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.imba",match:"(?<=import\\s+)(type)(?=\\s+[\\w\\{\\$\\_])"},{name:"keyword.control.imba",match:"(extend)\\s+(?=class|tag)"},{name:"keyword.control.imba",match:"(?<=[\\*\\}\\w\\$]\\s+)(from)(?=\\s+[\\\"\\'])"},{name:"storage.type.function.imba",match:"(def|get|set)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.type.class.imba",match:"(tag|class|struct)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.type.imba",match:"(let|const|constructor)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.type.imba",match:"(prop|attr)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"storage.modifier.imba",match:"(static)\\s+"},{include:"#ops"},{name:"keyword.operator.assignment.imba",match:"(=|\\|\\|=|\\?\\?=|\\&\\&=|\\+=|\\-=|\\*=|\\^=|\\%=)"},{name:"keyword.operator.imba",match:"(\\>\\=?|\\<\\=?)"},{name:"keyword.operator.imba",match:"(of|delete|\\!?isa|typeof|in|new)(?![_\\-$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},ops:{patterns:[{name:"keyword.operator.spread.imba",match:"\\.\\.\\."},{name:"keyword.operator.assignment.compound.imba",match:"\\*=|(?<!\\()/=|%=|\\+=|\\-=|\\?=|\\?\\?=|=\\?"},{name:"keyword.operator.assignment.compound.bitwise.imba",match:"\\^=\\?|\\|=\\?|\\~=\\?|\\&=|\\^=|<<=|>>=|>>>=|\\|="},{name:"keyword.operator.bitwise.shift.imba",match:"<<|>>>|>>"},{name:"keyword.operator.comparison.imba",match:"===|!==|==|!=|~="},{name:"keyword.operator.relational.imba",match:"<=|>=|<>|<|>"},{match:"(\\!)\\s*(/)(?![/*])",captures:{"1":{name:"keyword.operator.logical.imba"},"2":{name:"keyword.operator.arithmetic.imba"}}},{name:"keyword.operator.logical.imba",match:"\\!|&&|\\|\\||\\?\\?|or\\b(?=\\s|$)|and\\b(?=\\s|$)"},{name:"keyword.operator.bitwise.imba",match:"\\&|~|\\^|\\|"},{name:"keyword.operator.assignment.imba",match:"\\="},{name:"keyword.operator.decrement.imba",match:"--"},{name:"keyword.operator.increment.imba",match:"\\+\\+"},{name:"keyword.operator.arithmetic.imba",match:"%|\\*|/|-|\\+"}]},"object-keys":{patterns:[{match:"[_$[:alpha:]][_$[:alnum:]]*(?:\\-[_$[:alnum:]]+)*[\\?\\!]?\\:",name:"meta.object-literal.key"}]},"invalid-indentation":{patterns:[{name:"invalid.whitespace",match:"^[\\ ]+"},{name:"invalid.whitespace",match:"^\\t+\\s+"}]},"style-property":{patterns:[{name:"meta.property-name.css",begin:"(?=(?:[\\@\\.]+[\\!\\<\\>]?)?[\\w\\-\\$]+(?:[\\@\\.]+[\\!\\<\\>]?[\\w\\-\\$]+)*(?:\\s*\\:))",beginCaptures:{"1":{name:"support.function.calc.css"},"2":{name:"punctuation.section.function.begin.bracket.round.css"}},end:"\\s*\\:",endCaptures:{"0":{name:"punctuation.separator.key-value.css"}},patterns:[{name:"support.type.property-name.variable.css",match:"(?:--|\\$)[\\w\\-\\$]+"},{name:"sLine truncated
export { imba_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var ini_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/textmate/ini.tmbundle/blob/master/Syntaxes/Ini.plist","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6",name:"ini",scopeName:"source.ini",patterns:[{begin:"(^[ \\t]+)?(?=#)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.ini"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{"0":{name:"punctuation.definition.comment.ini"}},end:"\\n",name:"comment.line.number-sign.ini"}]},{begin:"(^[ \\t]+)?(?=;)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.ini"}},end:"(?!\\G)",patterns:[{begin:";",beginCaptures:{"0":{name:"punctuation.definition.comment.ini"}},end:"\\n",name:"comment.line.semicolon.ini"}]},{captures:{"1":{name:"keyword.other.definition.ini"},"2":{name:"punctuation.separator.key-value.ini"}},match:"\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)"},{captures:{"1":{name:"punctuation.definition.entity.ini"},"3":{name:"punctuation.definition.entity.ini"}},match:"^(\\[)(.*?)(\\])",name:"entity.name.section.group-title.ini"},{begin:"'",beginCaptures:{"0":{name:"punctuation.definition.string.begin.ini"}},end:"'",endCaptures:{"0":{name:"punctuation.definition.string.end.ini"}},name:"string.quoted.single.ini",patterns:[{match:"\\\\.",name:"constant.character.escape.ini"}]},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.ini"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.ini"}},name:"string.quoted.double.ini"}]};
export { ini_tmLanguage as default };
@@ -0,0 +1,3 @@
var java_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/redhat-developer/vscode-java/blob/master/language-support/java/java.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/redhat-developer/vscode-java/commit/5fb57e8e1c5d776b21be13cd7227b25b87edf4a6",name:"java",scopeName:"source.java",patterns:[{begin:"\\b(package)\\b\\s*",beginCaptures:{"1":{name:"keyword.other.package.java"}},end:"\\s*(;)",endCaptures:{"1":{name:"punctuation.terminator.java"}},name:"meta.package.java",contentName:"storage.modifier.package.java",patterns:[{include:"#comments"},{match:"(?<=\\.)\\s*\\.|\\.(?=\\s*;)",name:"invalid.illegal.character_not_allowed_here.java"},{match:"(?<!_)_(?=\\s*(\\.|;))|\\b\\d+|-+",name:"invalid.illegal.character_not_allowed_here.java"},{match:"[A-Z]+",name:"invalid.deprecated.package_name_not_lowercase.java"},{match:"(?x)\\b(?<!\\$)\n(abstract|assert|boolean|break|byte|case|catch|char|class|\nconst|continue|default|do|double|else|enum|extends|final|\nfinally|float|for|goto|if|implements|import|instanceof|int|\ninterface|long|native|new|non-sealed|package|permits|private|protected|public|\nreturn|sealed|short|static|strictfp|super|switch|syncronized|this|\nthrow|throws|transient|try|void|volatile|while|yield|\ntrue|false|null)\\b",name:"invalid.illegal.character_not_allowed_here.java"},{match:"\\.",name:"punctuation.separator.java"}]},{begin:"\\b(import)\\b\\s*\\b(static)?\\b\\s",beginCaptures:{"1":{name:"keyword.other.import.java"},"2":{name:"storage.modifier.java"}},end:"\\s*(;)",endCaptures:{"1":{name:"punctuation.terminator.java"}},name:"meta.import.java",contentName:"storage.modifier.import.java",patterns:[{include:"#comments"},{match:"(?<=\\.)\\s*\\.|\\.(?=\\s*;)",name:"invalid.illegal.character_not_allowed_here.java"},{match:"(?<!\\.)\\s*\\*",name:"invalid.illegal.character_not_allowed_here.java"},{match:"(?<!_)_(?=\\s*(\\.|;))|\\b\\d+|-+",name:"invalid.illegal.character_not_allowed_here.java"},{match:"(?x)\\b(?<!\\$)\n(abstract|assert|boolean|break|byte|case|catch|char|class|\nconst|continue|default|do|double|else|enum|extends|final|\nfinally|float|for|goto|if|implements|import|instanceof|int|\ninterface|long|native|new|non-sealed|package|permits|private|protected|public|\nreturn|sealed|short|static|strictfp|super|switch|syncronized|this|\nthrow|throws|transient|try|void|volatile|while|yield|\ntrue|false|null)\\b",name:"invalid.illegal.character_not_allowed_here.java"},{match:"\\.",name:"punctuation.separator.java"},{match:"\\*",name:"variable.language.wildcard.java"}]},{include:"#comments-javadoc"},{include:"#code"},{include:"#module"}],repository:{"all-types":{patterns:[{include:"#primitive-arrays"},{include:"#primitive-types"},{include:"#object-types"}]},annotations:{patterns:[{begin:"((@)\\s*([^\\s(]+))(\\()",beginCaptures:{"2":{name:"punctuation.definition.annotation.java"},"3":{name:"storage.type.annotation.java"},"4":{name:"punctuation.definition.annotation-arguments.begin.bracket.round.java"}},end:"\\)",endCaptures:{"0":{name:"punctuation.definition.annotation-arguments.end.bracket.round.java"}},name:"meta.declaration.annotation.java",patterns:[{captures:{"1":{name:"constant.other.key.java"},"2":{name:"keyword.operator.assignment.java"}},match:"(\\w*)\\s*(=)"},{include:"#code"}]},{match:"(@)(interface)\\s+(\\w*)|((@)\\s*(\\w+))",name:"meta.declaration.annotation.java",captures:{"1":{name:"punctuation.definition.annotation.java"},"2":{name:"storage.modifier.java"},"3":{name:"storage.type.annotation.java"},"5":{name:"punctuation.definition.annotation.java"},"6":{name:"storage.type.annotation.java"}}}]},"anonymous-block-and-instance-initializer":{begin:"{",beginCaptures:{"0":{name:"punctuation.section.block.begin.bracket.curly.java"}},end:"}",endCaptures:{"0":{name:"punctuation.section.block.end.bracket.curly.java"}},patterns:[{include:"#code"}]},"anonymous-classes-and-new":{begin:"\\bnew\\b",beginCaptures:{"0":{name:"keyword.control.new.java"}},end:"(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)",patterns:[{include:"#comments"},{include:"#function-call"},{include:"#all-types"},{begin:"(?<=\\))",end:"(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)",patterns:[{include:"#comments"},{begin:"{",beginCaptures:{"0":{name:"punctuation.section.inner-class.begin.bracket.curly.java"}},end:"}",endCaptures:{"0":{name:"punctuation.section.inner-class.end.bracket.curly.java"}},name:"meta.inner-class.java",patterns:[{include:"#class-body"}]}]},{begin:"(?<=\\])",end:"(?=;|\\)|\\]|\\.|,|\\?|:|}|\\+|\\-|\\*|\\/(?!\\/|\\*)|%|!|&|\\||\\^|=)",patterns:[{include:"#comments"},{begin:"{",beginCaptures:{"0":{name:"punctuation.section.array-initializer.begin.bracket.curly.java"}},end:"}",endCaptures:{"0":{name:"punctuation.section.array-initializer.end.braLine truncated
export { java_tmLanguage as default };
@@ -0,0 +1,3 @@
var javascript_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/TypeScript-TmLanguage/blob/master/TypeScriptReact.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747",name:"javascript",scopeName:"source.js",patterns:[{include:"#directives"},{include:"#statements"},{include:"#shebang"}],repository:{shebang:{name:"comment.line.shebang.js",match:"\\A(#!).*(?=$)",captures:{"1":{name:"punctuation.definition.comment.js"}}},statements:{patterns:[{include:"#declaration"},{include:"#control-statement"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#label"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"}]},declaration:{patterns:[{include:"#decorator"},{include:"#var-expr"},{include:"#function-declaration"},{include:"#class-declaration"},{include:"#interface-declaration"},{include:"#enum-declaration"},{include:"#namespace-declaration"},{include:"#type-alias-declaration"},{include:"#import-equals-declaration"},{include:"#import-declaration"},{include:"#export-declaration"},{name:"storage.modifier.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(declare|export)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},"control-statement":{patterns:[{include:"#switch-statement"},{include:"#for-loop"},{name:"keyword.control.trycatch.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|goto)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",captures:{"1":{name:"keyword.control.loop.js"},"2":{name:"entity.name.label.js"}}},{name:"keyword.control.loop.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|do|goto|while)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{"0":{name:"keyword.control.flow.js"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{name:"keyword.control.switch.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default|switch)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{include:"#if-statement"},{name:"keyword.control.conditional.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.with.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(with)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(package)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.other.debugger.js",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(debugger)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},label:{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",beginCaptures:{"1":{name:"entity.name.label.js"},"2":{name:"punctuation.separator.label.js"}},end:"(?<=\\})",patterns:[{include:"#decl-block"}]},{match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)",captures:{"1":{name:"entity.name.label.js"},"2":{name:"punctuation.separator.label.js"}}}]},expression:{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},expressionWithoutIdentifiers:{patterns:[{include:"#jsx"},{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#arrow-function"},{include:"#paren-expression-possibly-arrow"},{include:"#cast"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#function-call"},{include:"#literal"},{include:"#support-objects"},{include:"#paren-expression"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},decorator:{name:"meta.decorator.js",begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))\\@",beginCaptures:{"0":{name:"punctuation.decorator.js"}},end:"(?=\\s)",patterns:[{include:"#expression"}]},"var-expr":{patterns:[{name:"meta.var.expr.js",begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))",end:"(?!(?<![_$[:alnum:]])Line truncated
export { javascript_tmLanguage as default };
@@ -0,0 +1,3 @@
var jinjaHtml_tmLanguage = {name:"jinja-html",scopeName:"text.html.jinja",comment:"Jinja HTML Templates",firstLineMatch:"^{% extends [\"'][^\"']+[\"'] %}",foldingStartMarker:"(<(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\b.*?>|{%\\s*(block|filter|for|if|macro|raw))",foldingStopMarker:"(</(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\b.*?>|{%\\s*(endblock|endfilter|endfor|endif|endmacro|endraw)\\s*%})",patterns:[{include:"source.jinja"},{include:"text.html.basic"}]};
export { jinjaHtml_tmLanguage as default };
@@ -0,0 +1,3 @@
var jison_tmLanguage = {name:"jison",scopeName:"source.jison",fileTypes:["jison"],patterns:[{begin:"%%",end:"\\z",beginCaptures:{"0":{name:"meta.separator.section.jison"}},patterns:[{begin:"%%",end:"\\z",beginCaptures:{"0":{name:"meta.separator.section.jison"}},patterns:[{name:"meta.section.epilogue.jison",begin:"\\G",end:"\\z",contentName:"source.js.embedded.jison",patterns:[{include:"#epilogue_section"}]}]},{name:"meta.section.rules.jison",begin:"\\G",end:"(?=%%)",patterns:[{include:"#rules_section"}]}]},{name:"meta.section.declarations.jison",begin:"^",end:"(?=%%)",patterns:[{include:"#declarations_section"}]}],repository:{declarations_section:{patterns:[{include:"#comments"},{begin:"^\\s*(%lex)\\s*$",end:"^\\s*(/lex)\\b",beginCaptures:{"1":{name:"entity.name.tag.lexer.begin.jison"}},endCaptures:{"1":{name:"entity.name.tag.lexer.end.jison"}},patterns:[{begin:"%%",end:"(?=/lex)",beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},patterns:[{begin:"^%%",end:"(?=/lex)",beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},patterns:[{name:"meta.section.user-code.jisonlex",begin:"\\G",end:"(?=/lex)",contentName:"source.js.embedded.jisonlex",patterns:[{include:"source.jisonlex#user_code_section"}]}]},{name:"meta.section.rules.jisonlex",begin:"\\G",end:"^(?=%%|/lex)",patterns:[{include:"source.jisonlex#rules_section"}]}]},{name:"meta.section.definitions.jisonlex",begin:"^",end:"(?=%%|/lex)",patterns:[{include:"source.jisonlex#definitions_section"}]}]},{name:"meta.section.prologue.jison",begin:"(?=%\\{)",end:"(?<=%\\})",patterns:[{include:"#user_code_blocks"}]},{include:"#options_declarations"},{name:"keyword.other.declaration.$1.jison",match:"%(ebnf|left|nonassoc|parse-param|right|start)\\b"},{include:"#include_declarations"},{name:"meta.code.jison",begin:"%(code)\\b",end:"$",beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},patterns:[{include:"#comments"},{include:"#rule_actions"},{name:"keyword.other.code-qualifier.$1.jison",match:"(init|required)"},{include:"#quoted_strings"},{name:"string.unquoted.jison",match:"\\b[[:alpha:]_](?:[\\w-]*\\w)?\\b"}]},{name:"meta.parser-type.jison",begin:"%(parser-type)\\b",end:"$",beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},patterns:[{include:"#comments"},{include:"#quoted_strings"},{name:"string.unquoted.jison",match:"\\b[[:alpha:]_](?:[\\w-]*\\w)?\\b"}]},{name:"meta.token.jison",begin:"%(token)\\b",end:"$|(%%|;)",beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},endCaptures:{"1":{name:"punctuation.terminator.declaration.token.jison"}},patterns:[{include:"#comments"},{include:"#numbers"},{include:"#quoted_strings"},{name:"invalid.unimplemented.jison",match:"<[[:alpha:]_](?:[\\w-]*\\w)?>"},{name:"entity.other.token.jison",match:"\\S+"}]},{name:"keyword.other.declaration.$1.jison",match:"%(debug|import)\\b"},{name:"invalid.illegal.jison",match:"%prec\\b"},{name:"invalid.unimplemented.jison",match:"%[[:alpha:]_](?:[\\w-]*\\w)?\\b"},{include:"#numbers"},{include:"#quoted_strings"}]},rules_section:{patterns:[{include:"#comments"},{include:"#actions"},{include:"#include_declarations"},{name:"meta.rule.jison",begin:"\\b[[:alpha:]_](?:[\\w-]*\\w)?\\b",end:";",beginCaptures:{"0":{name:"entity.name.constant.rule-result.jison"}},endCaptures:{"0":{name:"punctuation.terminator.rule.jison"}},patterns:[{include:"#comments"},{name:"meta.rule-components.jison",begin:":",end:"(?=;)",beginCaptures:{"0":{name:"keyword.operator.rule-components.assignment.jison"}},patterns:[{include:"#comments"},{include:"#quoted_strings"},{match:"(\\[)([[:alpha:]_](?:[\\w-]*\\w)?)(\\])",captures:{"1":{name:"punctuation.definition.named-reference.begin.jison"},"2":{name:"entity.name.other.reference.jison"},"3":{name:"punctuation.definition.named-reference.end.jison"}}},{name:"meta.prec.jison",begin:"(%(prec))\\s*",end:"(?<=['\"])|(?=\\s)",beginCaptures:{"1":{name:"keyword.other.$2.jison"}},patterns:[{include:"#comments"},{include:"#quoted_strings"},{name:"constant.other.token.jison",begin:"(?=\\S)",end:"(?=\\s)"}]},{name:"keyword.operator.rule-components.separator.jison",match:"\\|"},{name:"keyword.other.$0.jison",match:"\\b(?:EOF|error)\\b"},{name:"keyword.other.empty.jison",match:"(?:%(?:e(?:mpty|psilon))|\\b[Ɛɛεϵ])\\b"},{include:"#rule_actions"}]}]}]},epilogue_section:{patterns:[{include:"#user_code_include_declarations"},{include:"source.js"}]},actions:{patterns:[{name:"meta.action.jison",begin:"\\{\\{",end:"\\}\\}",beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},contentName:"source.js.embedded.jison",patterns:[{include:"source.js"}]},{name:"meta.action.jison",begin:"(?=%\\{)",end:"(?<=%\\})",patterns:[{include:"#user_code_blocks"}]}]},rule_actions:{patterns:[{include:"#actions"},{name:"meta.action.jison",begin:"\\{",end:"\\}",beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},endCaptures:{"0":{name:"punctuation.definition.action.endLine truncated
export { jison_tmLanguage as default };
@@ -0,0 +1,3 @@
var json_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-JSON.tmLanguage/blob/master/JSON.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",name:"json",scopeName:"source.json",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.array.begin.json"}},end:"\\]",endCaptures:{"0":{name:"punctuation.definition.array.end.json"}},name:"meta.structure.array.json",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{"0":{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.documentation.json"},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.json"}},end:"\\*/",name:"comment.block.json"},{captures:{"1":{name:"punctuation.definition.comment.json"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json"},number:{match:"(?x) # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional",name:"constant.numeric.json"},object:{begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json"}},end:"\\}",endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json"}},name:"meta.structure.dictionary.json",patterns:[{comment:"the JSON object key",include:"#objectkey"},{include:"#comments"},{begin:":",beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json"}},end:"(,)|(?=\\})",endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json"}},name:"meta.structure.dictionary.value.json",patterns:[{comment:"the JSON object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json"}]},string:{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.json"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.json"}},name:"string.quoted.double.json",patterns:[{include:"#stringcontent"}]},objectkey:{begin:"\"",beginCaptures:{"0":{name:"punctuation.support.type.property-name.begin.json"}},end:"\"",endCaptures:{"0":{name:"punctuation.support.type.property-name.end.json"}},name:"string.json support.type.property-name.json",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:"(?x) # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4}) # and four hex digits",name:"constant.character.escape.json"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}}};
export { json_tmLanguage as default };
@@ -0,0 +1,3 @@
var json5_tmLanguage = {scopeName:"source.json5",fileTypes:["json5"],name:"json5",patterns:[{include:"#comments"},{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.array.begin.json5"}},end:"\\]",endCaptures:{"0":{name:"punctuation.definition.array.end.json5"}},name:"meta.structure.array.json5",patterns:[{include:"#comments"},{include:"#value"},{match:",",name:"punctuation.separator.array.json5"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json5"}]},constant:{match:"\\b(?:true|false|null|Infinity|NaN)\\b",name:"constant.language.json5"},infinity:{match:"(-)*\\b(?:Infinity|NaN)\\b",name:"constant.language.json5"},number:{patterns:[{comment:"handles hexadecimal numbers",match:"(0x)[0-9a-fA-f]*",name:"constant.hex.numeric.json5"},{comment:"handles integer and decimal numbers",match:"[+-.]?(?=[1-9]|0(?!\\d))\\d+(\\.\\d+)?([eE][+-]?\\d+)?",name:"constant.dec.numeric.json5"}]},object:{begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json5"}},comment:"a json5 object",end:"\\}",endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json5"}},name:"meta.structure.dictionary.json5",patterns:[{include:"#comments"},{comment:"the json5 object key",include:"#key"},{begin:":",beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json5"}},end:"(,)|(?=\\})",endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json5"}},name:"meta.structure.dictionary.value.json5",patterns:[{comment:"the json5 object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json5"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json5"}]},stringSingle:{begin:"[']",beginCaptures:{"0":{name:"punctuation.definition.string.begin.json5"}},end:"[']",endCaptures:{"0":{name:"punctuation.definition.string.end.json5"}},name:"string.quoted.json5",patterns:[{match:"(?x: # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4} # and four hex digits\n )\n )",name:"constant.character.escape.json5"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json5"}]},stringDouble:{begin:"[\"]",beginCaptures:{"0":{name:"punctuation.definition.string.begin.json5"}},end:"[\"]",endCaptures:{"0":{name:"punctuation.definition.string.end.json5"}},name:"string.quoted.json5",patterns:[{match:"(?x: # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4} # and four hex digits\n )\n )",name:"constant.character.escape.json5"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json5"}]},key:{name:"string.key.json5",patterns:[{include:"#stringSingle"},{include:"#stringDouble"},{match:"[a-zA-Z0-9_-]",name:"string.key.json5"}]},value:{comment:"the 'value' diagram at http://json.org",patterns:[{include:"#constant"},{include:"#infinity"},{include:"#number"},{include:"#stringSingle"},{include:"#stringDouble"},{include:"#array"},{include:"#object"}]},comments:{patterns:[{match:"/{2}.*",name:"comment.single.json5"},{begin:"/\\*\\*(?!/)",captures:{"0":{name:"punctuation.definition.comment.json5"}},end:"\\*/",name:"comment.block.documentation.json5"},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.json5"}},end:"\\*/",name:"comment.block.json5"}]}}};
export { json5_tmLanguage as default };
@@ -0,0 +1,3 @@
var jsonc_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-JSON.tmLanguage/blob/master/JSON.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",name:"jsonc",scopeName:"source.json.comments",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.array.begin.json.comments"}},end:"\\]",endCaptures:{"0":{name:"punctuation.definition.array.end.json.comments"}},name:"meta.structure.array.json.comments",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json.comments"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json.comments"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{"0":{name:"punctuation.definition.comment.json.comments"}},end:"\\*/",name:"comment.block.documentation.json.comments"},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.json.comments"}},end:"\\*/",name:"comment.block.json.comments"},{captures:{"1":{name:"punctuation.definition.comment.json.comments"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json.comments"},number:{match:"(?x) # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional",name:"constant.numeric.json.comments"},object:{begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json.comments"}},end:"\\}",endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json.comments"}},name:"meta.structure.dictionary.json.comments",patterns:[{comment:"the JSON object key",include:"#objectkey"},{include:"#comments"},{begin:":",beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json.comments"}},end:"(,)|(?=\\})",endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json.comments"}},name:"meta.structure.dictionary.value.json.comments",patterns:[{comment:"the JSON object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json.comments"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json.comments"}]},string:{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.json.comments"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.json.comments"}},name:"string.quoted.double.json.comments",patterns:[{include:"#stringcontent"}]},objectkey:{begin:"\"",beginCaptures:{"0":{name:"punctuation.support.type.property-name.begin.json.comments"}},end:"\"",endCaptures:{"0":{name:"punctuation.support.type.property-name.end.json.comments"}},name:"string.json.comments support.type.property-name.json.comments",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:"(?x) # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4}) # and four hex digits",name:"constant.character.escape.json.comments"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json.comments"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}}};
export { jsonc_tmLanguage as default };
@@ -0,0 +1,3 @@
var jsonl_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-JSON.tmLanguage/blob/master/JSON.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70",name:"jsonl",scopeName:"source.json.lines",patterns:[{include:"#value"}],repository:{array:{begin:"\\[",beginCaptures:{"0":{name:"punctuation.definition.array.begin.json.lines"}},end:"\\]",endCaptures:{"0":{name:"punctuation.definition.array.end.json.lines"}},name:"meta.structure.array.json.lines",patterns:[{include:"#value"},{match:",",name:"punctuation.separator.array.json.lines"},{match:"[^\\s\\]]",name:"invalid.illegal.expected-array-separator.json.lines"}]},comments:{patterns:[{begin:"/\\*\\*(?!/)",captures:{"0":{name:"punctuation.definition.comment.json.lines"}},end:"\\*/",name:"comment.block.documentation.json.lines"},{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.json.lines"}},end:"\\*/",name:"comment.block.json.lines"},{captures:{"1":{name:"punctuation.definition.comment.json.lines"}},match:"(//).*$\\n?",name:"comment.line.double-slash.js"}]},constant:{match:"\\b(?:true|false|null)\\b",name:"constant.language.json.lines"},number:{match:"(?x) # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional",name:"constant.numeric.json.lines"},object:{begin:"\\{",beginCaptures:{"0":{name:"punctuation.definition.dictionary.begin.json.lines"}},end:"\\}",endCaptures:{"0":{name:"punctuation.definition.dictionary.end.json.lines"}},name:"meta.structure.dictionary.json.lines",patterns:[{comment:"the JSON object key",include:"#objectkey"},{include:"#comments"},{begin:":",beginCaptures:{"0":{name:"punctuation.separator.dictionary.key-value.json.lines"}},end:"(,)|(?=\\})",endCaptures:{"1":{name:"punctuation.separator.dictionary.pair.json.lines"}},name:"meta.structure.dictionary.value.json.lines",patterns:[{comment:"the JSON object value",include:"#value"},{match:"[^\\s,]",name:"invalid.illegal.expected-dictionary-separator.json.lines"}]},{match:"[^\\s\\}]",name:"invalid.illegal.expected-dictionary-separator.json.lines"}]},string:{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.json.lines"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.json.lines"}},name:"string.quoted.double.json.lines",patterns:[{include:"#stringcontent"}]},objectkey:{begin:"\"",beginCaptures:{"0":{name:"punctuation.support.type.property-name.begin.json.lines"}},end:"\"",endCaptures:{"0":{name:"punctuation.support.type.property-name.end.json.lines"}},name:"string.json.lines support.type.property-name.json.lines",patterns:[{include:"#stringcontent"}]},stringcontent:{patterns:[{match:"(?x) # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4}) # and four hex digits",name:"constant.character.escape.json.lines"},{match:"\\\\.",name:"invalid.illegal.unrecognized-string-escape.json.lines"}]},value:{patterns:[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"}]}}};
export { jsonl_tmLanguage as default };
@@ -0,0 +1,3 @@
var jsonnet_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"jsonnet",patterns:[{include:"#expression"},{include:"#keywords"}],repository:{"builtin-functions":{patterns:[{match:"\\bstd[.](acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](filter|floor|force|length|log|makeArray|mantissa)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](objectFields|objectHas|pow|sin|sqrt|tan|type|thisFile)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](acos|asin|atan|ceil|char|codepoint|cos|exp|exponent)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](abs|assertEqual|escapeString(Bash|Dollars|Json|Python))\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](filterMap|flattenArrays|foldl|foldr|format|join)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](lines|manifest(Ini|Python(Vars)?)|map|max|min|mod)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](set|set(Diff|Inter|Member|Union)|sort)\\b",name:"support.function.jsonnet"},{match:"\\bstd[.](range|split|stringChars|substr|toString|uniq)\\b",name:"support.function.jsonnet"}]},comment:{patterns:[{begin:"/\\*",end:"\\*/",name:"comment.block.jsonnet"},{match:"//.*$",name:"comment.line.jsonnet"},{match:"#.*$",name:"comment.block.jsonnet"}]},"double-quoted-strings":{begin:"\"",end:"\"",name:"string.quoted.double.jsonnet",patterns:[{match:"\\\\([\"\\\\/bfnrt]|(u[0-9a-fA-F]{4}))",name:"constant.character.escape.jsonnet"},{match:"\\\\[^\"\\\\/bfnrtu]",name:"invalid.illegal.jsonnet"}]},expression:{patterns:[{include:"#literals"},{include:"#comment"},{include:"#single-quoted-strings"},{include:"#double-quoted-strings"},{include:"#triple-quoted-strings"},{include:"#builtin-functions"},{include:"#functions"}]},functions:{patterns:[{begin:"\\b([a-zA-Z_][a-z0-9A-Z_]*)\\s*\\(",beginCaptures:{"1":{name:"entity.name.function.jsonnet"}},end:"\\)",name:"meta.function",patterns:[{include:"#expression"}]}]},keywords:{patterns:[{match:"[!:~\\+\\-&\\|\\^=<>\\*\\/%]",name:"keyword.operator.jsonnet"},{match:"\\$",name:"keyword.other.jsonnet"},{match:"\\b(self|super|import|importstr|local|tailstrict)\\b",name:"keyword.other.jsonnet"},{match:"\\b(if|then|else|for|in|error|assert)\\b",name:"keyword.control.jsonnet"},{match:"\\b(function)\\b",name:"storage.type.jsonnet"},{match:"[a-zA-Z_][a-z0-9A-Z_]*\\s*(:::|\\+:::)",name:"variable.parameter.jsonnet"},{match:"[a-zA-Z_][a-z0-9A-Z_]*\\s*(::|\\+::)",name:"entity.name.type"},{match:"[a-zA-Z_][a-z0-9A-Z_]*\\s*(:|\\+:)",name:"variable.parameter.jsonnet"}]},literals:{patterns:[{match:"\\b(true|false|null)\\b",name:"constant.language.jsonnet"},{match:"\\b(\\d+([Ee][+-]?\\d+)?)\\b",name:"constant.numeric.jsonnet"},{match:"\\b\\d+[.]\\d*([Ee][+-]?\\d+)?\\b",name:"constant.numeric.jsonnet"},{match:"\\b[.]\\d+([Ee][+-]?\\d+)?\\b",name:"constant.numeric.jsonnet"}]},"single-quoted-strings":{begin:"'",end:"'",name:"string.quoted.double.jsonnet",patterns:[{match:"\\\\(['\\\\/bfnrt]|(u[0-9a-fA-F]{4}))",name:"constant.character.escape.jsonnet"},{match:"\\\\[^'\\\\/bfnrtu]",name:"invalid.illegal.jsonnet"}]},"triple-quoted-strings":{patterns:[{begin:"\\|\\|\\|",end:"\\|\\|\\|",name:"string.quoted.triple.jsonnet"}]}},scopeName:"source.jsonnet"};
export { jsonnet_tmLanguage as default };
@@ -0,0 +1,3 @@
var jssm_tmLanguage = {fileTypes:["jssm","jssm_state"],name:"jssm",patterns:[{begin:"/\\*",captures:{"0":{name:"punctuation.definition.comment.mn"}},comment:"block comment",end:"\\*/",name:"comment.block.jssm"},{begin:"//",comment:"block comment",end:"$",name:"comment.line.jssm"},{begin:"\\${",captures:{"0":{name:"entity.name.function"}},comment:"js outcalls",end:"}",name:"keyword.other"},{comment:"semver",match:"([0-9]*)(\\.)([0-9]*)(\\.)([0-9]*)",name:"constant.numeric"},{comment:"jssm language tokens",match:"graph_layout(\\s*)(:)",name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:"machine_name(\\s*)(:)",name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:"machine_version(\\s*)(:)",name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:"jssm_version(\\s*)(:)",name:"constant.language.jssmLanguage"},{comment:"transitions",match:"<->",name:"keyword.control.transition.jssmArrow.legal_legal"},{comment:"transitions",match:"<-",name:"keyword.control.transition.jssmArrow.legal_none"},{comment:"transitions",match:"->",name:"keyword.control.transition.jssmArrow.none_legal"},{comment:"transitions",match:"<=>",name:"keyword.control.transition.jssmArrow.main_main"},{comment:"transitions",match:"=>",name:"keyword.control.transition.jssmArrow.none_main"},{comment:"transitions",match:"<=",name:"keyword.control.transition.jssmArrow.main_none"},{comment:"transitions",match:"<~>",name:"keyword.control.transition.jssmArrow.forced_forced"},{comment:"transitions",match:"~>",name:"keyword.control.transition.jssmArrow.none_forced"},{comment:"transitions",match:"<~",name:"keyword.control.transition.jssmArrow.forced_none"},{comment:"transitions",match:"<-=>",name:"keyword.control.transition.jssmArrow.legal_main"},{comment:"transitions",match:"<=->",name:"keyword.control.transition.jssmArrow.main_legal"},{comment:"transitions",match:"<-~>",name:"keyword.control.transition.jssmArrow.legal_forced"},{comment:"transitions",match:"<~->",name:"keyword.control.transition.jssmArrow.forced_legal"},{comment:"transitions",match:"<=~>",name:"keyword.control.transition.jssmArrow.main_forced"},{comment:"transitions",match:"<~=>",name:"keyword.control.transition.jssmArrow.forced_main"},{comment:"edge probability annotation",match:"([0-9]+)%",name:"constant.numeric.jssmProbability"},{comment:"action annotation",match:"\\'[^']*\\'",name:"constant.character.jssmAction"},{comment:"jssm label annotation",match:"\\\"[^\"]*\\\"",name:"entity.name.tag.jssmLabel.doublequoted"},{comment:"jssm label annotation",match:"([a-zA-Z0-9_.+&()#@!?,])",name:"entity.name.tag.jssmLabel.atom"}],scopeName:"source.jssm",uuid:"2bb22b55-e811-4383-9929-ae6d0ab92aca"};
export { jssm_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var jsx_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/TypeScript-TmLanguage/blob/master/TypeScriptReact.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747",name:"jsx",scopeName:"source.js.jsx",patterns:[{include:"#directives"},{include:"#statements"},{include:"#shebang"}],repository:{shebang:{name:"comment.line.shebang.js.jsx",match:"\\A(#!).*(?=$)",captures:{"1":{name:"punctuation.definition.comment.js.jsx"}}},statements:{patterns:[{include:"#declaration"},{include:"#control-statement"},{include:"#after-operator-block-as-object-literal"},{include:"#decl-block"},{include:"#label"},{include:"#expression"},{include:"#punctuation-semicolon"},{include:"#string"},{include:"#comment"}]},declaration:{patterns:[{include:"#decorator"},{include:"#var-expr"},{include:"#function-declaration"},{include:"#class-declaration"},{include:"#interface-declaration"},{include:"#enum-declaration"},{include:"#namespace-declaration"},{include:"#type-alias-declaration"},{include:"#import-equals-declaration"},{include:"#import-declaration"},{include:"#export-declaration"},{name:"storage.modifier.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(declare|export)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},"control-statement":{patterns:[{include:"#switch-statement"},{include:"#for-loop"},{name:"keyword.control.trycatch.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(catch|finally|throw|try)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|goto)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",captures:{"1":{name:"keyword.control.loop.js.jsx"},"2":{name:"entity.name.label.js.jsx"}}},{name:"keyword.control.loop.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(break|continue|do|goto|while)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(return)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))",beginCaptures:{"0":{name:"keyword.control.flow.js.jsx"}},end:"(?=[;}]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|(?:\\bawait\\s+(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)\\b)|break|case|catch|class|const|continue|declare|do|else|enum|export|finally|function|for|goto|if|import|interface|let|module|namespace|switch|return|throw|try|type|(?:\\busing(?=\\s+(?!in\\b|of\\b(?!\\s*(?:of\\b|=)))[_$[:alpha:]])\\b)|var|while)\\b))",patterns:[{include:"#expression"}]},{name:"keyword.control.switch.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(case|default|switch)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{include:"#if-statement"},{name:"keyword.control.conditional.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(else|if)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.with.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(with)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.control.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(package)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"},{name:"keyword.other.debugger.js.jsx",match:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(debugger)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"}]},label:{patterns:[{begin:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",beginCaptures:{"1":{name:"entity.name.label.js.jsx"},"2":{name:"punctuation.separator.label.js.jsx"}},end:"(?<=\\})",patterns:[{include:"#decl-block"}]},{match:"([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)",captures:{"1":{name:"entity.name.label.js.jsx"},"2":{name:"punctuation.separator.label.js.jsx"}}}]},expression:{patterns:[{include:"#expressionWithoutIdentifiers"},{include:"#identifiers"},{include:"#expressionPunctuations"}]},expressionWithoutIdentifiers:{patterns:[{include:"#jsx"},{include:"#string"},{include:"#regex"},{include:"#comment"},{include:"#function-expression"},{include:"#class-expression"},{include:"#arrow-function"},{include:"#paren-expression-possibly-arrow"},{include:"#cast"},{include:"#ternary-expression"},{include:"#new-expr"},{include:"#instanceof-expr"},{include:"#object-literal"},{include:"#expression-operators"},{include:"#function-call"},{include:"#literal"},{include:"#support-objects"},{include:"#paren-expression"}]},expressionPunctuations:{patterns:[{include:"#punctuation-comma"},{include:"#punctuation-accessor"}]},decorator:{name:"meta.decorator.js.jsx",begin:"(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))\\@",beginCaptures:{"0":{name:"punctuation.decorator.js.jsx"}},end:"(?=\\s)",patterns:[{include:"#expression"}]},"var-expr":{patterns:[{name:"meta.var.expr.js.jsx",begin:"(?=(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(\\bexport)\\s+)?(?:(\\bdeclare)\\s+)?\\b(var|let)(Line truncated
export { jsx_tmLanguage as default };
@@ -0,0 +1,3 @@
var julia_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/JuliaEditorSupport/atom-language-julia/blob/master/grammars/julia_vscode.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/JuliaEditorSupport/atom-language-julia/commit/ccc0277c9ee9af34a0b50e5fa27a6f5191601b8c",name:"julia",scopeName:"source.julia",comment:"This grammar is used by Atom (Oniguruma), GitHub (PCRE), and VSCode (Oniguruma),\nso all regexps must be compatible with both engines.\n\nSpecs:\n- https://github.com/kkos/oniguruma/blob/master/doc/RE\n- https://www.pcre.org/current/doc/html/",patterns:[{include:"#operator"},{include:"#array"},{include:"#string"},{include:"#parentheses"},{include:"#bracket"},{include:"#function_decl"},{include:"#function_call"},{include:"#keyword"},{include:"#number"},{include:"#comment"},{include:"#type_decl"},{include:"#symbol"}],repository:{array:{patterns:[{begin:"\\[",beginCaptures:{"0":{name:"meta.bracket.julia"}},end:"(\\])((?:\\.)?'*)",endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},name:"meta.array.julia",patterns:[{match:"\\bbegin\\b",name:"constant.numeric.julia"},{match:"\\bend\\b",name:"constant.numeric.julia"},{match:"\\bfor\\b",name:"keyword.control.julia"},{include:"$self"}]}]},parentheses:{patterns:[{begin:"\\(",beginCaptures:{"0":{name:"meta.bracket.julia"}},end:"(\\))((?:\\.)?'*)",endCaptures:{"1":{name:"meta.bracket.julia"},"2":{name:"keyword.operator.transpose.julia"}},patterns:[{include:"$self"}]}]},bracket:{patterns:[{match:"(?:\\(|\\)|\\[|\\]|\\{|\\}|,|;)(?!('|(?:\\.'))*\\.?')",name:"meta.bracket.julia"}]},comment_tags:{patterns:[{match:"\\bTODO\\b",name:"keyword.other.comment-annotation.julia"},{match:"\\bFIXME\\b",name:"keyword.other.comment-annotation.julia"},{match:"\\bCHANGED\\b",name:"keyword.other.comment-annotation.julia"},{match:"\\bXXX\\b",name:"keyword.other.comment-annotation.julia"}]},comment:{patterns:[{include:"#comment_block"},{begin:"#",beginCaptures:{"0":{name:"punctuation.definition.comment.julia"}},end:"\\n",name:"comment.line.number-sign.julia",patterns:[{include:"#comment_tags"}]}]},comment_block:{patterns:[{begin:"#=",beginCaptures:{"0":{name:"punctuation.definition.comment.begin.julia"}},end:"=#",endCaptures:{"0":{name:"punctuation.definition.comment.end.julia"}},name:"comment.block.number-sign-equals.julia",patterns:[{include:"#comment_tags"},{include:"#comment_block"}]}]},function_call:{patterns:[{begin:"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()",beginCaptures:{"1":{name:"support.function.julia"},"2":{name:"support.type.julia"},"3":{name:"meta.bracket.julia"}},end:"\\)(('|(\\.'))*\\.?')?",endCaptures:{"0":{name:"meta.bracket.julia"},"1":{name:"keyword.operator.transposed-func.julia"}},patterns:[{match:"\\bfor\\b",name:"keyword.control.julia"},{include:"$self"}]}]},function_decl:{patterns:[{captures:{"1":{name:"entity.name.function.julia"},"2":{name:"support.type.julia"}},match:"((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=>]))",comment:"first group is function name\nSecond group is type parameters (e.g. {T<:Number, S})\nThen open parens\nThen a lookahead ensures that we are followed by:\n - anything (function argumnets)\n - 0 or more spaces\n - Finally an equal sign\nNegative lookahead ensures we don't have another equal sign Line truncated
export { julia_tmLanguage as default };
@@ -0,0 +1,3 @@
var kotlin_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"kotlin",scopeName:"source.kotlin",patterns:[{include:"#import"},{include:"#package"},{include:"#code"}],fileTypes:["kt","kts"],repository:{"import":{begin:"\\b(import)\\b\\s*",beginCaptures:{"1":{name:"storage.type.import.kotlin"}},end:";|$",name:"meta.import.kotlin",contentName:"entity.name.package.kotlin",patterns:[{include:"#comments"},{include:"#hard-keywords"},{match:"\\*",name:"variable.language.wildcard.kotlin"}]},"package":{begin:"\\b(package)\\b\\s*",beginCaptures:{"1":{name:"storage.type.package.kotlin"}},end:";|$",name:"meta.package.kotlin",contentName:"entity.name.package.kotlin",patterns:[{include:"#comments"}]},code:{patterns:[{include:"#comments"},{include:"#keywords"},{include:"#annotation-simple"},{include:"#annotation-site-list"},{include:"#annotation-site"},{include:"#class-declaration"},{include:"#object-declaration"},{include:"#type-alias"},{include:"#function-declaration"},{include:"#variable-declaration"},{include:"#type-constraint"},{include:"#type-annotation"},{include:"#function-call"},{include:"#method-reference"},{include:"#key"},{include:"#string"},{include:"#string-empty"},{include:"#string-multiline"},{include:"#character"},{include:"#lambda-arrow"},{include:"#operators"},{include:"#self-reference"},{include:"#decimal-literal"},{include:"#hex-literal"},{include:"#binary-literal"},{include:"#boolean-literal"},{include:"#null-literal"}]},comments:{patterns:[{include:"#comment-line"},{include:"#comment-block"},{include:"#comment-javadoc"}]},"comment-line":{begin:"//",end:"$",name:"comment.line.double-slash.kotlin"},"comment-block":{begin:"/\\*(?!\\*)",end:"\\*/",name:"comment.block.kotlin"},"comment-javadoc":{patterns:[{begin:"/\\*\\*",end:"\\*/",name:"comment.block.javadoc.kotlin",patterns:[{match:"@(author|deprecated|return|see|serial|since|version)\\b",name:"keyword.other.documentation.javadoc.kotlin"},{match:"(@param)\\s+(\\S+)",captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"variable.parameter.kotlin"}}},{match:"(@(?:exception|throws))\\s+(\\S+)",captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"entity.name.type.class.kotlin"}}},{match:"{(@link)\\s+(\\S+)?#([\\w$]+\\s*\\([^\\(\\)]*\\)).*}",captures:{"1":{name:"keyword.other.documentation.javadoc.kotlin"},"2":{name:"entity.name.type.class.kotlin"},"3":{name:"variable.parameter.kotlin"}}}]}]},keywords:{patterns:[{include:"#prefix-modifiers"},{include:"#postfix-modifiers"},{include:"#soft-keywords"},{include:"#hard-keywords"},{include:"#control-keywords"}]},"prefix-modifiers":{match:"\\b(abstract|final|enum|open|annotation|sealed|data|override|final|lateinit|private|protected|public|internal|inner|companion|noinline|crossinline|vararg|reified|tailrec|operator|infix|inline|external|const|suspend|value)\\b",name:"storage.modifier.other.kotlin"},"postfix-modifiers":{match:"\\b(where|by|get|set)\\b",name:"storage.modifier.other.kotlin"},"soft-keywords":{match:"\\b(catch|finally|field)\\b",name:"keyword.soft.kotlin"},"hard-keywords":{match:"\\b(as|typeof|is|in)\\b",name:"keyword.hard.kotlin"},"control-keywords":{match:"\\b(if|else|while|do|when|try|throw|break|continue|return|for)\\b",name:"keyword.control.kotlin"},"annotation-simple":{match:"(?<!\\w)@[\\w\\.]+\\b(?!:)",name:"entity.name.type.annotation.kotlin"},"annotation-site-list":{begin:"(?<!\\w)(@\\w+):\\s*\\[",end:"\\]",beginCaptures:{"1":{name:"entity.name.type.annotation-site.kotlin"}},patterns:[{include:"#unescaped-annotation"}]},"annotation-site":{begin:"(?<!\\w)(@\\w+):\\s*(?!\\[)",end:"$",beginCaptures:{"1":{name:"entity.name.type.annotation-site.kotlin"}},patterns:[{include:"#unescaped-annotation"}]},"unescaped-annotation":{match:"\\b[\\w\\.]+\\b",name:"entity.name.type.annotation.kotlin"},"class-declaration":{match:"\\b(class|interface)\\s+(\\b\\w+\\b|`[^`]+`)\\s*(?<GROUP><([^<>]|\\g<GROUP>)+>)?",captures:{"1":{name:"storage.type.class.kotlin"},"2":{name:"entity.name.type.class.kotlin"},"3":{patterns:[{include:"#type-parameter"}]}}},"object-declaration":{match:"\\b(object)\\s+(\\b\\w+\\b|`[^`]+`)",captures:{"1":{name:"storage.type.object.kotlin"},"2":{name:"entity.name.type.object.kotlin"}}},"type-alias":{match:"\\b(typealias)\\s+(\\b\\w+\\b|`[^`]+`)\\s*(?<GROUP><([^<>]|\\g<GROUP>)+>)?",captures:{"1":{name:"storage.type.alias.kotlin"},"2":{name:"entity.name.type.kotlin"},"3":{patterns:[{include:"#type-parameter"}]}}},"function-declaration":{match:"\\b(fun)\\b\\s*(?<GROUP><([^<>]|\\g<GROUP>)+>)?\\s*(?:(\\w+)\\.)?(\\b\\w+\\b|`[^`]+`)",captures:{"1":{name:"storage.type.function.kotlin"},"2":{patterns:[{include:"#type-parameter"}]},"4":{name:"entity.name.type.class.extension.kotlin"},"5":{name:"entity.name.function.declaration.kotlin"}}},"variable-declaration":{match:"\\b(val|var)\\b\\s*(?<GROUP><([^<>]|\\g<GROUP>)+>)?",captures:{"1":{name:"storage.type.variable.kotlin"},"2":{patterns:[{include:"#tLine truncated
export { kotlin_tmLanguage as default };
@@ -0,0 +1,3 @@
var kusto_tmLanguage = {$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",scopeName:"source.kusto",fileTypes:["csl","kusto","kql"],name:"kusto",patterns:[{match:"\\b(by|from|of|to|step|with)\\b",name:"keyword.other.operator.kusto",comment:"Tabular operators: common helper operators"},{match:"\\b(let|set|alias|declare|pattern|query_parameters|restrict|access|set)\\b",name:"keyword.control.kusto",comment:"Query statements: https://docs.microsoft.com/en-us/azure/kusto/query/statements"},{match:"\\b(and|or|has_all|has_any|matches|regex)\\b",name:"keyword.other.operator.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators"},{match:"\\b(cluster|database)(?:\\s*\\(\\s*(.+?)\\s*\\))?(?!\\w)",captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Strings"}]}},name:"meta.special.database.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/clusterfunction"},{match:"\\b(external_table|materialized_view|materialize|table|toscalar)\\b",name:"support.function.kusto",comment:"Special functions: https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tablefunction"},{match:"(?<!\\w)(!?between)\\b",name:"keyword.other.operator.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/betweenoperator"},{match:"\\b(binary_and|binary_or|binary_shift_left|binary_shift_right|binary_xor)(?:\\s*\\(\\s*(\\w+)\\s*,\\s*(\\w+)\\s*\\))?(?!\\w)",captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Numeric"}]},"3":{patterns:[{include:"#Numeric"}]}},name:"meta.scalar.bitwise.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binoperators"},{match:"\\b(binary_not|bitset_count_ones)(?:\\s*\\(\\s*(\\w+)\\s*\\))?(?!\\w)",captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#Numeric"}]}},name:"meta.scalar.bitwise.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/binary-notfunction"},{match:"(?<!\\w)(!?in~?)(?!\\w)",name:"keyword.other.operator.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/in-cs-operator"},{match:"(?<!\\w)(!?(?:contains|endswith|hasprefix|hassuffix|has|startswith)(?:_cs)?)(?!\\w)",name:"keyword.other.operator.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datatypes-string-operators"},{match:"\\b(range)\\s*\\((?:\\s*(\\w+(?:\\(.*?\\))?)\\s*,\\s*(\\w+(?:\\(.*?\\))?)\\s*,?(?:\\s*)?(\\w+(?:\\(.*?\\))?)?\\s*\\))?(?!\\w)",captures:{"1":{name:"support.function.kusto"},"2":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"3":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]},"4":{patterns:[{include:"#DateTimeTimeSpanDataTypes"},{include:"#TimeSpanLiterals"},{include:"#DateTimeTimeSpanFunctions"},{include:"#Numeric"}]}},name:"meta.scalar.function.range.kusto",comment:"https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/rangefunction"},{match:"\\b(abs|acos|around|array_concat|array_iff|array_index_of|array_length|array_reverse|array_rotate_left|array_rotate_right|array_shift_left|array_shift_right|array_slice|array_sort_asc|array_sort_desc|array_split|array_sum|asin|assert|atan2|atan|bag_has_key|bag_keys|bag_merge|bag_remove_keys|base64_decode_toarray|base64_decode_tostring|base64_decode_toguid|base64_encode_fromarray|base64_encode_tostring|base64_encode_fromguid|beta_cdf|beta_inv|beta_pdf|bin_at|bin_auto|case|ceiling|coalesce|column_ifexists|convert_angle|convert_energy|convert_force|convert_length|convert_mass|convert_speed|convert_temperature|convert_volume|cos|cot|countof|current_cluster_endpoint|current_database|current_principal_details|current_principal_is_member_of|current_principal|cursor_after|cursor_before_or_at|cursor_current|current_cursor|dcount_hll|degrees|dynamic_to_json|estimate_data_size|exp10|exp2|exp|extent_id|extent_tags|extract_all|extract_json|extractjson|extract|floor|format_bytes|format_ipv4_mask|format_ipv4|gamma|gettype|gzip_compress_to_base64_string|gzip_decompress_from_base64_string|has_any_index|has_any_ipv4_prefix|has_any_ipv4|has_ipv4_prefix|has_ipv4|hash_combine|hash_many|hash_md5|hash_sha1|hash_sha256|hash_xxhash64|hash|iff|iif|indexof_regex|indexof|ingestion_time|ipv4_compare|ipv4_is_in_range|ipv4_is_in_any_range|ipv4_is_match|ipv4_is_private|ipv4_netmask_suffix|ipv6_compare|ipv6_is_match|isascii|isempty|isfinite|isinf|isnan|isnotempty|notempty|isnotnull|notnull|isnull|isutf8|jaccard_index|log10|log2|loggamma|log|make_string|max_of|min_of|new_guid|not|bag_pack|pack_all|pack_array|pack_dictionary|pack|parse_command_line|parse_csv|parse_ipv4_mask|parse_ipv4|parse_ipv6_mask|parse_ipv6|parse_path|parse_urlquery|parse_url|parse_user_agent|parse_version|parse_xml|percentile_Line truncated
export { kusto_tmLanguage as default };
@@ -0,0 +1,3 @@
var latex_tmLanguage = {name:"latex",patterns:[{comment:"This scope identifies partially typed commands such as `\\tab`. We use this to trigger “Command Completion” only when it makes sense.",match:"(?<=\\\\[\\w@]|\\\\[\\w@]{2}|\\\\[\\w@]{3}|\\\\[\\w@]{4}|\\\\[\\w@]{5}|\\\\[\\w@]{6})\\s",name:"meta.space-after-command.latex"},{begin:"((\\\\)(?:usepackage|documentclass))\\b(?=\\[|\\{)",beginCaptures:{"1":{name:"keyword.control.preamble.latex"},"2":{name:"punctuation.definition.function.latex"}},end:"(?<=\\})",endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.preamble.latex",patterns:[{include:"#multiline-optional-arg"},{begin:"((?:\\G|(?<=\\]))\\{)",beginCaptures:{"0":{name:"punctuation.definition.arguments.begin.latex"}},end:"(\\})",endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},contentName:"support.class.latex",patterns:[{include:"$self"}]}]},{begin:"((\\\\)(?:include|input))(\\{)",beginCaptures:{"1":{name:"keyword.control.include.latex"},"2":{name:"punctuation.definition.function.latex"},"3":{name:"punctuation.definition.arguments.begin.latex"}},end:"\\}",endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.include.latex",patterns:[{include:"$self"}]},{begin:"((\\\\)((?:sub){0,2}section|(?:sub)?paragraph|chapter|part|addpart|addchap|addsec|minisec|frametitle)(?:\\*)?)((?:\\[[^\\[]*?\\]){0,2})(\\{)",beginCaptures:{"1":{name:"support.function.section.latex"},"2":{name:"punctuation.definition.function.latex"},"4":{patterns:[{include:"#optional-arg"}]},"5":{name:"punctuation.definition.arguments.begin.latex"}},comment:"this works OK with all kinds of crazy stuff as long as section is one line",contentName:"entity.name.section.latex",end:"\\}",endCaptures:{"0":{name:"punctuation.definition.arguments.end.latex"}},name:"meta.function.section.$3.latex",patterns:[{include:"text.tex#braces"},{include:"$base"}]},{name:"meta.function.environment.songs.latex",begin:"((?:\\s*)\\\\begin\\{songs\\}\\{.*\\})",end:"(\\\\end\\{songs\\}(?:\\s*\\n)?)",captures:{"1":{patterns:[{include:"#begin-env-tokenizer"}]}},contentName:"meta.data.environment.songs.latex",patterns:[{name:"meta.chord.block.latex support.class.chord.block.environment.latex",begin:"\\\\\\[",end:"\\]",patterns:[{include:"$base"}]},{name:"meta.chord.block.latex support.class.chord.block.environment.latex",match:"\\^"},{include:"$self"}]},{begin:"(^\\s*)?\\\\begin\\{(lstlisting|minted|pyglist)\\}(?=\\[|\\{)",end:"\\\\end\\{(?:minted|lstlisting|pyglist)\\}",captures:{"0":{patterns:[{include:"#begin-env-tokenizer"}]}},patterns:[{include:"#multiline-optional-arg-no-highlight"},{begin:"(?:\\G|(?<=\\]))(\\{)((?:c|cpp))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",contentName:"source.cpp.embedded.latex",patterns:[{include:"source.cpp.embedded.latex"}]},{begin:"(?:\\G|(?<=\\]))(\\{)((?:asy|asymptote))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",contentName:"source.asy",patterns:[{include:"source.asy"}]},{begin:"(?:\\G|(?<=\\]))(\\{)((?:css))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",contentName:"source.css",patterns:[{include:"source.css"}]},{begin:"(?:\\G|(?<=\\]))(\\{)((?:hs|haskell))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",contentName:"source.haskell",patterns:[{include:"source.haskell"}]},{begin:"(?:\\G|(?<=\\]))(\\{)((?:html))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",contentName:"text.html",patterns:[{include:"text.html.basic"}]},{begin:"(?:\\G|(?<=\\]))(\\{)((?:xml))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:minted|lstlisting|pyglist)\\})",contentName:"text.xml",patterns:[{include:"text.xml"}]},{begin:"(?:\\G|(?<=\\]))(\\{)((?:java))(\\})",beginCaptures:{"1":{name:"punctuation.definition.arguments.begin.latex"},"2":{name:"variable.parameter.function.latex"},"3":{name:"punctuation.definition.arguments.end.latex"}},end:"^\\s*(?=\\\\end\\{(?:mLine truncated
export { latex_tmLanguage as default };
@@ -0,0 +1,3 @@
var less_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/atom/language-less/blob/master/grammars/less.cson","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/atom/language-less/commit/87d4d59e8de6796b506b81a16e1dc1fafc99d30f",name:"less",scopeName:"source.css.less",patterns:[{include:"#strings"},{captures:{"1":{name:"entity.other.attribute-name.class.mixin.css"}},match:"(\\.[_a-zA-Z][a-zA-Z0-9_-]*(?=\\())"},{captures:{"1":{name:"entity.other.attribute-name.class.css"},"2":{name:"punctuation.definition.entity.css"},"4":{name:"variable.other.interpolation.less"}},match:"((\\.)([_a-zA-Z]|(@{[a-zA-Z0-9_-]+}))[a-zA-Z0-9_-]*)"},{captures:{"0":{name:"entity.other.attribute-name.parent-selector.css"},"1":{name:"punctuation.definition.entity.css"}},match:"(&)[a-zA-Z0-9_-]*"},{begin:"(format|local|url|attr|counter|counters)\\s*(\\()",beginCaptures:{"1":{name:"support.function.misc.css"},"2":{name:"punctuation.section.function.css"}},end:"\\)",endCaptures:{"0":{name:"punctuation.section.function.css"}},patterns:[{begin:"'",beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:"'",endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.single.css",patterns:[{match:"\\\\.",name:"constant.character.escape.css"}]},{begin:"\"",beginCaptures:{"0":{name:"punctuation.definition.string.begin.css"}},end:"\"",endCaptures:{"0":{name:"punctuation.definition.string.end.css"}},name:"string.quoted.double.css",patterns:[{match:"\\\\(\\d{1,6}|.)",name:"constant.character.escape.css"}]},{match:"[^'\") \\t]+",name:"variable.parameter.misc.css"}]},{match:"(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b(?!.*?(?<!@){)",name:"constant.other.rgb-value.css"},{captures:{"1":{name:"entity.other.attribute-name.id"},"2":{name:"punctuation.definition.entity.css"},"4":{name:"variable.other.interpolation.less"}},match:"((#)([_a-zA-Z]|(@{[a-zA-Z0-9_-]+}))[a-zA-Z0-9_-]*)",name:"meta.selector.css"},{begin:"/\\*",beginCaptures:{"0":{name:"punctuation.definition.comment.begin.css"}},end:"\\*/",endCaptures:{"0":{name:"punctuation.definition.comment.end.css"}},name:"comment.block.css"},{include:"source.css#numeric-values"},{captures:{"1":{name:"punctuation.definition.begin.entity.css"},"2":{name:"entity.other.attribute-name.attribute.css"},"3":{name:"punctuation.separator.operator.css"},"4":{name:"string.unquoted.attribute-value.css"},"5":{name:"string.quoted.double.attribute-value.css"},"6":{name:"punctuation.definition.string.begin.css"},"7":{name:"punctuation.definition.string.end.css"},"8":{name:"punctuation.definition.end.entity.css"}},match:"(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",name:"meta.attribute-selector.css"},{begin:"((@)import\\b)",beginCaptures:{"1":{name:"keyword.control.at-rule.import.less"},"2":{name:"punctuation.definition.keyword.less"}},end:";",endCaptures:{"0":{name:"punctuation.terminator.rule.css"}},name:"meta.at-rule.import.css",patterns:[{match:"(?<=\\(|,|\\s)\\b(reference|optional|once|multiple|less|inline)\\b(?=\\)|,)",name:"keyword.control.import.option.less"},{include:"#brace_round"},{include:"source.css#commas"},{include:"#strings"}]},{captures:{"1":{name:"keyword.control.at-rule.fontface.css"},"2":{name:"punctuation.definition.keyword.css"}},match:"^\\s*((@)font-face\\b)",name:"meta.at-rule.fontface.css"},{captures:{"1":{name:"keyword.control.at-rule.media.css"},"2":{name:"punctuation.definition.keyword.css"}},match:"^\\s*((@)media\\b)",name:"meta.at-rule.media.css"},{include:"source.css#media-features"},{match:"\\b(tv|tty|screen|projection|print|handheld|embossed|braille|aural|all)\\b",name:"support.constant.media-type.media.css"},{match:"\\b(portrait|landscape)\\b",name:"support.constant.property-value.media-property.media.css"},{captures:{"1":{name:"support.function.less"}},match:"(\\.[a-zA-Z0-9_-]+)\\s*(;|\\()"},{begin:"(^[ \\t]+)?(?=//)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.less"}},end:"(?!\\G)",patterns:[{begin:"//",beginCaptures:{"0":{name:"punctuation.definition.comment.less"}},end:"\\n",name:"comment.line.double-slash.less"}]},{match:"(@|\\-\\-)[\\w-]+(?=\\s*)",name:"variable.other.less",captures:{"1":{name:"punctuation.definition.variable.less"}}},{include:"#variable_interpolation"},{begin:"{",beginCaptures:{"0":{name:"punctuation.section.property-list.begin.bracket.curly.css"}},end:"}",endCaptures:{"0":{name:"punctuation.section.property-list.end.bracket.curly.css"}},name:"meta.property-list.css",patterns:[{include:"source.css#pseudo-elements"},{include:"source.css#pseudo-classes"},{include:"source.css#tag-names"},{include:"source.css#commas"},{include:"#variable_interpolation"},{include:"souLine truncated
export { less_tmLanguage as default };
@@ -0,0 +1,3 @@
var liquid_tmLanguage = {name:"liquid",scopeName:"text.html.liquid",fileTypes:["liquid"],foldingStartMarker:"(?x)\n{%\n -?\n \\s*\n (capture|case|comment|for|form|if|javascript|paginate|schema|style)\n [^(%})]+\n%}\n",foldingStopMarker:"(?x)\n{%\n \\s*\n (endcapture|endcase|endcomment|endfor|endform|endif|endjavascript|endpaginate|endschema|endstyle)\n [^(%})]+\n%}\n",injections:{"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted":{patterns:[{include:"#injection"}]}},patterns:[{include:"#core"}],repository:{core:{patterns:[{include:"#raw_tag"},{include:"#comment_block"},{include:"#style_codefence"},{include:"#stylesheet_codefence"},{include:"#json_codefence"},{include:"#javascript_codefence"},{include:"#object"},{include:"#tag"},{include:"text.html.basic"}]},injection:{patterns:[{include:"#raw_tag"},{include:"#comment_block"},{include:"#object"},{include:"#tag_injection"}]},raw_tag:{begin:"{%-?\\s*(raw)\\s*-?%}",end:"{%-?\\s*(endraw)\\s*-?%}",beginCaptures:{"1":{name:"entity.name.tag.liquid"}},endCaptures:{"1":{name:"entity.name.tag.liquid"}},name:"meta.entity.tag.raw.liquid",contentName:"string.unquoted.liquid",patterns:[{match:"(.(?!{%-?\\s*endraw\\s*-?%}))*."}]},comment_block:{begin:"{%-?\\s*comment\\s*-?%}",end:"{%-?\\s*endcomment\\s*-?%}",name:"comment.block.liquid",patterns:[{include:"#comment_block"},{match:"(.(?!{%-?\\s*(comment|endcomment)\\s*-?%}))*."}]},style_codefence:{begin:"({%-?)\\s*(style)\\s*(-?%})",end:"({%-?)\\s*(endstyle)\\s*(-?%})",beginCaptures:{"0":{name:"meta.tag.metadata.style.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},endCaptures:{"0":{name:"meta.tag.metadata.style.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.style.liquid",contentName:"meta.embedded.block.css",patterns:[{include:"source.css"}]},stylesheet_codefence:{begin:"({%-?)\\s*(stylesheet)\\s*(-?%})",end:"({%-?)\\s*(endstylesheet)\\s*(-?%})",beginCaptures:{"0":{name:"meta.tag.metadata.style.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},endCaptures:{"0":{name:"meta.tag.metadata.style.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.style.liquid",contentName:"meta.embedded.block.css",patterns:[{include:"source.css"}]},json_codefence:{begin:"({%-?)\\s*(schema)\\s*(-?%})",end:"({%-?)\\s*(endschema)\\s*(-?%})",beginCaptures:{"0":{name:"meta.tag.metadata.schema.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.schema.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},endCaptures:{"0":{name:"meta.tag.metadata.schema.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.schema.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.schema.liquid",contentName:"meta.embedded.block.json",patterns:[{include:"source.json"}]},javascript_codefence:{begin:"({%-?)\\s*(javascript)\\s*(-?%})",end:"({%-?)\\s*(endjavascript)\\s*(-?%})",beginCaptures:{"0":{name:"meta.tag.metadata.javascript.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.javascript.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},endCaptures:{"0":{name:"meta.tag.metadata.javascript.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.javascript.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.javascript.liquid",contentName:"meta.embedded.block.js",patterns:[{include:"source.js"}]},tag:{begin:"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%}){%-?",end:"-?%}",name:"meta.tag.liquid",beginCaptures:{"0":{name:"punctuation.definition.tag.begin.liquid"}},endCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},patterns:[{include:"#tag_body"}]},tag_injection:{begin:"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%}){%-?(?!-?\\s*(endstyle|endjavascript|endcomment|endraw))",end:"-?%}",name:"meta.tag.liquid",beginCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},endCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},patterns:[{include:"#tag_body"}]},tag_body:{patterns:[{include:"#tag_liquid"},{include:"#tag_assign"},{include:"#tag_comment_inline"},{include:"#tag_case"},{include:"#tag_conditional"},{include:"#tag_for"},{include:"#tag_paginate"},{include:"#tag_render"},{include:"#tag_tablerow"},{include:"#tag_expression"}]},tag_liquid:{name:"meta.entity.tag.liquid.liquid",begin:Line truncated
export { liquid_tmLanguage as default };
@@ -0,0 +1,3 @@
var lisp_tmLanguage = {comment:"",fileTypes:["lisp","cl","l","mud","el"],foldingStartMarker:"\\(",foldingStopMarker:"\\)",keyEquivalent:"^~L",name:"lisp",patterns:[{captures:{"1":{name:"punctuation.definition.comment.lisp"}},match:"(;).*$\\n?",name:"comment.line.semicolon.lisp"},{captures:{"1":{name:"storage.type.function-type.lisp"},"2":{name:"entity.name.function.lisp"}},match:"(?:\\()((?i:defgeneric|define-compiler-macro|define-method-combination|define-modify-macro|define-setf-expander|defmacro|defmethod|defsetf|defun||define-\\S+))\\s+((?:\\w|[+\\-<>/*&=.?!$%:@\\[\\]^{}~#|])+)",name:"meta.function.lisp"},{match:"(?<=\\s)(?i:&allow-other-keys|&aux|&body|&environment|&key|&optional|&rest|&whole)(?=\\s+)",name:"meta.function-parameters.lisp"},{captures:{"1":{name:"storage.type.function-type.lisp"},"2":{name:"entity.name.type.lisp"}},match:"(?:\\()((?i:deftype|defstruct|define-condition|defpackage|defclass))\\s+((?:\\w|[+\\-<>/*&=.?!$%:@\\[\\]^{}~#|])+)"},{captures:{"1":{name:"storage.type.function-type.lisp"},"2":{name:"entity.name.variable.lisp"}},match:"(?:\\()((?i:defvar|defconstant|defparameter|define-symbol-macro))\\s+((?:\\w|[+\\-<>/*&=.?!$%:@\\[\\]^{}~#|])+)"},{captures:{"1":{name:"punctuation.definition.constant.lisp"}},match:"(#)(\\w|[\\\\+-=<>'\"&#])+",name:"constant.character.lisp"},{captures:{"1":{name:"punctuation.definition.variable.lisp"},"3":{name:"punctuation.definition.variable.lisp"}},match:"(?<=^|\\s|[()])(\\*)(\\S*)(\\*)(?=$|\\s|[()])",name:"variable.other.global.lisp"},{match:"(?<=^|\\s|[()]):(\\w|[+\\-<>/*&=.?!$%:@\\[\\]^{}~#|])*",name:"keyword.constant.lisp"},{match:"(?<=\\()(?i:\\*|\\*\\*|\\*\\*\\*|\\+|\\+\\+|\\+\\+\\+|\\-|/|//|///|/=|1\\+|1\\-|<|<=|=|>|>=|abort|abs|acons|acos|acosh|add-method|adjoin|adjust-array|adjustable-array-p|allocate-instance|alpha-char-p|alphanumericp|and|append|apply|apropos|apropos-list|aref|arithmetic-error|arithmetic-error-operands|arithmetic-error-operation|array|array-dimension|array-dimension-limit|array-dimensions|array-displacement|array-element-type|array-has-fill-pointer-p|array-in-bounds-p|array-rank|array-rank-limit|array-row-major-index|array-total-size|array-total-size-limit|arrayp|ash|asin|asinh|assert|assoc|assoc-if|assoc-if-not|atan|atanh|atom|base-char|base-string|bignum|bit|bit-and|bit-andc1|bit-andc2|bit-eqv|bit-ior|bit-nand|bit-nor|bit-not|bit-orc1|bit-orc2|bit-vector|bit-vector-p|bit-xor|block|boole|boole-1|boole-2|boole-and|boole-andc1|boole-andc2|boole-c1|boole-c2|boole-clr|boole-eqv|boole-ior|boole-nand|boole-nor|boole-orc1|boole-orc2|boole-set|boole-xor|boolean|both-case-p|boundp|break|broadcast-stream|broadcast-stream-streams|built-in-class|butlast|byte|byte-position|byte-size|caaaar|caaadr|caaar|caadar|caaddr|caadr|caar|cadaar|cadadr|cadar|caddar|cadddr|caddr|cadr|call-arguments-limit|call-method|call-next-method|car|case|catch|ccase|cdaaar|cdaadr|cdaar|cdadar|cdaddr|cdadr|cdar|cddaar|cddadr|cddar|cdddar|cddddr|cdddr|cddr|cdr|ceiling|cell-error|cell-error-name|cerror|change-class|char|char-code|char-code-limit|char-downcase|char-equal|char-greaterp|char-int|char-lessp|char-name|char-not-equal|char-not-greaterp|char-not-lessp|char-upcase|char/=|char<|char<=|char=|char>|char>=|character|characterp|check-type|cis|class|class-name|class-of|clear-input|clear-output|close|clrhash|code-char|coerce|compilation-speed|compile|compile-file|compile-file-pathname|compiled-function|compiled-function-p|compiler-macro|compiler-macro-function|complement|complex|complexp|compute-applicable-methods|compute-restarts|concatenate|concatenated-stream|concatenated-stream-streams|cond|condition|conjugate|cons|consp|constantly|constantp|continue|control-error|copy-alist|copy-list|copy-pprint-dispatch|copy-readtable|copy-seq|copy-structure|copy-symbol|copy-tree|cos|cosh|count|count-if|count-if-not|ctypecase|debug|decf|declaim|declaration|declare|decode-float|decode-universal-time|defclass|defconstant|defgeneric|define-compiler-macro|define-condition|define-method-combination|define-modify-macro|define-setf-expander|define-symbol-macro|defmacro|defmethod|defpackage|defparameter|defsetf|defstruct|deftype|defun|defvar|delete|delete-duplicates|delete-file|delete-if|delete-if-not|delete-package|denominator|deposit-field|describe|describe-object|destructuring-bind|digit-char|digit-char-p|directory|directory-namestring|disassemble|division-by-zero|do|do\\*|do-all-symbols|do-external-symbols|do-symbols|documentation|dolist|dotimes|double-float|double-float-epsilon|double-float-negative-epsilon|dpb|dribble|dynamic-extent|ecase|echo-stream|echo-stream-input-stream|echo-stream-output-stream|ed|eighth|elt|encode-universal-time|end-of-file|endp|enough-namestring|ensure-directories-exist|ensure-generic-function|eq|eql|equal|equalp|error|etypecase|eval|eval-when|evenp|every|exp|export|expt|extended-char|fboundp|fceiling|fdefinition|ffloor|fifth|file-author|file-error|file-error-pathname|file-length|file-namestring|file-position|file-stream|file-string-length|file-writ Line truncated
export { lisp_tmLanguage as default };
@@ -0,0 +1,3 @@
var logo_tmLanguage = {comment:"Roughed out by Paul Bissex <http://e-scribe.com/news/>",fileTypes:[],keyEquivalent:"^~L",name:"logo",patterns:[{match:"^to [\\w.]+",name:"entity.name.function.logo"},{match:"continue|do\\.until|do\\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until",name:"keyword.control.logo"},{match:"\\b(\\.defmacro|\\.eq|\\.macro|\\.maybeoutput|\\.setbf|\\.setfirst|\\.setitem|\\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|array|arrayp|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buried|buriedp|bury|buryall|buryname|butfirst|butfirsts|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edn|edns|edpl|edpls|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|ern|erns|erpl|erpls|erps|erract|error|exp|fence|filep|fill|filter|find|first|firsts|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|list|listp|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map.se|mdarray|mditem|mdsetitem|member|memberp|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendown|pendownp|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plist|plistp|plists|pllist|po|poall|pon|pons|pop|popl|popls|pops|pos|pot|pots|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchar|readchars|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|save|savel|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setx|setxy|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|stepped|steppedp|substringp|sum|tag|test|text|textscreen|thing|throw|towards|trace|traced|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|word|wordp|wrap|writepos|writer|xcor|ycor)\\b",name:"keyword.other.logo"},{captures:{"1":{name:"punctuation.definition.variable.logo"}},match:"(\\:)(?:\\|[^|]*\\||[-\\w.]*)+",name:"variable.parameter.logo"},{match:"\"(?:\\|[^|]*\\||[-\\w.]*)+",name:"string.other.word.logo"},{begin:"(^[ \\t]+)?(?=;)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.logo"}},end:"(?!\\G)",patterns:[{begin:";",beginCaptures:{"0":{name:"punctuation.definition.comment.logo"}},end:"\\n",name:"comment.line.semicolon.logo"}]}],scopeName:"source.logo",uuid:"7613EC24-B0F9-4D01-8706-1D54098BFFD8"};
export { logo_tmLanguage as default };
+3
View File
@@ -0,0 +1,3 @@
var lua_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/sumneko/lua.tmbundle/blob/master/Syntaxes/Lua.plist","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/sumneko/lua.tmbundle/commit/3a18700941737c3ab66ac5964696f141aee61800",name:"lua",scopeName:"source.lua",patterns:[{begin:"\\b(?:(local)\\s+)?(function)\\b(?![,:])",beginCaptures:{"1":{name:"keyword.local.lua"},"2":{name:"keyword.control.lua"}},end:"(?<=[\\)\\-{}\\[\\]\"'])",name:"meta.function.lua",patterns:[{include:"#comment"},{begin:"(\\()",beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.lua"}},end:"(\\))|(?=[\\-\\.{}\\[\\]\"'])",endCaptures:{"1":{name:"punctuation.definition.parameters.finish.lua"}},name:"meta.parameter.lua",patterns:[{include:"#comment"},{match:"[a-zA-Z_][a-zA-Z0-9_]*",name:"variable.parameter.function.lua"},{match:",",name:"punctuation.separator.arguments.lua"},{begin:":",beginCaptures:{"0":{name:"punctuation.separator.arguments.lua"}},end:"(?=[\\),])",patterns:[{include:"#emmydoc.type"}]}]},{match:"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b\\s*(?=:)",name:"entity.name.class.lua"},{match:"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b",name:"entity.name.function.lua"}]},{match:"(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(\\.[0-9A-Fa-f]*)?([eE]-?\\d*)?([pP][-+]\\d+)?",name:"constant.numeric.float.hexadecimal.lua"},{match:"(?<![\\w\\d.])0[xX]\\.[0-9A-Fa-f]+([eE]-?\\d*)?([pP][-+]\\d+)?",name:"constant.numeric.float.hexadecimal.lua"},{match:"(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(?![pPeE.0-9])",name:"constant.numeric.integer.hexadecimal.lua"},{match:"(?<![\\w\\d.])\\d+(\\.\\d*)?([eE]-?\\d*)?",name:"constant.numeric.float.lua"},{match:"(?<![\\w\\d.])\\.\\d+([eE]-?\\d*)?",name:"constant.numeric.float.lua"},{match:"(?<![\\w\\d.])\\d+(?![pPeE.0-9])",name:"constant.numeric.integer.lua"},{include:"#string"},{captures:{"1":{name:"punctuation.definition.comment.lua"}},match:"\\A(#!).*$\\n?",name:"comment.line.shebang.lua"},{include:"#comment"},{captures:{"1":{name:"keyword.control.goto.lua"},"2":{name:"string.tag.lua"}},match:"\\b(goto)\\s+([a-zA-Z_][a-zA-Z0-9_]*)"},{captures:{"1":{name:"punctuation.section.embedded.begin.lua"},"2":{name:"punctuation.section.embedded.end.lua"}},match:"(::)\\s*[a-zA-Z_][a-zA-Z0-9_]*\\s*(::)",name:"string.tag.lua"},{match:"<\\s*(const|close)\\s*>",captures:{"1":{name:"string.tag.lua"}}},{match:"\\<[a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*\\>",name:"storage.type.generic.lua"},{match:"\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in)\\b",name:"keyword.control.lua"},{match:"\\b(local|global)\\b",name:"keyword.local.lua"},{match:"\\b(function)\\b(?![,:])",name:"keyword.control.lua"},{match:"(?<![^.]\\.|:)\\b(false|nil(?!:)|true|_ENV|_G|_VERSION|math\\.(pi|huge|maxinteger|mininteger)|utf8\\.charpattern|io\\.(stdin|stdout|stderr)|package\\.(config|cpath|loaded|loaders|path|preload|searchers))\\b|(?<![.])\\.{3}(?!\\.)",name:"constant.language.lua"},{match:"(?<![^.]\\.|:)\\b(self)\\b",name:"variable.language.self.lua"},{match:"(?<![^.]\\.|:)\\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\\b(?!\\s*=(?!=))",name:"support.function.lua"},{match:"(?<![^.]\\.|:)\\b(async)\\b(?!\\s*=(?!=))",name:"entity.name.tag.lua"},{match:"(?<![^.]\\.|:)\\b(coroutine\\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\\.(concat|insert|maxn|move|pack|remove|sort|unpack)|math\\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\\.(loadlib|seeall|searchpath)|debug\\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\\.(char|codes|codepoint|len|offset))\\b(?!\\s*=(?!=))",name:"support.function.library.lua"},{match:"\\b(and|or|not|\\|\\||\\&\\&|\\!)\\b",name:"keyword.operator.lua"},{match:"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*(?:[({\"']|\\[\\[))",name:"support.function.any-method.lua"},{match:"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*\\??:)",name:"entity.name.class.lua"},{match:"(?<=[^.]\\.|:)\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?!\\s*=\\s*\\b(function)\\b)",name:"entity.other.attribute.lua"},{match:"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?!\\s*=\\s*\\b(function)\\b)",name:"variable.other.lua"},{match:"\\b([a-zA-Z_][a-zLine truncated
export { lua_tmLanguage as default };
@@ -0,0 +1,3 @@
var make_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/fadeevab/make.tmbundle/blob/master/Syntaxes/Makefile.plist","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/fadeevab/make.tmbundle/commit/1d4c0b541959995db098df751ffc129da39a294b",name:"make",scopeName:"source.makefile",patterns:[{include:"#comment"},{include:"#variables"},{include:"#variable-assignment"},{include:"#directives"},{include:"#recipe"},{include:"#target"}],repository:{comma:{match:",",name:"punctuation.separator.delimeter.comma.makefile"},comment:{begin:"(^[ ]+)?((?<!\\\\)(\\\\\\\\)*)(?=#)",beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.makefile"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{"0":{name:"punctuation.definition.comment.makefile"}},end:"(?=[^\\\\])$",name:"comment.line.number-sign.makefile",patterns:[{match:"\\\\\\n",name:"constant.character.escape.continuation.makefile"}]}]},directives:{patterns:[{begin:"^[ ]*([s\\-]?include)\\b",beginCaptures:{"1":{name:"keyword.control.include.makefile"}},end:"^",patterns:[{include:"#comment"},{include:"#variables"},{match:"%",name:"constant.other.placeholder.makefile"}]},{begin:"^[ ]*(vpath)\\b",beginCaptures:{"1":{name:"keyword.control.vpath.makefile"}},end:"^",patterns:[{include:"#comment"},{include:"#variables"},{match:"%",name:"constant.other.placeholder.makefile"}]},{begin:"^\\s*(?:(override)\\s*)?(define)\\s*([^\\s]+)\\s*(=|\\?=|:=|\\+=)?(?=\\s)",captures:{"1":{name:"keyword.control.override.makefile"},"2":{name:"keyword.control.define.makefile"},"3":{name:"variable.other.makefile"},"4":{name:"punctuation.separator.key-value.makefile"}},end:"^\\s*(endef)\\b",name:"meta.scope.conditional.makefile",patterns:[{begin:"\\G(?!\\n)",end:"^",patterns:[{include:"#comment"}]},{include:"#variables"},{include:"#directives"}]},{begin:"^[ ]*(export)\\b",beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:"^",patterns:[{include:"#comment"},{include:"#variable-assignment"},{match:"[^\\s]+",name:"variable.other.makefile"}]},{begin:"^[ ]*(override|private)\\b",beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:"^",patterns:[{include:"#comment"},{include:"#variable-assignment"}]},{begin:"^[ ]*(unexport|undefine)\\b",beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:"^",patterns:[{include:"#comment"},{match:"[^\\s]+",name:"variable.other.makefile"}]},{begin:"^\\s*(ifeq|ifneq|ifdef|ifndef)(?=\\s)",captures:{"1":{name:"keyword.control.$1.makefile"}},end:"^\\s*(endif)\\b",name:"meta.scope.conditional.makefile",patterns:[{begin:"\\G",end:"^",name:"meta.scope.condition.makefile",patterns:[{include:"#comma"},{include:"#variables"},{include:"#comment"}]},{begin:"^\\s*else(?=\\s)\\s*(ifeq|ifneq|ifdef|ifndef)*(?=\\s)",beginCaptures:{"0":{name:"keyword.control.else.makefile"}},end:"^",patterns:[{include:"#comma"},{include:"#variables"},{include:"#comment"}]},{include:"$self"}]}]},target:{begin:"^(?!\\t)([^:]*)(:)(?!\\=)",beginCaptures:{"1":{patterns:[{captures:{"1":{name:"support.function.target.$1.makefile"}},match:"^\\s*(\\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX))\\s*$"},{begin:"(?=\\S)",end:"(?=\\s|$)",name:"entity.name.function.target.makefile",patterns:[{include:"#variables"},{match:"%",name:"constant.other.placeholder.makefile"}]}]},"2":{name:"punctuation.separator.key-value.makefile"}},end:"[^\\\\]$",name:"meta.scope.target.makefile",patterns:[{begin:"\\G",end:"(?=[^\\\\])$",name:"meta.scope.prerequisites.makefile",patterns:[{match:"\\\\\\n",name:"constant.character.escape.continuation.makefile"},{match:"%|\\*",name:"constant.other.placeholder.makefile"},{include:"#comment"},{include:"#variables"}]}]},recipe:{begin:"^\\t([+\\-@]*)",beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:"[^\\\\]$",name:"meta.scope.recipe.makefile",patterns:[{match:"\\\\\\n",name:"constant.character.escape.continuation.makefile"},{include:"#variables"}]},"variable-assignment":{begin:"(^[ ]*|\\G\\s*)([^\\s:#=]+)\\s*((?<![?:+!])=|\\?=|:=|\\+=|!=)",beginCaptures:{"2":{name:"variable.other.makefile",patterns:[{include:"#variables"}]},"3":{name:"punctuation.separator.key-value.makefile"}},end:"\\n",patterns:[{match:"\\\\\\n",name:"constant.character.escape.continuation.makefile"},{include:"#comment"},{include:"#variables"}]},interpolation:{patterns:[{include:"#parentheses-interpolation"},{include:"#braces-interpolation"}]},"parentheses-interpolation":{begin:"\\(",end:"\\)",patterns:[{include:"#variables"},{include:"#interpolation"}]},"braces-interpolation":{begin:"{",end:"}",patterns:[{include:"#variables"},{include:"#interpolation"}]},variables:{patterns:[{include:"#simple-variable"},{include:"#variable-parentheses"},{include:"#variable-Line truncated
export { make_tmLanguage as default };
@@ -0,0 +1,3 @@
var markdown_tmLanguage = {information_for_contributors:["This file has been converted from https://github.com/microsoft/vscode-markdown-tm-grammar/blob/master/syntaxes/markdown.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],version:"https://github.com/microsoft/vscode-markdown-tm-grammar/commit/c635942289ebf40954e69cf3637aac906465ade8",name:"markdown",scopeName:"text.html.markdown",patterns:[{include:"#frontMatter"},{include:"#block"}],repository:{block:{patterns:[{include:"#separator"},{include:"#heading"},{include:"#blockquote"},{include:"#lists"},{include:"#fenced_code_block"},{include:"#raw_block"},{include:"#link-def"},{include:"#html"},{include:"#table"},{include:"#paragraph"}]},blockquote:{begin:"(^|\\G)[ ]{0,3}(>) ?",captures:{"2":{name:"punctuation.definition.quote.begin.markdown"}},name:"markup.quote.markdown",patterns:[{include:"#block"}],"while":"(^|\\G)\\s*(>) ?"},fenced_code_block_css:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(css|css.erb)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)",contentName:"meta.embedded.block.css",patterns:[{include:"source.css"}]}]},fenced_code_block_basic:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html|htm|shtml|xhtml|inc|tmpl|tpl)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)",contentName:"meta.embedded.block.html",patterns:[{include:"text.html.basic"}]}]},fenced_code_block_ini:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)",contentName:"meta.embedded.block.ini",patterns:[{include:"source.ini"}]}]},fenced_code_block_java:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)",contentName:"meta.embedded.block.java",patterns:[{include:"source.java"}]}]},fenced_code_block_lua:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)",contentName:"meta.embedded.block.lua",patterns:[{include:"source.lua"}]}]},fenced_code_block_makefile:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(Makefile|makefile|GNUmakefile|OCamlMakefile)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)",contentName:"meta.embedded.block.makefile",patterns:[{include:"source.makefile"}]}]},fenced_code_block_perl:{begin:"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\s+|:|,|\\{|\\?)[^`]*)?$)",name:"markup.fenced_code.block.markdown",end:"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown"}},endCaptures:{"3":{name:"punctuation.definition.markdown"}},patterns:[{begin:"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*Line truncated
export { markdown_tmLanguage as default };
Loaded 100 of 65041 files, more files were not shown because too many files have changed in this diff. Show more