Comparing version 0.10.0 to 0.10.1
import { IRawThemeSetting, IRawGrammar, IRawTheme } from 'vscode-textmate'; | ||
declare type Theme = 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'light-plus' | 'material-darker' | 'material-default' | 'material-lighter' | 'material-ocean' | 'material-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'one-dark-pro' | 'poimandres' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light' | 'vitesse-dark' | 'vitesse-light'; | ||
declare type Theme = 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'light-plus' | 'material-darker' | 'material-default' | 'material-lighter' | 'material-ocean' | 'material-palenight' | '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-dark' | 'vitesse-light'; | ||
declare const themes: Theme[]; | ||
@@ -253,3 +253,3 @@ | ||
declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'berry' | 'be' | 'bibtex' | 'bicep' | 'c' | 'clojure' | 'clj' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'crystal' | 'csharp' | 'c#' | 'css' | 'cue' | 'd' | 'dart' | 'diff' | 'docker' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'fish' | 'fsharp' | 'f#' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gnuplot' | 'go' | 'graphql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hcl' | 'hlsl' | 'html' | 'ini' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'json' | 'jsonc' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'jupyter' | 'kotlin' | 'latex' | 'less' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'matlab' | 'mdx' | 'nginx' | 'nim' | 'nix' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'riscv' | 'ruby' | 'rb' | 'rust' | 'rs' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'shell' | 'bash' | 'sh' | 'zsh' | 'smalltalk' | 'solidity' | 'sparql' | 'sql' | 'ssh-config' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vim' | 'vimscript' | 'vue-html' | 'vue' | 'wasm' | 'wenyan' | '文言' | 'xml' | 'xsl' | 'yaml'; | ||
declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'berry' | 'be' | 'bibtex' | 'bicep' | 'c' | 'clojure' | 'clj' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'crystal' | 'csharp' | 'c#' | 'css' | 'cue' | 'd' | 'dart' | 'diff' | 'docker' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'fish' | 'fsharp' | 'f#' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gnuplot' | 'go' | 'graphql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hcl' | 'hlsl' | 'html' | 'ini' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'json' | 'jsonc' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'jupyter' | 'kotlin' | 'latex' | 'less' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'marko' | 'matlab' | 'mdx' | 'nginx' | 'nim' | 'nix' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'rel' | 'riscv' | 'ruby' | 'rb' | 'rust' | 'rs' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'shell' | 'bash' | 'sh' | 'zsh' | 'smalltalk' | 'solidity' | 'sparql' | 'sql' | 'ssh-config' | 'stata' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vim' | 'vimscript' | 'vue-html' | 'vue' | 'wasm' | 'wenyan' | '文言' | 'xml' | 'xsl' | 'yaml' | 'zenscript'; | ||
declare const languages: ILanguageRegistration[]; | ||
@@ -256,0 +256,0 @@ |
@@ -11,122 +11,117 @@ { | ||
{ | ||
"include": "#astro-markdown" | ||
"include": "#astro:markdown" | ||
}, | ||
{ | ||
"include": "#astro-expressions" | ||
"include": "#astro:expressions" | ||
}, | ||
{ | ||
"begin": "(<)([a-zA-Z0-9:-]++)(?=[^>]*></\\2>)", | ||
"include": "#html:comment" | ||
}, | ||
{ | ||
"include": "#html:comment:bogus" | ||
}, | ||
{ | ||
"include": "#html:doctype" | ||
}, | ||
{ | ||
"include": "#astro:fragment" | ||
}, | ||
{ | ||
"include": "#astro:lang" | ||
}, | ||
{ | ||
"include": "#astro:component" | ||
}, | ||
{ | ||
"include": "#html:element" | ||
}, | ||
{ | ||
"include": "#html:entity" | ||
}, | ||
{ | ||
"include": "#html:entity:bogus" | ||
}, | ||
{ | ||
"include": "#frontmatter" | ||
} | ||
], | ||
"repository": { | ||
"astro:attribute": { | ||
"patterns": [ | ||
{ | ||
"include": "#html:attribute" | ||
}, | ||
{ | ||
"include": "#string-double-quoted" | ||
}, | ||
{ | ||
"include": "#string-single-quoted" | ||
}, | ||
{ | ||
"include": "#string-template-literal" | ||
}, | ||
{ | ||
"include": "#astro:expressions" | ||
} | ||
] | ||
}, | ||
"astro:component": { | ||
"name": "meta.tag.component.astro", | ||
"begin": "(</?)([$A-Z_][^/?!\\s<>]*|[^/?!\\s<>.]+\\.[^/?!\\s<>]+)\\b", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
"name": "punctuation.definition.tag.begin.astro" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.html" | ||
"name": "entity.name.tag.astro support.class.component.astro" | ||
} | ||
}, | ||
"end": "(>)(<)(/)(\\2)(>)", | ||
"end": "(/?>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
}, | ||
"2": { | ||
"name": "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"4": { | ||
"name": "entity.name.tag.html" | ||
}, | ||
"5": { | ||
"name": "punctuation.definition.tag.end.html" | ||
"name": "punctuation.definition.tag.end.astro" | ||
} | ||
}, | ||
"name": "meta.tag.any.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"include": "#astro:attribute" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(<\\?)(xml)", | ||
"astro:fragment": { | ||
"name": "meta.tag.component.astro", | ||
"match": "(</?)(Fragment)?(\\s*>)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.html" | ||
"name": "punctuation.definition.tag.astro" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.xml.html" | ||
} | ||
}, | ||
"end": "(\\?>)", | ||
"name": "meta.tag.preprocessor.xml.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-generic-attribute" | ||
"name": "entity.name.tag.astro support.class.fragment.astro" | ||
}, | ||
{ | ||
"include": "#string-double-quoted" | ||
}, | ||
{ | ||
"include": "#string-single-quoted" | ||
"3": { | ||
"name": "punctuation.definition.tag.astro" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"begin": "<!--", | ||
"captures": { | ||
"astro:lang": { | ||
"begin": "(<)(?:(S(?i:cript|tyle))|((?i:script|style)))(?![\\w:-])", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.html" | ||
"name": "meta.tag.metadata.$2$3.start.html" | ||
}, | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.astro support.class.component.astro" | ||
}, | ||
"3": { | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"end": "--\\s*>", | ||
"name": "comment.block.html", | ||
"patterns": [ | ||
{ | ||
"match": "--", | ||
"name": "invalid.illegal.bad-comments-or-CDATA.html" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "<!", | ||
"captures": { | ||
"end": "(</)(?:(S(?i:cript|tyle))|((?i:script|style)))(?![\\w:-])\\s*(>)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.tag.html" | ||
} | ||
}, | ||
"end": ">", | ||
"name": "meta.tag.sgml.html", | ||
"patterns": [ | ||
{ | ||
"begin": "(?i: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" | ||
} | ||
] | ||
"name": "meta.tag.metadata.$2$3.end.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(?=[^>]*lang=(['\"])css\\1?)", | ||
"captures": { | ||
"1": { | ||
@@ -136,17 +131,16 @@ "name": "punctuation.definition.tag.begin.html" | ||
"2": { | ||
"name": "entity.name.tag.style.html" | ||
"name": "entity.name.tag.astro support.class.component.astro" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.html" | ||
"name": "entity.name.tag.html" | ||
}, | ||
"4": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(</)((?i:style))(>)(?:\\s*\\n)?", | ||
"name": "source.css.embedded.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
}, | ||
{ | ||
"begin": "(>)", | ||
"beginCaptures": { | ||
"begin": "\\G", | ||
"end": "(>)", | ||
"endCaptures": { | ||
"1": { | ||
@@ -156,38 +150,42 @@ "name": "punctuation.definition.tag.end.html" | ||
}, | ||
"end": "(?=</(?i:style))", | ||
"patterns": [ | ||
{ | ||
"include": "#astro:attribute" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:css)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.css", | ||
"patterns": [ | ||
{ | ||
"include": "source.css" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?=[^>]*lang=(['\"])sass\\1?)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.style.html" | ||
{ | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:jsx?)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.js", | ||
"patterns": [ | ||
{ | ||
"include": "source.js" | ||
} | ||
] | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.html" | ||
} | ||
}, | ||
"end": "(</)((?i:style))(>)(?:\\s*\\n)?", | ||
"name": "source.sass.embedded.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:less)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.css.css", | ||
"patterns": [ | ||
{ | ||
"include": "source.css.less" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(?=</(?i:style))", | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:sass)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.sass", | ||
"patterns": [ | ||
@@ -198,74 +196,60 @@ { | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?=[^>]*lang=(['\"])scss\\1?)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.style.html" | ||
{ | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:scss)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.css.scss", | ||
"patterns": [ | ||
{ | ||
"include": "source.css.scss" | ||
} | ||
] | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.html" | ||
} | ||
}, | ||
"end": "(</)((?i:style))(>)(?:\\s*\\n)?", | ||
"name": "source.scss.embedded.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:styl(?:us)?)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.stylus", | ||
"patterns": [ | ||
{ | ||
"include": "source.stylus" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:ts)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.ts", | ||
"patterns": [ | ||
{ | ||
"include": "source.ts" | ||
} | ||
}, | ||
"end": "(?=</(?i:style))", | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=(?i:lang)=(['\"`]?)(?i:tsx)\\1[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.tsx", | ||
"patterns": [ | ||
{ | ||
"include": "source.css.scss" | ||
"include": "source.tsx" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.style.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.html" | ||
} | ||
}, | ||
"end": "(</)((?i:style))(>)(?:\\s*\\n)?", | ||
"__DEFAULT_STYLE_NAME_START__": null, | ||
"name": "source.css.embedded.html", | ||
"__DEFAULT_STYLE_NAME_END__": null, | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"begin": "(?<=<(?i:script)[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.js", | ||
"patterns": [ | ||
{ | ||
"include": "source.js" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(?=</(?i:style))", | ||
"begin": "(?<=<(?i:style)[^>]*>)(?!\\G)", | ||
"end": "(?=</[\\w:-])", | ||
"contentName": "source.css", | ||
"patterns": [ | ||
{ | ||
"__DEFAULT_STYLE_INCLUDE_START__": null, | ||
"include": "source.css", | ||
"__DEFAULT_STYLE_INCLUDE_END__": null | ||
"include": "source.css" | ||
} | ||
@@ -276,66 +260,84 @@ ] | ||
}, | ||
{ | ||
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?=[^>]*lang=(['\"])tsx\\1?)", | ||
"beginCaptures": { | ||
"html:attribute": { | ||
"name": "meta.attribute.$1.html", | ||
"match": "\\b(@?[a-zA-Z\\-:]+)(=?)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
"name": "entity.other.attribute-name.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.script.html" | ||
"name": "punctuation.separator.key-value.html" | ||
} | ||
} | ||
}, | ||
"html:comment": { | ||
"name": "comment.block.html", | ||
"begin": "<!--", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.html punctuation.definition.comment.begin.html" | ||
} | ||
}, | ||
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?", | ||
"end": "--!?>", | ||
"endCaptures": { | ||
"2": { | ||
"name": "punctuation.definition.tag.html" | ||
"0": { | ||
"name": "punctuation.definition.comment.html punctuation.definition.comment.end.html" | ||
} | ||
} | ||
}, | ||
"html:comment:bogus": { | ||
"name": "comment.block.html", | ||
"begin": "<\\?", | ||
"captures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.html" | ||
} | ||
}, | ||
"name": "source.tsx.embedded.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
}, | ||
{ | ||
"begin": "(?<!</(?:script|SCRIPT))(>)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.script.html" | ||
} | ||
}, | ||
"end": "(</)((?i:script))", | ||
"patterns": [ | ||
{ | ||
"include": "source.tsx" | ||
} | ||
] | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.html punctuation.definition.comment.begin.html" | ||
} | ||
] | ||
}, | ||
"end": ">", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.html punctuation.definition.comment.end.html" | ||
} | ||
} | ||
}, | ||
{ | ||
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?=[^>]*lang=(['\"])ts\\1?)", | ||
"html:doctype": { | ||
"name": "meta.tag.metadata.doctype.html", | ||
"begin": "(<!)([Dd][Oo][Cc][Tt][Yy][Pp][Ee])", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
"name": "punctuation.definition.tag.html punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.script.html" | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?", | ||
"end": ">", | ||
"endCaptures": { | ||
"2": { | ||
"name": "punctuation.definition.tag.html" | ||
"0": { | ||
"name": "punctuation.definition.tag.html punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"name": "source.tsx.embedded.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"begin": "\"", | ||
"end": "\"", | ||
"name": "string.quoted.double.html" | ||
}, | ||
{ | ||
"begin": "(?<!</(?:script|SCRIPT))(>)", | ||
"captures": { | ||
"match": "[^\\s>]+", | ||
"name": "entity.other.attribute-name.html" | ||
} | ||
] | ||
}, | ||
"html:element": { | ||
"patterns": [ | ||
{ | ||
"name": "meta.tag.any.$2.start.html", | ||
"begin": "(<)([^/?!\\s<>]+)(?=\\s|/?>)", | ||
"beginCaptures": { | ||
"1": { | ||
@@ -345,38 +347,21 @@ "name": "punctuation.definition.tag.begin.html" | ||
"2": { | ||
"name": "entity.name.tag.script.html" | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"end": "(</)((?i:script))", | ||
"end": "/?>", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.tsx" | ||
"include": "#astro:attribute" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(<)((?i:script))\\b(?![^>]*/>)(?![^>]*(?i:type.?=.?text/((?!javascript|babel|ecmascript).*)))", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.script.html" | ||
} | ||
}, | ||
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?", | ||
"endCaptures": { | ||
"2": { | ||
"name": "punctuation.definition.tag.html" | ||
} | ||
}, | ||
"name": "source.tsx.embedded.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
}, | ||
{ | ||
"begin": "(?<!</(?:script|SCRIPT))(>)", | ||
"captures": { | ||
"name": "meta.tag.any.$2.end.html", | ||
"begin": "(</)([^/?!\\s<>]+)(?=\\s|/?>)", | ||
"beginCaptures": { | ||
"1": { | ||
@@ -386,28 +371,14 @@ "name": "punctuation.definition.tag.begin.html" | ||
"2": { | ||
"name": "entity.name.tag.script.html" | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"end": "(</)((?i:script))", | ||
"end": "/?>", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"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.tsx" | ||
"include": "#astro:attribute" | ||
} | ||
@@ -418,73 +389,54 @@ ] | ||
}, | ||
{ | ||
"begin": "(</?)((?i:body|head|html)\\b)", | ||
"html:entity": { | ||
"name": "constant.character.entity.html", | ||
"match": "(&)([0-9A-Za-z]+|#x[0-9A-Fa-f]+|x[0-9]+)(;)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
"name": "punctuation.definition.entity.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.structure.any.html" | ||
"3": { | ||
"name": "punctuation.definition.entity.html" | ||
} | ||
}, | ||
"end": "(>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"name": "meta.tag.structure.any.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"begin": "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)", | ||
"beginCaptures": { | ||
"html:entity:bogus": { | ||
"name": "constant.character.entity.html", | ||
"match": "(&)([0-9A-Za-z]+|#x[0-9A-Fa-f]+|x[0-9]+)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
"name": "invalid.illegal.bad-ampersand.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.block.any.html" | ||
"3": { | ||
"name": "punctuation.definition.entity.html" | ||
} | ||
}, | ||
"end": "(>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"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)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.inline.any.html" | ||
} | ||
}, | ||
"end": "((?: ?/)?>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"name": "meta.tag.inline.any.html", | ||
"astro:expressions": { | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"begin": "\\{", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.generic.begin.html" | ||
} | ||
}, | ||
"end": "\\}", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.generic.end.html" | ||
} | ||
}, | ||
"name": "expression.embbeded.astro", | ||
"contentName": "source.tsx", | ||
"patterns": [ | ||
{ | ||
"include": "source.tsx" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(</?)([A-Z][a-zA-Z0-9-\\.]*|[a-z]+\\.[a-zA-Z0-9-]+)(\\:(load|idle|visible))?", | ||
"astro:markdown": { | ||
"name": "text.html.astro.markdown", | ||
"begin": "(<)(Markdown)(>)", | ||
"beginCaptures": { | ||
@@ -495,60 +447,26 @@ "1": { | ||
"2": { | ||
"name": "entity.name.tag.component.astro" | ||
"name": "entity.name.tag.html" | ||
}, | ||
"3": { | ||
"name": "keyword.control.loading.astro" | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(/?>)", | ||
"end": "(</)(Markdown)(>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"name": "meta.tag.component.astro", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(</?)([a-zA-Z0-9:-]+)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.other.html" | ||
} | ||
}, | ||
"end": "(/?>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "entity.name.tag.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"name": "meta.tag.other.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
"include": "text.html.markdown.astro" | ||
} | ||
] | ||
}, | ||
{ | ||
"include": "#entities" | ||
}, | ||
{ | ||
"include": "#frontmatter" | ||
}, | ||
{ | ||
"match": "<>", | ||
"name": "invalid.illegal.incomplete.html" | ||
}, | ||
{ | ||
"match": "<", | ||
"name": "invalid.illegal.bad-angle-bracket.html" | ||
} | ||
], | ||
"repository": { | ||
"frontmatter": { | ||
@@ -561,6 +479,6 @@ "begin": "\\A(-{3})\\s*$", | ||
}, | ||
"contentName": "meta.embedded.block.frontmatter", | ||
"contentName": "source.ts", | ||
"patterns": [ | ||
{ | ||
"include": "source.tsx" | ||
"include": "source.ts" | ||
} | ||
@@ -575,22 +493,2 @@ ], | ||
}, | ||
"entities": { | ||
"patterns": [ | ||
{ | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.entity.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.entity.html" | ||
} | ||
}, | ||
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)", | ||
"name": "constant.character.entity.html" | ||
}, | ||
{ | ||
"match": "&", | ||
"name": "invalid.illegal.bad-ampersand.html" | ||
} | ||
] | ||
}, | ||
"string-double-quoted": { | ||
@@ -612,3 +510,6 @@ "begin": "\"", | ||
{ | ||
"include": "#entities" | ||
"include": "#html:entity" | ||
}, | ||
{ | ||
"include": "#html:entity:bogus" | ||
} | ||
@@ -633,155 +534,20 @@ ] | ||
{ | ||
"include": "#entities" | ||
} | ||
] | ||
}, | ||
"tag-generic-attribute": { | ||
"match": "\\b([a-zA-Z\\-:]+)", | ||
"name": "entity.other.attribute-name.html" | ||
}, | ||
"tag-id-attribute": { | ||
"begin": "\\b(id)\\b\\s*(=)", | ||
"captures": { | ||
"1": { | ||
"name": "entity.other.attribute-name.id.html" | ||
"include": "#html:entity" | ||
}, | ||
"2": { | ||
"name": "punctuation.separator.key-value.html" | ||
} | ||
}, | ||
"end": "(?<='|\")", | ||
"name": "meta.attribute-with-value.id.html", | ||
"patterns": [ | ||
{ | ||
"begin": "\"", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.html" | ||
} | ||
}, | ||
"contentName": "meta.toc-list.id.html", | ||
"end": "\"", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.html" | ||
} | ||
}, | ||
"name": "string.quoted.double.html", | ||
"patterns": [ | ||
{ | ||
"include": "#astro-expressions" | ||
}, | ||
{ | ||
"include": "#entities" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "'", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.html" | ||
} | ||
}, | ||
"contentName": "meta.toc-list.id.html", | ||
"end": "'", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.html" | ||
} | ||
}, | ||
"name": "string.quoted.single.html", | ||
"patterns": [ | ||
{ | ||
"include": "#astro-expressions" | ||
}, | ||
{ | ||
"include": "#entities" | ||
} | ||
] | ||
"include": "#html:entity:bogus" | ||
} | ||
] | ||
}, | ||
"tag-stuff": { | ||
"string-template-literal": { | ||
"begin": "`", | ||
"end": "`", | ||
"name": "string.template.html", | ||
"patterns": [ | ||
{ | ||
"include": "#tag-id-attribute" | ||
}, | ||
{ | ||
"include": "#tag-generic-attribute" | ||
}, | ||
{ | ||
"include": "#string-double-quoted" | ||
}, | ||
{ | ||
"include": "#string-single-quoted" | ||
}, | ||
{ | ||
"include": "#astro-load-directive" | ||
}, | ||
{ | ||
"include": "#astro-expressions" | ||
}, | ||
{ | ||
"include": "#astro-markdown" | ||
"include": "source.tsx#template-substitution-element" | ||
} | ||
] | ||
}, | ||
"astro-markdown": { | ||
"name": "text.html.astro.markdown", | ||
"begin": "(<)(Markdown)(>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(</)(Markdown)(>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "text.html.markdown.astro" | ||
} | ||
] | ||
}, | ||
"astro-expressions": { | ||
"patterns": [ | ||
{ | ||
"begin": "\\{", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.generic.begin.html" | ||
} | ||
}, | ||
"end": "\\}", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.generic.end.html" | ||
} | ||
}, | ||
"name": "expression.embbeded.astro", | ||
"patterns": [ | ||
{ | ||
"include": "source.tsx" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/45cf7d1b88b959dcb16bccf60da7ef4494c1acc9", | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/b98c2d4911652824fc990f4b26c9c30be59b78a2", | ||
"name": "bibtex", | ||
@@ -10,0 +10,0 @@ "scopeName": "text.bibtex", |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/atom/language-clojure/commit/de877502aa4a77ccdc2c7f0c9180436aea3effff", | ||
"version": "https://github.com/atom/language-clojure/commit/45bdb881501d0b8f8b707ca1d3fcc8b4b99fca03", | ||
"name": "clojure", | ||
@@ -83,31 +83,27 @@ "scopeName": "source.clojure", | ||
{ | ||
"match": "(-?\\d+/\\d+)", | ||
"match": "(##(?:Inf|-Inf|NaN))", | ||
"name": "constant.numeric.symbol.clojure" | ||
}, | ||
{ | ||
"match": "([-+]?\\d+/\\d+)", | ||
"name": "constant.numeric.ratio.clojure" | ||
}, | ||
{ | ||
"match": "(-?\\d+[rR]\\w+)", | ||
"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]+)", | ||
"match": "([-+]?0[xX][0-9a-fA-F]+N?)", | ||
"name": "constant.numeric.hexadecimal.clojure" | ||
}, | ||
{ | ||
"match": "(-?0\\d+)", | ||
"match": "([-+]?0[0-7]+N?)", | ||
"name": "constant.numeric.octal.clojure" | ||
}, | ||
{ | ||
"match": "(-?\\d+\\.\\d+([eE][+-]?\\d+)?M)", | ||
"name": "constant.numeric.bigdecimal.clojure" | ||
}, | ||
{ | ||
"match": "(-?\\d+\\.\\d+([eE][+-]?\\d+)?)", | ||
"match": "([-+]?[0-9]+(?:(\\.|(?=[eEM]))[0-9]*([eE][-+]?[0-9]+)?)M?)", | ||
"name": "constant.numeric.double.clojure" | ||
}, | ||
{ | ||
"match": "(-?\\d+N)", | ||
"name": "constant.numeric.bigint.clojure" | ||
}, | ||
{ | ||
"match": "(-?\\d+)", | ||
"match": "([-+]?\\d+N?)", | ||
"name": "constant.numeric.long.clojure" | ||
@@ -114,0 +110,0 @@ }, |
{ | ||
"_copyright": "The MIT License (MIT)\nCopyright (c) 2015-2021 spgennard\nSource: https://github.com/spgennard/vscode_cobol/blob/main/syntaxes/COBOL.tmLanguage.json", | ||
"_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", | ||
@@ -134,9 +134,9 @@ "fileTypes": [ | ||
{ | ||
"match": "((?:^|\\s+)(?i:\\$set)\\s+)((?i:constant)\\s+)([0-9a-zA-Z][a-zA-Z\\-0-9]+\\s*)([a-zA-Z\\-0-9]*)$", | ||
"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": "comment.line.set.cobol" | ||
"name": "keyword.control.directive.conditional.cobol" | ||
}, | ||
"2": { | ||
"name": "keyword.cobol" | ||
"name": "entity.name.function.preprocessor.cobol" | ||
}, | ||
@@ -147,3 +147,3 @@ "3": { | ||
"4": { | ||
"name": "meta.preprocessor.macro.cobol" | ||
"name": "keyword.control.directive.conditional.cobol" | ||
} | ||
@@ -153,17 +153,17 @@ } | ||
{ | ||
"match": "(?:^|\\s+)(?i:\\$\\s*set\\s+)(ilusing)(\\()(.*)(\\))$", | ||
"match": "((?i:\\$\\s*set\\s+)(ilusing)(\\()(.*)(\\)))", | ||
"captures": { | ||
"0": { | ||
"name": "comment.line.set.cobol" | ||
"1": { | ||
"name": "entity.name.function.preprocessor.cobol" | ||
}, | ||
"1": { | ||
"2": { | ||
"name": "storage.modifier.import.cobol" | ||
}, | ||
"2": { | ||
"3": { | ||
"name": "punctuation.begin.bracket.round.cobol" | ||
}, | ||
"3": { | ||
"4": { | ||
"name": "string.quoted.other.cobol" | ||
}, | ||
"4": { | ||
"5": { | ||
"name": "punctuation.end.bracket.round.cobol" | ||
@@ -174,17 +174,37 @@ } | ||
{ | ||
"match": "(?:^|\\s+)(?i:\\$\\s*set\\s+)(ilusing)(\")(.*)(\")$", | ||
"match": "((?i:\\$\\s*set\\s+)(ilusing)(\")(.*)(\"))", | ||
"captures": { | ||
"0": { | ||
"name": "comment.line.set.cobol" | ||
"1": { | ||
"name": "entity.name.function.preprocessor.cobol" | ||
}, | ||
"1": { | ||
"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" | ||
}, | ||
"3": { | ||
"4": { | ||
"name": "string.quoted.other.cobol" | ||
}, | ||
"4": { | ||
"5": { | ||
"name": "punctuation.definition.string.begin.cobol" | ||
@@ -195,12 +215,18 @@ } | ||
{ | ||
"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)+).*$", | ||
"match": "((?i:\\$set))\\s+(\\w+)\\s*(\\()(.*)(\\))", | ||
"captures": { | ||
"0": { | ||
"name": "comment.line.set.cobol.1" | ||
}, | ||
"1": { | ||
"name": "invalid.illegal.directive" | ||
"name": "keyword.control.directive.conditional.cobol" | ||
}, | ||
"2": { | ||
"name": "comment.line.set.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" | ||
} | ||
@@ -210,9 +236,9 @@ } | ||
{ | ||
"match": "(?:^|\\s+)(?i:\\$set\\s|>>cbl\\s)(.*)$", | ||
"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": "comment.line.set.cobol" | ||
"name": "keyword.control.directive.conditional.cobol" | ||
}, | ||
"1": { | ||
"name": "entity.other.attribute-name.set.cobol" | ||
"name": "invalid.illegal.directive" | ||
}, | ||
@@ -225,9 +251,9 @@ "2": { | ||
{ | ||
"match": "(\\$region)(.*$)", | ||
"match": "(\\$region|\\$end-region)(.*$)", | ||
"captures": { | ||
"1": { | ||
"name": "meta.preprocessor.cobol" | ||
"name": "keyword.control.directive.cobol" | ||
}, | ||
"2": { | ||
"name": "string.unquoted.preprocessor.message.cobol" | ||
"name": "entity.other.attribute-name.preprocessor.cobol" | ||
} | ||
@@ -242,6 +268,2 @@ } | ||
{ | ||
"match": "\\$(?i:if|else|then|display|xfd|end-region|end)(.*$)", | ||
"name": "meta.preprocessor.cobol" | ||
}, | ||
{ | ||
"match": ">>\\s*(?i:turn|page|listing|leap-seconds|d)\\s+.*$", | ||
@@ -251,9 +273,12 @@ "name": "invalid.illegal.meta.preprocessor.cobolit" | ||
{ | ||
"match": "(>>(\\s*)(?i:if|else|elif|end-if|define|evaluate|when|end-evaluate|display|call-convention).*)(\\*>.*)$", | ||
"match": "((((>>|\\$)[\\s]*)(?i:if|else|elif|end-if|end-evaluate|end|define|evaluate|when|display|call-convention|set))(.*$))", | ||
"captures": { | ||
"1": { | ||
"name": "meta.preprocessor.iso2002.cobol" | ||
"name": "keyword.control.directive.conditional.cobol" | ||
}, | ||
"2": { | ||
"name": "comment.line.meta.cobol" | ||
"name": "entity.name.function.preprocessor.cobol" | ||
}, | ||
"3": { | ||
"name": "entity.name.function.preprocessor.cobol" | ||
} | ||
@@ -263,6 +288,2 @@ } | ||
{ | ||
"match": ">>\\s*(?i:if|else|end-if|define|evaluate|when|end-evaluate|display|call-convention).*$", | ||
"name": "meta.preprocessor.iso2002" | ||
}, | ||
{ | ||
"match": "(\\*>)\\s+(@[0-9a-zA-Z][a-zA-Z\\-0-9]+)\\s+(.*$)", | ||
@@ -646,3 +667,3 @@ "captures": { | ||
{ | ||
"match": "(?<![-_])((?i:valuetype-id|operator-id|method-id|method|property-id|attribute-id|enum-id|iterator-id|class-id|program-id|operator-id|end\\s+program|end\\s+valuetype|extension))[\\.]*[\\s]+([a-zA-Z0-9_]*)", | ||
"match": "(?<![-_])((?i:valuetype-id|operator-id|method-id|method|property-id|attribute-id|enum-id|iterator-id|class-id|program-id|operator-id|end\\s+program|end\\s+valuetype|extension))[\\.]*[\\s]+([a-zA-Z0-9_-]*)", | ||
"captures": { | ||
@@ -778,4 +799,17 @@ "1": { | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*\\([0-9]*\\)[vV][-+sS\\*$09aAbBxXpPnNzZ/,\\.]*\\([0-9]*\\)[-|+]", | ||
"name": "storage.type.picture10.cobol" | ||
"match": "(?<![-_])((?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*)\\(([0-9]*)\\)([vV][-+sS\\*$09aAbBxXpPnNzZ/,\\.]*)\\(([0-9]*)\\)[-|+]", | ||
"captures": { | ||
"1": { | ||
"name": "storage.type.picture10.cobol" | ||
}, | ||
"2": { | ||
"name": "constant.numeric.cobol" | ||
}, | ||
"3": { | ||
"name": "storage.type.picture10.cobol" | ||
}, | ||
"4": { | ||
"name": "constant.numeric.cobol" | ||
} | ||
} | ||
}, | ||
@@ -860,7 +894,7 @@ { | ||
{ | ||
"match": "(?i:cblt-x9-compx|cblt-x8-compx|cblt-x8-comp5|cblt-x4-compx|cblt-x4-comp5|cblt-x2-compx|cblt-x2-comp5|cblt-x1-compx|cblt-x1-comp5|cblt-x1|cblt-vfile-status|cblt-vfile-handle|cblt-sx8-comp5|cblt-sx4-comp5|cblt-sx2-comp5|cblt-sx1-comp5|cblt-subsys-params|cblt-splitjoin-buf|cblt-screen-position|cblt-rtncode|cblt-request-context|cblt-reqhand-service-info|cblt-reqhand-service-funcs|cblt-reqhand-response|cblt-reqhand-funcs|cblt-prog-info-params|cblt-prog-info-arg-info|cblt-printer-properties|cblt-printer-name|cblt-printer-info|cblt-printer-default|cblt-ppointer|cblt-pointer|cblt-os-ssize|cblt-os-size|cblt-os-offset|cblt-os-info-params|cblt-os-flags|cblt-node-name|cblt-nls-msg-params|cblt-nls-msg-number-pair|cblt-nls-msg-ins-struct|cblt-nls-msg-buffer|cblt-mouse-shape|cblt-mouse-rect|cblt-mouse-pos|cblt-mouse-event|cblt-mem-validate-param|cblt-idp-exit-service-funcs|cblt-idp-exit-info|cblt-HWND|cblt-HINSTANCE|cblt-get-scr-line-draw-buffer|cblt-get-scr-graphics-buffer|cblt-generic-attr-value|cblt-generic-attr-rgb-values|cblt-generic-attr-information|cblt-file-status|cblt-fileexist-buf|cblt-exit-params|cblt-exit-info-params|cblt-cancel-proc-params|cblt-bytestream-handle|cblt-alphanum)", | ||
"match": "(?i:cblt-x1-compx-const|cblt-x2-compx-const|cblt-x4-compx-const|cblt-alphanum-const|cblt-x9-compx|cblt-x8-compx|cblt-x8-comp5|cblt-x4-compx|cblt-x4-comp5|cblt-x2-compx|cblt-x2-comp5|cblt-x1-compx|cblt-x1-comp5|cblt-x1|cblt-vfile-status|cblt-vfile-handle|cblt-sx8-comp5|cblt-sx4-comp5|cblt-sx2-comp5|cblt-sx1-comp5|cblt-subsys-params|cblt-splitjoin-buf|cblt-screen-position|cblt-rtncode|cblt-request-context|cblt-reqhand-service-info|cblt-reqhand-service-funcs|cblt-reqhand-response|cblt-reqhand-funcs|cblt-prog-info-params|cblt-prog-info-arg-info|cblt-printer-properties|cblt-printer-name|cblt-printer-info|cblt-printer-default|cblt-ppointer|cblt-pointer|cblt-os-ssize|cblt-os-size|cblt-os-offset|cblt-os-info-params|cblt-os-flags|cblt-node-name|cblt-nls-msg-params|cblt-nls-msg-number-pair|cblt-nls-msg-ins-struct|cblt-nls-msg-buffer|cblt-mouse-shape|cblt-mouse-rect|cblt-mouse-pos|cblt-mouse-event|cblt-mem-validate-param|cblt-idp-exit-service-funcs|cblt-idp-exit-info|cblt-HWND|cblt-HINSTANCE|cblt-get-scr-line-draw-buffer|cblt-get-scr-graphics-buffer|cblt-generic-attr-value|cblt-generic-attr-rgb-values|cblt-generic-attr-information|cblt-file-status|cblt-fileexist-buf|cblt-exit-params|cblt-exit-info-params|cblt-cancel-proc-params|cblt-bytestream-handle|cblt-alphanum)", | ||
"name": "support.function.cbltypes.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:computational-1|comp-1|computational-2|comp-2|computational-3|comp-3|computational-4|comp-4|computational-x|comp-x|computational-5|comp-5|computational-6|comp-6|computational-n|comp-n|packed-decimal|index|float|double|signed-short|unsigned-short|signed-int|unsigned-int|signed-long|unsigned-long|comp|computational|usage\\sis\\sdisplay|usage\\sis\\sfont|usage\\s+display|binary|mutex-pointer|data-pointer|thread-pointer|sempahore-pointer|event-pointer|program-pointer|procedure-pointer|pointer|window|subwindow|control-type|thread|menu|variant|layout-manager|occurs|typedef|any|times|display\\s+blank\\s+when|blank\\s+when|blank\\s+screen|blank|usage\\sis|is\\spartial|usage|justified|just|right|signed|trailing\\s+separate|sign|seperate)(?=\\s|\\.|\\))", | ||
"match": "(?<![-_])(?i:computational-1|comp-1|computational-2|comp-2|computational-3|comp-3|computational-4|comp-4|computational-x|comp-x|computational-5|comp-5|computational-6|comp-6|computational-n|comp-n|packed-decimal|index|float|double|signed-short|unsigned-short|signed-int|unsigned-int|signed-long|unsigned-long|comp|computational|usage\\sis\\sdisplay|usage\\sis\\sfont|usage\\s+display|binary|mutex-pointer|data-pointer|thread-pointer|sempahore-pointer|event-pointer|program-pointer|procedure-pointer|pointer|window|subwindow|control-type|thread|menu|variant|layout-manager|occurs|typedef|any|times|display\\s+blank\\s+when|blank\\s+when|blank\\s+screen|blank|usage\\sis|is\\spartial|usage|justified|just|right|signed|trailing\\s+separate|sign|seperate|sql)(?=\\s|\\.|\\))", | ||
"name": "storage.type.picture.cobol" | ||
@@ -960,2 +994,6 @@ }, | ||
{ | ||
"match": "(?<![-_])(?i:shortint1|shortint2|shortint3|shortint4|shortint5|shortint6|shortint7|longint1|longint2|longint3|longint4|longint5|longint6|bigint1|bigint2|blob-locator|clob-locator|dbclob-locator|dbclob-file|blob-file|clob-file|clob|dbclob|blob|varbinary|long-varbinary|time-record|timestamp-record|timestamp-offset-record|timestamp-offset|timestamp|rowid|xml|long-varchar)(?=\\s|\\.|\\)|\\()", | ||
"name": "storage.type.sql.picture.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:self)", | ||
@@ -962,0 +1000,0 @@ "name": "keyword.other.self.cobol" |
@@ -1489,3 +1489,3 @@ { | ||
"comment": "https://crystal-lang.org/reference/syntax_and_semantics/literals/string.html", | ||
"match": "\\\\(?:[\\\\abefnrtv#\"\\']|[0-7]{1,3}|x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|u\\{[a-fA-F0-9 ]+\\})", | ||
"match": "\\\\(?:[0-7]{1,3}|x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|u\\{[a-fA-F0-9 ]+\\}|.)", | ||
"name": "constant.character.escape.crystal" | ||
@@ -1492,0 +1492,0 @@ }, |
@@ -71,3 +71,3 @@ { | ||
"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)\\b(?![?!]))([a-zA-Z_\\-0-9\\[\\].]+)", | ||
"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": { | ||
@@ -84,3 +84,3 @@ "2": { | ||
"comment": "keywords that affect control flow", | ||
"match": "(?<!\\.)\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait)\\b(?![?!])", | ||
"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" | ||
@@ -87,0 +87,0 @@ }, |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/ionide/ionide-fsgrammar/commit/bba27391e61090035449b5c1e5c4b9d396bc4c9b", | ||
"version": "https://github.com/ionide/ionide-fsgrammar/commit/3311701c243d6ed5b080a2ee16ada51540a08c50", | ||
"name": "fsharp", | ||
@@ -530,2 +530,11 @@ "scopeName": "source.fsharp", | ||
{ | ||
"name": "comment.literate.command.fsharp", | ||
"match": "(\\(\\*{3}.*\\*{3}\\))", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "comment.block.fsharp" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "comment.block.markdown.fsharp", | ||
@@ -532,0 +541,0 @@ "begin": "^\\s*(\\(\\*\\*(?!\\)))((?!\\*\\)).)*$", |
@@ -125,3 +125,3 @@ { | ||
{ | ||
"begin": "(?<!\\#)\\{(?=.+(,|(do)|\\{|\\}|\\||(\\#.*))\\s*)", | ||
"begin": "(?<!\\#)\\{(?=.*(,|(do)|\\{|\\}|\\||(\\#.*)|\\R)\\s*)", | ||
"end": "\\s*\\}(?!\\s*\\,)(?!\\s*\\|)(?!\\#\\{.*\\})", | ||
@@ -128,0 +128,0 @@ "name": "meta.section.attributes.haml", |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/cbf818c487848f8ab1293e0ff6650aaa3bf02f98", | ||
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/0805e96e0856cab9b33a1f1025f5613cfa19189b", | ||
"name": "julia", | ||
@@ -60,8 +60,8 @@ "scopeName": "source.julia", | ||
}, | ||
"end": "(?:\\])(?:(\\.)?'*)", | ||
"end": "(\\])((?:\\.)?'*)", | ||
"endCaptures": { | ||
"0": { | ||
"1": { | ||
"name": "meta.bracket.julia" | ||
}, | ||
"1": { | ||
"2": { | ||
"name": "keyword.operator.transpose.julia" | ||
@@ -100,6 +100,9 @@ } | ||
}, | ||
"end": "\\)", | ||
"end": "(\\))((?:\\.)?'*)", | ||
"endCaptures": { | ||
"0": { | ||
"1": { | ||
"name": "meta.bracket.julia" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.transpose.julia" | ||
} | ||
@@ -292,3 +295,3 @@ }, | ||
{ | ||
"match": "((?<!(?:[[: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}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)", | ||
"match": "((?<!(?:[[: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}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)", | ||
"captures": { | ||
@@ -295,0 +298,0 @@ "1": { |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/e1bb99ae10eae344e7c72f5b17e81ff7377991c4", | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/b98c2d4911652824fc990f4b26c9c30be59b78a2", | ||
"name": "latex", | ||
@@ -469,3 +469,3 @@ "scopeName": "text.tex.latex", | ||
{ | ||
"begin": "((?:\\s*)\\\\begin\\{((?:julia|jl)code(?:\\*)?)\\}(?:\\[.*\\])?)", | ||
"begin": "((?:\\s*)\\\\begin\\{((?:julia|jl)(?:code|verbatim|block|concode|console|converbatim)(?:\\*)?)\\}(?:\\[.*\\])?)", | ||
"captures": { | ||
@@ -472,0 +472,0 @@ "1": { |
@@ -82,3 +82,3 @@ { | ||
{ | ||
"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-write-date|fill|fill-pointer|find|find-all-symbols|find-class|find-if|find-if-not|find-method|find-package|find-restart|find-symbol|finish-output|first|fixnum|flet|float|float-digits|float-precision|float-radix|float-sign|floating-point-inexact|floating-point-invalid-operation|floating-point-overflow|floating-point-underflow|floatp|floor|fmakunbound|force-output|format|formatter|fourth|fresh-line|fround|ftruncate|ftype|funcall|function|function-keywords|function-lambda-expression|functionp|gcd|generic-function|gensym|gentemp|get|get-decoded-time|get-dispatch-macro-character|get-internal-real-time|get-internal-run-time|get-macro-character|get-output-stream-string|get-properties|get-setf-expansion|get-universal-time|getf|gethash|go|graphic-char-p|handler-bind|handler-case|hash-table|hash-table-count|hash-table-p|hash-table-rehash-size|hash-table-rehash-threshold|hash-table-size|hash-table-test|host-namestring|identity|if|ignorable|ignore|ignore-errors|imagpart|import|in-package|incf|initialize-instance|inline|input-stream-p|inspect|integer|integer-decode-float|integer-length|integerp|interactive-stream-p|intern|internal-time-units-per-second|intersection|invalid-method-error|invoke-debugger|invoke-restart|invoke-restart-interactively|isqrt|keyword|keywordp|labels|lambda|lambda-list-keywords|lambda-parameters-limit|last|lcm|ldb|ldb-test|ldiff|least-negative-double-float|least-negative-long-float|least-negative-normalized-double-float|least-negative-normalized-long-float|least-negative-normalized-short-float|least-negative-normalized-single-float|least-negative-short-float|least-negative-single-float|least-positive-double-float|least-positive-long-float|least-positive-normalized-double-float|least-positive-normalized-long-float|least-positive-normalized-short-float|least-positive-normalized-single-float|least-positive-short-float|least-positive-single-float|length|let|let*|lisp-implementation-type|lisp-implementation-version|list|list*|list-all-packages|list-length|listen|listp|load|load-logical-pathname-translations|load-time-value|locally|log|logand|logandc1|logandc2|logbitp|logcount|logeqv|logical-pathname|logical-pathname-translations|logior|lognand|lognor|lognot|logorc1|logorc2|logtest|logxor|long-float|long-float-epsilon|long-float-negative-epsilon|long-site-name|loop|loop-finish|lower-case-p|machine-instance|machine-type|machine-version|macro-function|macroexpand|macroexpand-1|macrolet|make-array|make-broadcast-stream|make-concatenated-stream|make-condition|make-dispatch-macro-character|make-echo-stream|make-hash-table|make-instance|make-instances-obsolete|make-list|make-load-form|make-load-form-saving-slots|make-method|make-package|make-pathname|make-random-state|make-sequence|make-string|make-string-input-stream|make-string-output-stream|make-symbol|make-synonym-stream|make-two-way-stream|makunbound|map|map-into|mapc|mapcan|mapcar|mapcon|maphash|mapl|maplist|mask-field|max|member|member-if|member-if-not|merge|merge-pathnames|method|method-combination|method-combination-error|method-qualifiers|min|minusp|mismatch|mod|most-negative-double-float|most-negative-fixnum|most-negative-long-float|most-negative-short-float|most-negative-single-float|most-positive-double-float|most-positive-fixnum|most-positive-long-float|most-positive-short-float|most-positive-single-float|muffle-warning|multiple-value-bind|multiple-value-call|multiple-value-list|multiple-value-prog1|multiple-value-setq|multiple-values-limit|name-char|namestring|nbutlast|nconc|next-method-p|nil|nintersection|ninth|no-applicable-method|no-next-method|not|notany|notevery|notinline|nreconc|nreverse|nset-difference|nset-exclusive-or|nstring-capitalize|nstring-downcase|nstring-upcase|nsublis|nsubst|nsubst-if|nsubst-if-not|nsubstitute|nsubstitute-if|nsubstitute-if-not|nth|nth-value|nthcdr|null|number|numberp|numerator|nunion|oddp|open|open-stream-p|optimize|or|otherwise|output-stream-p|package|package-error|package-error-package|package-name|package-nicknames|package-shadowing-symbols|package-use-list|package-used-by-list|packagep|pairlis|parse-error|parse-integer|parse-namestring|pathname|pathname-device|pathname-directory|pathname-host|pathname-match-p|pathname-name|pathname-type|pathname-version|pathnamep|peek-char|phase|pi|plusp|pop|position|position-if|position-if-not|pprint|pprint-dispatch|pprint-exit-if-list-exhausted|pprint-fill|pprint-indent|pprint-linear|pprint-logical-block|pprint-newline|pprint-pop|pprint-tab|pprint-tabular|prin1|prin1-to-string|princ|princ-to-string|print|print-not-readable|print-not-readable-object|print-object|print-unreadable-object|probe-file|proclaim|prog|prog*|prog1|prog2|progn|program-error|progv|provide|psetf|psetq|push|pushnew|quote|random|random-state|random-state-p|rassoc|rassoc-if|rassoc-if-not|ratio|rational|rationalize|rationalp|read|read-byte|read-char|read-char-no-hang|read-delimited-list|read-from-string|read-line|read-preserving-whitespace|read-sequence|reader-error|readtable|readtable-case|readtablep|real|realp|realpart|reduce|reinitialize-instance|rem|remf|remhash|remove|remove-duplicates|remove-if|remove-if-not|remove-method|remprop|rename-file|rename-package|replace|require|rest|restart|restart-bind|restart-case|restart-name|return|return-from|revappend|reverse|room|rotatef|round|row-major-aref|rplaca|rplacd|safety|satisfies|sbit|scale-float|schar|search|second|sequence|serious-condition|set|set-difference|set-dispatch-macro-character|set-exclusive-or|set-macro-character|set-pprint-dispatch|set-syntax-from-char|setf|setq|seventh|shadow|shadowing-import|shared-initialize|shiftf|short-float|short-float-epsilon|short-float-negative-epsilon|short-site-name|signal|signed-byte|signum|simple-array|simple-base-string|simple-bit-vector|simple-bit-vector-p|simple-condition|simple-condition-format-arguments|simple-condition-format-control|simple-error|simple-string|simple-string-p|simple-type-error|simple-vector|simple-vector-p|simple-warning|sin|single-float|single-float-epsilon|single-float-negative-epsilon|sinh|sixth|sleep|slot-boundp|slot-exists-p|slot-makunbound|slot-missing|slot-unbound|slot-value|software-type|software-version|some|sort|space|special|special-operator-p|speed|sqrt|stable-sort|standard|standard-char|standard-char-p|standard-class|standard-generic-function|standard-method|standard-object|step|storage-condition|store-value|stream|stream-element-type|stream-error|stream-error-stream|stream-external-format|streamp|string|string-capitalize|string-downcase|string-equal|string-greaterp|string-left-trim|string-lessp|string-not-equal|string-not-greaterp|string-not-lessp|string-right-trim|string-stream|string-trim|string-upcase|string/=|string<|string<=|string=|string>|string>=|stringp|structure|structure-class|structure-object|style-warning|sublis|subseq|subsetp|subst|subst-if|subst-if-not|substitute|substitute-if|substitute-if-not|subtypep|svref|sxhash|symbol|symbol-function|symbol-macrolet|symbol-name|symbol-package|symbol-plist|symbol-value|symbolp|synonym-stream|synonym-stream-symbol|t|tagbody|tailp|tan|tanh|tenth|terpri|the|third|throw|time|trace|translate-logical-pathname|translate-pathname|tree-equal|truename|truncate|two-way-stream|two-way-stream-input-stream|two-way-stream-output-stream|type|type-error|type-error-datum|type-error-expected-type|type-of|typecase|typep|unbound-slot|unbound-slot-instance|unbound-variable|undefined-function|unexport|unintern|union|unless|unread-char|unsigned-byte|untrace|unuse-package|unwind-protect|update-instance-for-different-class|update-instance-for-redefined-class|upgraded-array-element-type|upgraded-complex-part-type|upper-case-p|use-package|use-value|user-homedir-pathname|values|values-list|variable|vector|vector-pop|vector-push|vector-push-extend|vectorp|warn|warning|when|wild-pathname-p|with-accessors|with-compilation-unit|with-condition-restarts|with-hash-table-iterator|with-input-from-string|with-open-file|with-open-stream|with-output-to-string|with-package-iterator|with-simple-restart|with-slots|with-standard-io-syntax|write|write-byte|write-char|write-line|write-sequence|write-string|write-to-string|y-or-n-p|yes-or-no-p|zerop|with-\\S+)(?=\\s+)", | ||
"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-write-date|fill|fill-pointer|find|find-all-symbols|find-class|find-if|find-if-not|find-method|find-package|find-restart|find-symbol|finish-output|first|fixnum|flet|float|float-digits|float-precision|float-radix|float-sign|floating-point-inexact|floating-point-invalid-operation|floating-point-overflow|floating-point-underflow|floatp|floor|fmakunbound|force-output|format|formatter|fourth|fresh-line|fround|ftruncate|ftype|funcall|function|function-keywords|function-lambda-expression|functionp|gcd|generic-function|gensym|gentemp|get|get-decoded-time|get-dispatch-macro-character|get-internal-real-time|get-internal-run-time|get-macro-character|get-output-stream-string|get-properties|get-setf-expansion|get-universal-time|getf|gethash|go|graphic-char-p|handler-bind|handler-case|hash-table|hash-table-count|hash-table-p|hash-table-rehash-size|hash-table-rehash-threshold|hash-table-size|hash-table-test|host-namestring|identity|if|ignorable|ignore|ignore-errors|imagpart|import|in-package|incf|initialize-instance|inline|input-stream-p|inspect|integer|integer-decode-float|integer-length|integerp|interactive-stream-p|intern|internal-time-units-per-second|intersection|invalid-method-error|invoke-debugger|invoke-restart|invoke-restart-interactively|isqrt|keyword|keywordp|labels|lambda|lambda-list-keywords|lambda-parameters-limit|last|lcm|ldb|ldb-test|ldiff|least-negative-double-float|least-negative-long-float|least-negative-normalized-double-float|least-negative-normalized-long-float|least-negative-normalized-short-float|least-negative-normalized-single-float|least-negative-short-float|least-negative-single-float|least-positive-double-float|least-positive-long-float|least-positive-normalized-double-float|least-positive-normalized-long-float|least-positive-normalized-short-float|least-positive-normalized-single-float|least-positive-short-float|least-positive-single-float|length|let|let\\*|lisp-implementation-type|lisp-implementation-version|list|list\\*|list-all-packages|list-length|listen|listp|load|load-logical-pathname-translations|load-time-value|locally|log|logand|logandc1|logandc2|logbitp|logcount|logeqv|logical-pathname|logical-pathname-translations|logior|lognand|lognor|lognot|logorc1|logorc2|logtest|logxor|long-float|long-float-epsilon|long-float-negative-epsilon|long-site-name|loop|loop-finish|lower-case-p|machine-instance|machine-type|machine-version|macro-function|macroexpand|macroexpand-1|macrolet|make-array|make-broadcast-stream|make-concatenated-stream|make-condition|make-dispatch-macro-character|make-echo-stream|make-hash-table|make-instance|make-instances-obsolete|make-list|make-load-form|make-load-form-saving-slots|make-method|make-package|make-pathname|make-random-state|make-sequence|make-string|make-string-input-stream|make-string-output-stream|make-symbol|make-synonym-stream|make-two-way-stream|makunbound|map|map-into|mapc|mapcan|mapcar|mapcon|maphash|mapl|maplist|mask-field|max|member|member-if|member-if-not|merge|merge-pathnames|method|method-combination|method-combination-error|method-qualifiers|min|minusp|mismatch|mod|most-negative-double-float|most-negative-fixnum|most-negative-long-float|most-negative-short-float|most-negative-single-float|most-positive-double-float|most-positive-fixnum|most-positive-long-float|most-positive-short-float|most-positive-single-float|muffle-warning|multiple-value-bind|multiple-value-call|multiple-value-list|multiple-value-prog1|multiple-value-setq|multiple-values-limit|name-char|namestring|nbutlast|nconc|next-method-p|nil|nintersection|ninth|no-applicable-method|no-next-method|not|notany|notevery|notinline|nreconc|nreverse|nset-difference|nset-exclusive-or|nstring-capitalize|nstring-downcase|nstring-upcase|nsublis|nsubst|nsubst-if|nsubst-if-not|nsubstitute|nsubstitute-if|nsubstitute-if-not|nth|nth-value|nthcdr|null|number|numberp|numerator|nunion|oddp|open|open-stream-p|optimize|or|otherwise|output-stream-p|package|package-error|package-error-package|package-name|package-nicknames|package-shadowing-symbols|package-use-list|package-used-by-list|packagep|pairlis|parse-error|parse-integer|parse-namestring|pathname|pathname-device|pathname-directory|pathname-host|pathname-match-p|pathname-name|pathname-type|pathname-version|pathnamep|peek-char|phase|pi|plusp|pop|position|position-if|position-if-not|pprint|pprint-dispatch|pprint-exit-if-list-exhausted|pprint-fill|pprint-indent|pprint-linear|pprint-logical-block|pprint-newline|pprint-pop|pprint-tab|pprint-tabular|prin1|prin1-to-string|princ|princ-to-string|print|print-not-readable|print-not-readable-object|print-object|print-unreadable-object|probe-file|proclaim|prog|prog\\*|prog1|prog2|progn|program-error|progv|provide|psetf|psetq|push|pushnew|quote|random|random-state|random-state-p|rassoc|rassoc-if|rassoc-if-not|ratio|rational|rationalize|rationalp|read|read-byte|read-char|read-char-no-hang|read-delimited-list|read-from-string|read-line|read-preserving-whitespace|read-sequence|reader-error|readtable|readtable-case|readtablep|real|realp|realpart|reduce|reinitialize-instance|rem|remf|remhash|remove|remove-duplicates|remove-if|remove-if-not|remove-method|remprop|rename-file|rename-package|replace|require|rest|restart|restart-bind|restart-case|restart-name|return|return-from|revappend|reverse|room|rotatef|round|row-major-aref|rplaca|rplacd|safety|satisfies|sbit|scale-float|schar|search|second|sequence|serious-condition|set|set-difference|set-dispatch-macro-character|set-exclusive-or|set-macro-character|set-pprint-dispatch|set-syntax-from-char|setf|setq|seventh|shadow|shadowing-import|shared-initialize|shiftf|short-float|short-float-epsilon|short-float-negative-epsilon|short-site-name|signal|signed-byte|signum|simple-array|simple-base-string|simple-bit-vector|simple-bit-vector-p|simple-condition|simple-condition-format-arguments|simple-condition-format-control|simple-error|simple-string|simple-string-p|simple-type-error|simple-vector|simple-vector-p|simple-warning|sin|single-float|single-float-epsilon|single-float-negative-epsilon|sinh|sixth|sleep|slot-boundp|slot-exists-p|slot-makunbound|slot-missing|slot-unbound|slot-value|software-type|software-version|some|sort|space|special|special-operator-p|speed|sqrt|stable-sort|standard|standard-char|standard-char-p|standard-class|standard-generic-function|standard-method|standard-object|step|storage-condition|store-value|stream|stream-element-type|stream-error|stream-error-stream|stream-external-format|streamp|string|string-capitalize|string-downcase|string-equal|string-greaterp|string-left-trim|string-lessp|string-not-equal|string-not-greaterp|string-not-lessp|string-right-trim|string-stream|string-trim|string-upcase|string/=|string<|string<=|string=|string>|string>=|stringp|structure|structure-class|structure-object|style-warning|sublis|subseq|subsetp|subst|subst-if|subst-if-not|substitute|substitute-if|substitute-if-not|subtypep|svref|sxhash|symbol|symbol-function|symbol-macrolet|symbol-name|symbol-package|symbol-plist|symbol-value|symbolp|synonym-stream|synonym-stream-symbol|t|tagbody|tailp|tan|tanh|tenth|terpri|the|third|throw|time|trace|translate-logical-pathname|translate-pathname|tree-equal|truename|truncate|two-way-stream|two-way-stream-input-stream|two-way-stream-output-stream|type|type-error|type-error-datum|type-error-expected-type|type-of|typecase|typep|unbound-slot|unbound-slot-instance|unbound-variable|undefined-function|unexport|unintern|union|unless|unread-char|unsigned-byte|untrace|unuse-package|unwind-protect|update-instance-for-different-class|update-instance-for-redefined-class|upgraded-array-element-type|upgraded-complex-part-type|upper-case-p|use-package|use-value|user-homedir-pathname|values|values-list|variable|vector|vector-pop|vector-push|vector-push-extend|vectorp|warn|warning|when|wild-pathname-p|with-accessors|with-compilation-unit|with-condition-restarts|with-hash-table-iterator|with-input-from-string|with-open-file|with-open-stream|with-output-to-string|with-package-iterator|with-simple-restart|with-slots|with-standard-io-syntax|write|write-byte|write-char|write-line|write-sequence|write-string|write-to-string|y-or-n-p|yes-or-no-p|zerop|with-\\S+)(?=\\s+)", | ||
"name": "keyword.control.lisp" | ||
@@ -85,0 +85,0 @@ }, |
{ | ||
"information_for_contributors": [ | ||
"This file has been converted from https://github.com/textmate/lua.tmbundle/blob/master/Syntaxes/Lua.plist", | ||
"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/textmate/lua.tmbundle/commit/8ae5641365b28f697121ba1133890e8d81f5b00e", | ||
"version": "https://github.com/sumneko/lua.tmbundle/commit/e531d0a651f1de222c6059d6e2edaca61b4dd4c4", | ||
"name": "lua", | ||
@@ -12,35 +12,66 @@ "scopeName": "source.lua", | ||
{ | ||
"begin": "\\b(?:(local)\\s+)?(function)\\s*(?:\\s+([a-zA-Z_][a-zA-Z0-9_]*(?:([\\.:])[a-zA-Z_][a-zA-Z0-9_]*)?)\\s*)?(\\()", | ||
"begin": "\\b(?:(local)\\s+)?(function)\\b(?![,:])", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.modifier.local.lua" | ||
"name": "keyword.local.lua" | ||
}, | ||
"2": { | ||
"name": "keyword.control.lua" | ||
}, | ||
"3": { | ||
"name": "entity.name.function.lua" | ||
}, | ||
"4": { | ||
"name": "punctuation.separator.parameter.lua" | ||
}, | ||
"5": { | ||
"name": "punctuation.definition.parameters.begin.lua" | ||
} | ||
}, | ||
"end": "\\)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.parameters.end.lua" | ||
} | ||
}, | ||
"end": "(?<=[\\)\\-{}\\[\\]\"'])", | ||
"name": "meta.function.lua", | ||
"patterns": [ | ||
{ | ||
"match": "[a-zA-Z_][a-zA-Z0-9_]*", | ||
"name": "variable.parameter.function.lua" | ||
"include": "#comment" | ||
}, | ||
{ | ||
"match": ",", | ||
"name": "punctuation.separator.arguments.lua" | ||
"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": "#luadoc.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" | ||
} | ||
@@ -50,6 +81,2 @@ ] | ||
{ | ||
"match": "(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(?![pPeE.0-9])", | ||
"name": "constant.numeric.integer.hexadecimal.lua" | ||
}, | ||
{ | ||
"match": "(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(\\.[0-9A-Fa-f]+)?([eE]-?\\d*)?([pP][-+]\\d+)?", | ||
@@ -59,4 +86,4 @@ "name": "constant.numeric.float.hexadecimal.lua" | ||
{ | ||
"match": "(?<![\\w\\d.])\\d+(?![pPeE.0-9])", | ||
"name": "constant.numeric.integer.lua" | ||
"match": "(?<![\\w\\d.])0[xX][0-9A-Fa-f]+(?![pPeE.0-9])", | ||
"name": "constant.numeric.integer.hexadecimal.lua" | ||
}, | ||
@@ -68,83 +95,9 @@ { | ||
{ | ||
"begin": "'", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "'", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.single.lua", | ||
"patterns": [ | ||
{ | ||
"include": "#escaped_char" | ||
} | ||
] | ||
"match": "(?<![\\w\\d.])\\d+(?![pPeE.0-9])", | ||
"name": "constant.numeric.integer.lua" | ||
}, | ||
{ | ||
"begin": "\"", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "\"", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.double.lua", | ||
"patterns": [ | ||
{ | ||
"include": "#escaped_char" | ||
} | ||
] | ||
"include": "#string" | ||
}, | ||
{ | ||
"begin": "(?<=\\.cdef)\\s*(\\[(=*)\\[)", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "string.quoted.other.multiline.lua" | ||
}, | ||
"1": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"contentName": "meta.embedded.lua", | ||
"end": "(\\]\\2\\])", | ||
"endCaptures": { | ||
"0": { | ||
"name": "string.quoted.other.multiline.lua" | ||
}, | ||
"1": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.c" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<!--)\\[(=*)\\[", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "\\]\\1\\]", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.other.multiline.lua" | ||
}, | ||
{ | ||
"captures": { | ||
@@ -159,41 +112,3 @@ "1": { | ||
{ | ||
"begin": "(^[ \\t]+)?(?=--)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.whitespace.comment.leading.lua" | ||
} | ||
}, | ||
"end": "(?!\\G)((?!^)[ \\t]+\\n)?", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.whitespace.comment.trailing.lua" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"begin": "--\\[(=*)\\[", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.begin.lua" | ||
} | ||
}, | ||
"end": "\\]\\1\\]", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.end.lua" | ||
} | ||
}, | ||
"name": "comment.block.lua" | ||
}, | ||
{ | ||
"begin": "--", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.lua" | ||
} | ||
}, | ||
"end": "\\n", | ||
"name": "comment.line.double-dash.lua" | ||
} | ||
] | ||
"include": "#comment" | ||
}, | ||
@@ -206,3 +121,3 @@ { | ||
"2": { | ||
"name": "constant.other.placeholder.lua" | ||
"name": "string.tag.lua" | ||
} | ||
@@ -215,17 +130,37 @@ }, | ||
"1": { | ||
"name": "punctuation.definition.label.begin.lua" | ||
"name": "punctuation.section.embedded.begin.lua" | ||
}, | ||
"2": { | ||
"name": "punctuation.definition.label.end.lua" | ||
"name": "punctuation.section.embedded.end.lua" | ||
} | ||
}, | ||
"match": "(::)[a-zA-Z_][a-zA-Z0-9_]*(::)", | ||
"name": "constant.other.placeholder.lua" | ||
"match": "(::)\\s*[a-zA-Z_][a-zA-Z0-9_]*\\s*(::)", | ||
"name": "string.tag.lua" | ||
}, | ||
{ | ||
"match": "\\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|function|local|in)\\b", | ||
"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(false|nil|true|_G|_VERSION|math\\.(pi|huge))\\b|(?<![.])\\.{3}(?!\\.)", | ||
"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" | ||
@@ -238,11 +173,19 @@ }, | ||
{ | ||
"match": "(?<![^.]\\.|:)\\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\\b(?=\\s*(?:[({\"']|\\[\\[))", | ||
"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(coroutine\\.(create|resume|running|status|wrap|yield)|string\\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\\.(concat|insert|maxn|remove|sort)|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?)|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\\.(cpath|loaded|loadlib|path|preload|seeall)|debug\\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|traceback))\\b(?=\\s*(?:[({\"']|\\[\\[))", | ||
"match": "(?<![^.]\\.|:)\\b(async)\\b(?!\\s*=(?!=))", | ||
"name": "entity.name.tag.lua" | ||
}, | ||
{ | ||
"match": "(?<![^.]\\.|:)\\b(unknown|any|boolean|number|integer|thread|table|string|userdata|lightuserdata|function|method)\\b(?!\\s*=(?!=))", | ||
"name": "support.type.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", | ||
"match": "\\b(and|or|not|\\|\\||\\&\\&|\\!)\\b", | ||
"name": "keyword.operator.lua" | ||
@@ -252,10 +195,14 @@ }, | ||
"match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*(?:[({\"']|\\[\\[))", | ||
"name": "support.function.any-method.lua" | ||
"name": "entity.name.function.lua" | ||
}, | ||
{ | ||
"match": "(?<=[^.]\\.|:)\\b([a-zA-Z_][a-zA-Z0-9_]*)", | ||
"match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(?=\\s*\\??:)", | ||
"name": "support.type.property-name.lua" | ||
}, | ||
{ | ||
"match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b", | ||
"name": "variable.other.lua" | ||
}, | ||
{ | ||
"match": "\\+|-|%|#|\\*|\\/|\\^|==?|~=|<=?|>=?|(?<!\\.)\\.{2}(?!\\.)", | ||
"match": "\\+|-|%|#|\\*|\\/|\\^|==?|~=|!=|<=?|>=?|(?<!\\.)\\.{2}(?!\\.)", | ||
"name": "keyword.operator.lua" | ||
@@ -268,6 +215,10 @@ } | ||
{ | ||
"match": "\\\\[abfnrtvz\\\\\"'\\n]", | ||
"match": "\\\\[abfnrtv\\\\\"'\\n]", | ||
"name": "constant.character.escape.lua" | ||
}, | ||
{ | ||
"match": "\\\\z[\\n\\t ]*", | ||
"name": "constant.character.escape.lua" | ||
}, | ||
{ | ||
"match": "\\\\\\d{1,3}", | ||
@@ -289,4 +240,573 @@ "name": "constant.character.escape.byte.lua" | ||
] | ||
}, | ||
"string": { | ||
"patterns": [ | ||
{ | ||
"begin": "'", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "'[ \\t]*|(?=\\n)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.single.lua", | ||
"patterns": [ | ||
{ | ||
"include": "#escaped_char" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "\"", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "\"[ \\t]*|(?=\\n)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.double.lua", | ||
"patterns": [ | ||
{ | ||
"include": "#escaped_char" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "`", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "`[ \\t]*|(?=\\n)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.double.lua" | ||
}, | ||
{ | ||
"begin": "(?<=\\.cdef)\\s*(\\[(=*)\\[)", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "string.quoted.other.multiline.lua" | ||
}, | ||
"1": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"contentName": "meta.embedded.lua", | ||
"end": "(\\]\\2\\])[ \\t]*", | ||
"endCaptures": { | ||
"0": { | ||
"name": "string.quoted.other.multiline.lua" | ||
}, | ||
"1": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.c" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<!--)\\[(=*)\\[", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.lua" | ||
} | ||
}, | ||
"end": "\\]\\1\\][ \\t]*", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.lua" | ||
} | ||
}, | ||
"name": "string.quoted.other.multiline.lua" | ||
} | ||
] | ||
}, | ||
"comment": { | ||
"patterns": [ | ||
{ | ||
"begin": "(^[ \\t]+)?(?=--)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.whitespace.comment.leading.lua" | ||
} | ||
}, | ||
"end": "(?!\\G)((?!^)[ \\t]+\\n)?", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.whitespace.comment.trailing.lua" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"begin": "--\\[(=*)\\[", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.begin.lua" | ||
} | ||
}, | ||
"end": "\\]\\1\\]", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.end.lua" | ||
} | ||
}, | ||
"name": "comment.block.lua" | ||
}, | ||
{ | ||
"begin": "----", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.lua" | ||
} | ||
}, | ||
"end": "\\n", | ||
"name": "comment.line.double-dash.lua" | ||
}, | ||
{ | ||
"begin": "---", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.lua" | ||
} | ||
}, | ||
"end": "\\n", | ||
"name": "comment.line.double-dash.doc.lua", | ||
"patterns": [ | ||
{ | ||
"include": "#luadoc" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "--", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.lua" | ||
} | ||
}, | ||
"end": "\\n", | ||
"name": "comment.line.double-dash.lua" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "\\/\\*", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.begin.lua" | ||
} | ||
}, | ||
"end": "\\*\\/", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.end.lua" | ||
} | ||
}, | ||
"name": "comment.block.lua" | ||
} | ||
] | ||
}, | ||
"luadoc": { | ||
"patterns": [ | ||
{ | ||
"begin": "(?<=---\\s*)@class", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"match": "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*)", | ||
"name": "support.class.lua" | ||
}, | ||
{ | ||
"match": ":|,", | ||
"name": "keyword.operator.lua" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@type", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@alias", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"begin": "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*)", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "variable.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@param", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"begin": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b(\\??)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "entity.name.variable.lua" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@return", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"match": "\\?", | ||
"name": "keyword.operator.lua" | ||
}, | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@field", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"begin": "(\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b|(\\[))(\\??)", | ||
"beginCaptures": { | ||
"2": { | ||
"name": "entity.name.variable.lua" | ||
}, | ||
"3": { | ||
"name": "keyword.operator.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#string" | ||
}, | ||
{ | ||
"include": "#luadoc.type" | ||
}, | ||
{ | ||
"match": "\\]", | ||
"name": "keyword.operator.lua" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@generic", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"begin": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.generic.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)|(,)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "keyword.operator.lua" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"match": ":", | ||
"name": "keyword.operator.lua" | ||
}, | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@vararg", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@overload", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#luadoc.type" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@deprecated", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)" | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@meta", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)" | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@version", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"match": "\\b(5\\.1|5\\.2|5\\.3|5\\.4|JIT)\\b", | ||
"name": "support.class.lua" | ||
}, | ||
{ | ||
"match": ",|\\>|\\<", | ||
"name": "keyword.operator.lua" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@see", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"match": "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*)", | ||
"name": "support.class.lua" | ||
}, | ||
{ | ||
"match": "#", | ||
"name": "keyword.operator.lua" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@diagnostic", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"begin": "([a-zA-Z_\\-0-9]+)[ \\t]*(:)?", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.other.unit" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.unit" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"match": "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\-]*)", | ||
"name": "support.class.lua" | ||
}, | ||
{ | ||
"match": ",", | ||
"name": "keyword.operator.lua" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=---\\s*)@module", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=\\n)", | ||
"patterns": [ | ||
{ | ||
"include": "#string" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "(?<=---\\s*)@(async|nodiscard)", | ||
"name": "storage.type.annotation.lua" | ||
}, | ||
{ | ||
"begin": "(?<=---)\\|\\s*[\\>\\+]?", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "storage.type.annotation.lua" | ||
} | ||
}, | ||
"end": "(?=[\\n#])", | ||
"patterns": [ | ||
{ | ||
"include": "#string" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"luadoc.type": { | ||
"patterns": [ | ||
{ | ||
"begin": "\\bfun\\b", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "keyword.control.lua" | ||
} | ||
}, | ||
"end": "(?=\\s)", | ||
"patterns": [ | ||
{ | ||
"match": "[\\(\\),:\\?][ \\t]*", | ||
"name": "keyword.operator.lua" | ||
}, | ||
{ | ||
"match": "([a-zA-Z_][a-zA-Z0-9_\\.\\*\\[\\]\\<\\>\\,\\-]*)(?<!,)[ \\t]*(?=\\??:)", | ||
"name": "entity.name.variable.lua" | ||
}, | ||
{ | ||
"include": "#luadoc.type" | ||
}, | ||
{ | ||
"include": "#string" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\<[a-zA-Z_\\*][a-zA-Z0-9_\\.\\*\\-]*\\>", | ||
"name": "storage.type.generic.lua" | ||
}, | ||
{ | ||
"match": "\\basync\\b", | ||
"name": "entity.name.tag.lua" | ||
}, | ||
{ | ||
"match": "[\\{\\}\\:\\,\\?\\|\\`][ \\t]*", | ||
"name": "keyword.operator.lua" | ||
}, | ||
{ | ||
"begin": "(?=[a-zA-Z_\\.\\*\"'\\[])", | ||
"end": "(?=[\\s\\)\\,\\?\\:\\}\\|])", | ||
"patterns": [ | ||
{ | ||
"match": "([a-zA-Z0-9_\\.\\*\\[\\]\\<\\>\\,\\-]+)(?<!,)[ \\t]*", | ||
"name": "support.type.lua" | ||
}, | ||
{ | ||
"match": "(\\.\\.\\.)[ \\t]*", | ||
"name": "constant.language.lua" | ||
}, | ||
{ | ||
"include": "#string" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
@@ -7,3 +7,3 @@ { | ||
{ | ||
"match": "\\b(?i:(absolute|abstract|all|and_then|array|as|asm|attribute|begin|bindable|case|class|const|contains|default|div|else|end|except|export|exports|external|far|file|finalization|finally|forward|generic|goto|if|implements|import|in|index|inherited|initialization|interrupt|is|label|library|mod|module|name|near|not|object|of|on|only|operator|or_else|otherwise|override|package|packed|pow|private|program|protected|public|published|interface|implementation|qualified|read|record|resident|requires|resourcestring|restricted|segment|set|shl|shr|specialize|stored|strict|then|threadvar|to|try|type|unit|uses|var|view|virtual|dynamic|overload|reintroduce|with|write|xor))\\b", | ||
"match": "\\b(?i:(absolute|abstract|all|and_then|array|as|asm|attribute|begin|bindable|case|class|const|contains|default|div|else|end|except|export|exports|external|far|file|finalization|finally|forward|generic|goto|if|implements|import|in|index|inherited|initialization|interrupt|is|label|library|mod|module|name|near|not|object|of|on|only|operator|or_else|otherwise|out|override|package|packed|pow|private|program|protected|public|published|interface|implementation|qualified|read|record|resident|requires|resourcestring|restricted|segment|set|shl|shr|specialize|stored|strict|then|threadvar|to|try|type|unit|uses|var|view|virtual|dynamic|overload|reintroduce|with|write|xor))\\b", | ||
"name": "keyword.pascal" | ||
@@ -44,3 +44,3 @@ }, | ||
{ | ||
"match": "\\b(?i:(break|continue|exit|abort|while|do|for|raise|repeat|until))\\b", | ||
"match": "\\b(?i:(break|continue|exit|abort|while|do|downto|for|raise|repeat|until))\\b", | ||
"name": "keyword.control.pascal" | ||
@@ -47,0 +47,0 @@ }, |
@@ -7,6 +7,16 @@ { | ||
], | ||
"version": "https://github.com/atom/language-php/commit/2bf736a814e1a58aa63470c1a29590bd02e924e7", | ||
"version": "https://github.com/atom/language-php/commit/ff64523c94c014d68f5dec189b05557649c5872a", | ||
"name": "php-html", | ||
"scopeName": "text.html.php", | ||
"injections": { | ||
"L:meta.embedded.php.blade": { | ||
"patterns": [ | ||
{ | ||
"include": "text.html.basic" | ||
}, | ||
{ | ||
"include": "text.html.php.blade#blade" | ||
} | ||
] | ||
}, | ||
"text.html.php - (meta.embedded | meta.tag), L:((text.html.php meta.tag) - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.js - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.css - (meta.embedded.block.php | meta.embedded.line.php))": { | ||
@@ -13,0 +23,0 @@ "patterns": [ |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/Ikuyadeu/vscode-R/commit/f99fdd79533b62b0b6eb6142190963349aa621d7", | ||
"version": "https://github.com/Ikuyadeu/vscode-R/commit/d968decca543045fb3488d62a27ff2ecfa3c40c4", | ||
"name": "r", | ||
@@ -145,2 +145,13 @@ "scopeName": "source.r", | ||
{ | ||
"captures": { | ||
"1": { | ||
"name": "variable.parameter.r" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.assignment.r" | ||
} | ||
}, | ||
"match": "(`[^`]+`)\\s*(=)(?=[^=])" | ||
}, | ||
{ | ||
"match": "\\b([\\d_][[:alnum:]._]+)\\b", | ||
@@ -156,2 +167,6 @@ "name": "invalid.illegal.variable.other.r" | ||
"name": "variable.other.r" | ||
}, | ||
{ | ||
"match": "(`[^`]+`)", | ||
"name": "variable.other.r" | ||
} | ||
@@ -211,30 +226,99 @@ ] | ||
{ | ||
"begin": "\"", | ||
"begin": "[rR]\"(-*)\\[", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.r" | ||
"name": "punctuation.definition.string.raw.begin.r" | ||
} | ||
}, | ||
"end": "\"", | ||
"end": "\\]\\1\"", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.r" | ||
"name": "punctuation.definition.string.raw.end.r" | ||
} | ||
}, | ||
"name": "string.quoted.double.r", | ||
"patterns": [ | ||
{ | ||
"match": "\\\\.", | ||
"name": "constant.character.escape.r" | ||
"name": "string.quoted.double.raw.r" | ||
}, | ||
{ | ||
"begin": "[rR]'(-*)\\[", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.begin.r" | ||
} | ||
] | ||
}, | ||
"end": "\\]\\1'", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.end.r" | ||
} | ||
}, | ||
"name": "string.quoted.single.raw.r" | ||
}, | ||
{ | ||
"begin": "'", | ||
"begin": "[rR]\"(-*)\\{", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.begin.r" | ||
} | ||
}, | ||
"end": "\\}\\1\"", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.end.r" | ||
} | ||
}, | ||
"name": "string.quoted.double.raw.r" | ||
}, | ||
{ | ||
"begin": "[rR]'(-*)\\{", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.begin.r" | ||
} | ||
}, | ||
"end": "\\}\\1'", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.end.r" | ||
} | ||
}, | ||
"name": "string.quoted.single.raw.r" | ||
}, | ||
{ | ||
"begin": "[rR]\"(-*)\\(", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.begin.r" | ||
} | ||
}, | ||
"end": "\\)\\1\"", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.end.r" | ||
} | ||
}, | ||
"name": "string.quoted.double.raw.r" | ||
}, | ||
{ | ||
"begin": "[rR]'(-*)\\(", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.begin.r" | ||
} | ||
}, | ||
"end": "\\)\\1'", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.raw.end.r" | ||
} | ||
}, | ||
"name": "string.quoted.single.raw.r" | ||
}, | ||
{ | ||
"begin": "\"", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.r" | ||
} | ||
}, | ||
"end": "'", | ||
"end": "\"", | ||
"endCaptures": { | ||
@@ -245,3 +329,3 @@ "0": { | ||
}, | ||
"name": "string.quoted.single.r", | ||
"name": "string.quoted.double.r", | ||
"patterns": [ | ||
@@ -255,3 +339,3 @@ { | ||
{ | ||
"begin": "`", | ||
"begin": "'", | ||
"beginCaptures": { | ||
@@ -262,3 +346,3 @@ "0": { | ||
}, | ||
"end": "`", | ||
"end": "'", | ||
"endCaptures": { | ||
@@ -269,7 +353,7 @@ "0": { | ||
}, | ||
"name": "variable.parameter.r", | ||
"name": "string.quoted.single.r", | ||
"patterns": [ | ||
{ | ||
"match": "\\\\.", | ||
"name": "variable.parameter.r" | ||
"name": "constant.character.escape.r" | ||
} | ||
@@ -411,3 +495,3 @@ ] | ||
"match": "(?:[a-zA-Z._][\\w.]*|`[^`]+`)", | ||
"name": "variable.parameter.r" | ||
"name": "variable.other.r" | ||
}, | ||
@@ -463,3 +547,3 @@ { | ||
"match": "(?:[a-zA-Z._][\\w.]*|`[^`]+`)(?=\\s[^=])", | ||
"name": "variable.parameter.r" | ||
"name": "variable.other.r" | ||
}, | ||
@@ -480,8 +564,2 @@ { | ||
{ | ||
"end": "\\)", | ||
"endCaptures": { | ||
"0": "punctuation.section.parens.end.r" | ||
} | ||
}, | ||
{ | ||
"include": "source.r" | ||
@@ -488,0 +566,0 @@ } |
@@ -121,6 +121,6 @@ { | ||
{ | ||
"include": "#balanced-open-close-tag-body" | ||
"include": "#wellformed-html" | ||
}, | ||
{ | ||
"include": "#wellformed-html" | ||
"include": "$self" | ||
} | ||
@@ -171,3 +171,3 @@ ], | ||
{ | ||
"include": "#balanced-open-close-tag" | ||
"include": "#non-void-tag" | ||
} | ||
@@ -178,3 +178,3 @@ ] | ||
"name": "meta.tag.structure.$3.void.html", | ||
"begin": "(?i)(<)(!?)(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)(?=\\s|/?>)", | ||
"begin": "(?i)(<)(!)?(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)(?=\\s|/?>)", | ||
"beginCaptures": { | ||
@@ -203,20 +203,6 @@ "1": { | ||
}, | ||
"balanced-open-close-tag": { | ||
"begin": "(?=<([^/\\s>]+))", | ||
"patterns": [ | ||
{ | ||
"include": "#balanced-open-close-tag-start" | ||
}, | ||
{ | ||
"include": "#balanced-open-close-tag-end" | ||
}, | ||
{ | ||
"include": "#balanced-open-close-tag-body" | ||
} | ||
], | ||
"end": "(?<=(</\\1>))|(/>)" | ||
}, | ||
"balanced-open-close-tag-start": { | ||
"begin": "(<)(?!(/))([^/\\s>]+)", | ||
"beginCaptures": { | ||
"non-void-tag": { | ||
"begin": "(?=<(!)?([^/\\s>]+)(\\s|/?>))", | ||
"end": "(</)(\\2)\\s*(>)|(/>)", | ||
"endCaptures": { | ||
"1": { | ||
@@ -226,61 +212,54 @@ "name": "punctuation.definition.tag.begin.html" | ||
"2": { | ||
"name": "constant.character.escape.razor.tagHelperOptOut" | ||
"name": "entity.name.tag.html" | ||
}, | ||
"3": { | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#balanced-open-close-tag-attributes" | ||
} | ||
], | ||
"end": "/?>", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
} | ||
}, | ||
"balanced-open-close-tag-attributes": { | ||
"begin": "(?=\\s)", | ||
"patterns": [ | ||
{ | ||
"include": "#razor-control-structures" | ||
}, | ||
{ | ||
"include": "text.html.basic#attribute" | ||
"4": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
], | ||
"end": "(?=/?>)" | ||
}, | ||
"balanced-open-close-tag-body": { | ||
"begin": "(?<=([^/])>)", | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#wellformed-html" | ||
"begin": "(<)(!)?([^/\\s>]+)(?=\\s|/?>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "constant.character.escape.razor.tagHelperOptOut" | ||
}, | ||
"3": { | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"end": "(?=/?>)", | ||
"patterns": [ | ||
{ | ||
"include": "#razor-control-structures" | ||
}, | ||
{ | ||
"include": "text.html.basic#attribute" | ||
} | ||
] | ||
}, | ||
{ | ||
"include": "$self" | ||
"begin": ">", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(?=</)", | ||
"patterns": [ | ||
{ | ||
"include": "#wellformed-html" | ||
}, | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
} | ||
], | ||
"end": "(?=\\</)" | ||
] | ||
}, | ||
"balanced-open-close-tag-end": { | ||
"match": "(</)(!?)([^/\\s>]+)\\s*(>)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "constant.character.escape.razor.tagHelperOptOut" | ||
}, | ||
"3": { | ||
"name": "entity.name.tag.html" | ||
}, | ||
"4": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
} | ||
}, | ||
"explicit-razor-expression": { | ||
@@ -287,0 +266,0 @@ "name": "meta.expression.explicit.cshtml", |
@@ -975,2 +975,5 @@ { | ||
"include": "#modifier-call" | ||
}, | ||
{ | ||
"include": "#punctuation" | ||
} | ||
@@ -1097,6 +1100,9 @@ ] | ||
"function-call": { | ||
"match": "\\b([A-Za-z_]\\w*)\\s*\\(", | ||
"match": "\\b([A-Za-z_]\\w*)\\s*(\\()", | ||
"captures": { | ||
"1": { | ||
"name": "entity.name.function" | ||
}, | ||
"2": { | ||
"name": "punctuation.parameters.begin" | ||
} | ||
@@ -1103,0 +1109,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
"injections": { | ||
"L:meta.script.svelte meta.lang.javascript - (meta source)": { | ||
"L:(meta.script.svelte | meta.style.svelte) (meta.lang.js | meta.lang.javascript) - (meta source)": { | ||
"patterns": [ | ||
@@ -23,3 +23,3 @@ { | ||
}, | ||
"L:meta.script.svelte (meta.lang.ts | meta.lang.typescript) - (meta source)": { | ||
"L:(meta.script.svelte | meta.style.svelte) (meta.lang.ts | meta.lang.typescript) - (meta source)": { | ||
"patterns": [ | ||
@@ -39,3 +39,3 @@ { | ||
}, | ||
"L:meta.script.svelte meta.lang.coffee - (meta source)": { | ||
"L:(meta.script.svelte | meta.style.svelte) meta.lang.coffee - (meta source)": { | ||
"patterns": [ | ||
@@ -386,2 +386,6 @@ { | ||
"name": "keyword.other.debugger.svelte" | ||
}, | ||
{ | ||
"match": "const", | ||
"name": "storage.type.svelte" | ||
} | ||
@@ -405,2 +409,26 @@ ] | ||
{ | ||
"begin": "(?<=const.*?)\\G", | ||
"end": "(?=})", | ||
"patterns": [ | ||
{ | ||
"begin": "\\G\\s*([_$[:alpha:]][_$[:alnum:]]+)\\s*", | ||
"end": "(?=\\=)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "variable.other.constant.svelte" | ||
} | ||
} | ||
}, | ||
{ | ||
"begin": "(?=\\=)", | ||
"end": "(?=})", | ||
"patterns": [ | ||
{ | ||
"include": "source.ts#variable-initializer" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?<=each.*?)\\G", | ||
@@ -628,6 +656,15 @@ "end": "(?=})", | ||
"attributes-keyvalue": { | ||
"begin": "([_$[:alpha:]][_\\-$[:alnum:]]*)", | ||
"begin": "((?:--)?[_$[:alpha:]][_\\-$[:alnum:]]*)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "entity.other.attribute-name.svelte" | ||
"0": { | ||
"patterns": [ | ||
{ | ||
"match": "--.*", | ||
"name": "support.type.property-name.svelte" | ||
}, | ||
{ | ||
"match": ".*", | ||
"name": "entity.other.attribute-name.svelte" | ||
} | ||
] | ||
} | ||
@@ -639,3 +676,14 @@ }, | ||
{ | ||
"include": "#attributes-value" | ||
"begin": "=", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.separator.key-value.svelte" | ||
} | ||
}, | ||
"end": "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", | ||
"patterns": [ | ||
{ | ||
"include": "#attributes-value" | ||
} | ||
] | ||
} | ||
@@ -645,9 +693,2 @@ ] | ||
"attributes-value": { | ||
"begin": "=", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.separator.key-value.svelte" | ||
} | ||
}, | ||
"end": "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", | ||
"patterns": [ | ||
@@ -658,9 +699,17 @@ { | ||
{ | ||
"match": "([0-9._]+[\\w]{,4})(?=\\s|/?>)", | ||
"name": "constant.numeric.decimal.svelte", | ||
"patterns": [ | ||
{ | ||
"include": "#interpolation" | ||
"match": "(?:(['\"])([0-9._]+[\\w%]{,4})(\\1))|(?:([0-9._]+[\\w%]{,4})(?=\\s|/?>))", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.string.begin.svelte" | ||
}, | ||
"2": { | ||
"name": "constant.numeric.decimal.svelte" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.string.end.svelte" | ||
}, | ||
"4": { | ||
"name": "constant.numeric.decimal.svelte" | ||
} | ||
] | ||
} | ||
}, | ||
@@ -713,3 +762,3 @@ { | ||
{ | ||
"match": "class", | ||
"match": "class|style", | ||
"name": "entity.other.attribute-name.svelte" | ||
@@ -734,3 +783,3 @@ } | ||
{ | ||
"match": "(?<=(let|class):).*$", | ||
"match": "(?<=(let|class|style):).*$", | ||
"name": "variable.parameter.svelte" | ||
@@ -755,2 +804,6 @@ } | ||
{ | ||
"match": "(?<=(style):).*$", | ||
"name": "support.type.property-name.svelte" | ||
}, | ||
{ | ||
"include": "#attributes-directives-types" | ||
@@ -761,3 +814,3 @@ } | ||
"attributes-directives": { | ||
"begin": "(?<!<)(on|use|bind|transition|in|out|animate|let|class)(:)(?:([_$[:alpha:]][_\\-$[:alnum:]]*(?=\\s*=))|([_$[:alpha:]][_\\-$[:alnum:]]*))((\\|\\w+)*)", | ||
"begin": "(?<!<)(on|use|bind|transition|in|out|animate|let|class|style)(:)(?:((?:--)?[_$[:alpha:]][_\\-$[:alnum:]]*(?=\\s*=))|((?:--)?[_$[:alpha:]][_\\-$[:alnum:]]*))((\\|\\w+)*)", | ||
"beginCaptures": { | ||
@@ -805,3 +858,14 @@ "1": { | ||
{ | ||
"include": "#attributes-value" | ||
"begin": "=", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.separator.key-value.svelte" | ||
} | ||
}, | ||
"end": "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", | ||
"patterns": [ | ||
{ | ||
"include": "#attributes-value" | ||
} | ||
] | ||
} | ||
@@ -808,0 +872,0 @@ ] |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/afcc321aa1c119c37eb1aa3e2c1aa30bd039dd7f", | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/b98c2d4911652824fc990f4b26c9c30be59b78a2", | ||
"name": "tex", | ||
@@ -171,3 +171,3 @@ "scopeName": "text.tex", | ||
{ | ||
"match": "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.]|\\\\{|\\\\})", | ||
"match": "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.\\|]|\\\\[{}|]|\\\\[lr]?[Vv]ert|\\\\[lr]angle|\\\\\\|)", | ||
"name": "punctuation.math.bracket.pair.big.tex" | ||
@@ -174,0 +174,0 @@ }, |
@@ -705,3 +705,3 @@ { | ||
{ | ||
"match": "\\b(?i:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|protected|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)\\b", | ||
"match": "\\b(?i:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|context|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|protected|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)\\b", | ||
"name": "keyword.language.vhdl" | ||
@@ -708,0 +708,0 @@ }, |
{ | ||
"name": "shiki", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "shiki", | ||
@@ -45,3 +45,3 @@ "author": "Pine Wu <octref@gmail.com>", | ||
}, | ||
"gitHead": "1d2daf811a78bdc15f18c57ca697ea3c30c3c691" | ||
"gitHead": "0b28ad8ccfbf2615f2d9d38ea8255416b8ac3043" | ||
} |
@@ -129,2 +129,8 @@ { | ||
{ | ||
"scope": "markup.strikethrough", | ||
"settings": { | ||
"fontStyle": "strikethrough" | ||
} | ||
}, | ||
{ | ||
"scope": "markup.inserted", | ||
@@ -368,3 +374,2 @@ "settings": { | ||
"scope": [ | ||
"meta.return-type", | ||
"support.class", | ||
@@ -371,0 +376,0 @@ "support.type", |
@@ -112,15 +112,14 @@ { | ||
"editorCursor.foreground": "#539bf5", | ||
"editor.findMatchBackground": "#ffd33d44", | ||
"editor.findMatchHighlightBackground": "#ffd33d22", | ||
"editor.linkedEditingBackground": "#3392FF22", | ||
"editor.inactiveSelectionBackground": "#3392FF22", | ||
"editor.selectionBackground": "#3392FF44", | ||
"editor.selectionHighlightBackground": "#17E5E633", | ||
"editor.selectionHighlightBorder": "#17E5E600", | ||
"editor.wordHighlightBackground": "#17E5E600", | ||
"editor.wordHighlightStrongBackground": "#17E5E600", | ||
"editor.wordHighlightBorder": "#17E5E699", | ||
"editor.wordHighlightStrongBorder": "#17E5E666", | ||
"editorBracketMatch.background": "#17E5E650", | ||
"editorBracketMatch.border": "#17E5E600", | ||
"editor.findMatchBackground": "#966600", | ||
"editor.findMatchHighlightBackground": "#eac55f80", | ||
"editor.linkedEditingBackground": "#539bf512", | ||
"editor.inactiveSelectionBackground": "#539bf512", | ||
"editor.selectionBackground": "#539bf533", | ||
"editor.selectionHighlightBackground": "#57ab5a40", | ||
"editor.wordHighlightBackground": "#636e7b80", | ||
"editor.wordHighlightBorder": "#636e7b99", | ||
"editor.wordHighlightStrongBackground": "#636e7b4d", | ||
"editor.wordHighlightStrongBorder": "#636e7b99", | ||
"editorBracketMatch.background": "#57ab5a40", | ||
"editorBracketMatch.border": "#57ab5a99", | ||
"editorGutter.modifiedBackground": "#ae7c1466", | ||
@@ -131,6 +130,6 @@ "editorGutter.addedBackground": "#46954a66", | ||
"diffEditor.removedTextBackground": "#e5534b26", | ||
"scrollbar.shadow": "#0008", | ||
"scrollbarSlider.background": "#484F5833", | ||
"scrollbarSlider.hoverBackground": "#484F5844", | ||
"scrollbarSlider.activeBackground": "#484F5888", | ||
"scrollbar.shadow": "#545d6833", | ||
"scrollbarSlider.background": "#636e7b33", | ||
"scrollbarSlider.hoverBackground": "#636e7b45", | ||
"scrollbarSlider.activeBackground": "#636e7b87", | ||
"editorOverviewRuler.border": "#1c2128", | ||
@@ -168,7 +167,7 @@ "panel.background": "#1c2128", | ||
"debugToolBar.background": "#2d333b", | ||
"editor.stackFrameHighlightBackground": "#C6902625", | ||
"editor.focusedStackFrameHighlightBackground": "#2b6a3033", | ||
"peekViewEditor.matchHighlightBackground": "#ffd33d33", | ||
"peekViewResult.matchHighlightBackground": "#ffd33d33", | ||
"peekViewEditor.background": "#0d111788", | ||
"editor.stackFrameHighlightBackground": "#ae7c1466", | ||
"editor.focusedStackFrameHighlightBackground": "#46954a66", | ||
"peekViewEditor.matchHighlightBackground": "#ae7c1466", | ||
"peekViewResult.matchHighlightBackground": "#ae7c1466", | ||
"peekViewEditor.background": "#636e7b1a", | ||
"peekViewResult.background": "#22272e", | ||
@@ -317,3 +316,3 @@ "settings.headerForeground": "#768390", | ||
"background": "#f47067", | ||
"foreground": "#22272e", | ||
"foreground": "#cdd9e5", | ||
"content": "^M" | ||
@@ -424,3 +423,3 @@ } | ||
"settings": { | ||
"background": "#5D0F12", | ||
"background": "#5d0f12", | ||
"foreground": "#ff938a" | ||
@@ -427,0 +426,0 @@ } |
@@ -112,15 +112,14 @@ { | ||
"editorCursor.foreground": "#58a6ff", | ||
"editor.findMatchBackground": "#ffd33d44", | ||
"editor.findMatchHighlightBackground": "#ffd33d22", | ||
"editor.linkedEditingBackground": "#3392FF22", | ||
"editor.inactiveSelectionBackground": "#3392FF22", | ||
"editor.selectionBackground": "#3392FF44", | ||
"editor.selectionHighlightBackground": "#17E5E633", | ||
"editor.selectionHighlightBorder": "#17E5E600", | ||
"editor.wordHighlightBackground": "#17E5E600", | ||
"editor.wordHighlightStrongBackground": "#17E5E600", | ||
"editor.wordHighlightBorder": "#17E5E699", | ||
"editor.wordHighlightStrongBorder": "#17E5E666", | ||
"editorBracketMatch.background": "#17E5E650", | ||
"editorBracketMatch.border": "#17E5E600", | ||
"editor.findMatchBackground": "#9e6a03", | ||
"editor.findMatchHighlightBackground": "#f2cc6080", | ||
"editor.linkedEditingBackground": "#58a6ff12", | ||
"editor.inactiveSelectionBackground": "#58a6ff12", | ||
"editor.selectionBackground": "#58a6ff33", | ||
"editor.selectionHighlightBackground": "#3fb95040", | ||
"editor.wordHighlightBackground": "#6e768180", | ||
"editor.wordHighlightBorder": "#6e768199", | ||
"editor.wordHighlightStrongBackground": "#6e76814d", | ||
"editor.wordHighlightStrongBorder": "#6e768199", | ||
"editorBracketMatch.background": "#3fb95040", | ||
"editorBracketMatch.border": "#3fb95099", | ||
"editorGutter.modifiedBackground": "#bb800966", | ||
@@ -131,6 +130,6 @@ "editorGutter.addedBackground": "#2ea04366", | ||
"diffEditor.removedTextBackground": "#f8514926", | ||
"scrollbar.shadow": "#0008", | ||
"scrollbarSlider.background": "#484F5833", | ||
"scrollbarSlider.hoverBackground": "#484F5844", | ||
"scrollbarSlider.activeBackground": "#484F5888", | ||
"scrollbar.shadow": "#484f5833", | ||
"scrollbarSlider.background": "#6e768133", | ||
"scrollbarSlider.hoverBackground": "#6e768145", | ||
"scrollbarSlider.activeBackground": "#6e768187", | ||
"editorOverviewRuler.border": "#010409", | ||
@@ -168,7 +167,7 @@ "panel.background": "#010409", | ||
"debugToolBar.background": "#161b22", | ||
"editor.stackFrameHighlightBackground": "#D2992225", | ||
"editor.focusedStackFrameHighlightBackground": "#3FB95025", | ||
"peekViewEditor.matchHighlightBackground": "#ffd33d33", | ||
"peekViewResult.matchHighlightBackground": "#ffd33d33", | ||
"peekViewEditor.background": "#0d111788", | ||
"editor.stackFrameHighlightBackground": "#bb800966", | ||
"editor.focusedStackFrameHighlightBackground": "#2ea04366", | ||
"peekViewEditor.matchHighlightBackground": "#bb800966", | ||
"peekViewResult.matchHighlightBackground": "#bb800966", | ||
"peekViewEditor.background": "#6e76811a", | ||
"peekViewResult.background": "#0d1117", | ||
@@ -317,3 +316,3 @@ "settings.headerForeground": "#8b949e", | ||
"background": "#ff7b72", | ||
"foreground": "#0d1117", | ||
"foreground": "#f0f6fc", | ||
"content": "^M" | ||
@@ -320,0 +319,0 @@ } |
@@ -113,14 +113,13 @@ { | ||
"editor.findMatchBackground": "#bf8700", | ||
"editor.findMatchHighlightBackground": "#ffdf5d66", | ||
"editor.linkedEditingBackground": "#0366d611", | ||
"editor.inactiveSelectionBackground": "#0366d611", | ||
"editor.selectionBackground": "#0366d625", | ||
"editor.selectionHighlightBackground": "#34d05840", | ||
"editor.selectionHighlightBorder": "#34d05800", | ||
"editor.wordHighlightBackground": "#34d05800", | ||
"editor.wordHighlightStrongBackground": "#34d05800", | ||
"editor.wordHighlightBorder": "#24943e99", | ||
"editor.wordHighlightStrongBorder": "#24943e50", | ||
"editorBracketMatch.background": "#34d05840", | ||
"editorBracketMatch.border": "#34d05800", | ||
"editor.findMatchHighlightBackground": "#fae17d80", | ||
"editor.linkedEditingBackground": "#0969da12", | ||
"editor.inactiveSelectionBackground": "#0969da12", | ||
"editor.selectionBackground": "#0969da33", | ||
"editor.selectionHighlightBackground": "#4ac26b40", | ||
"editor.wordHighlightBackground": "#eaeef280", | ||
"editor.wordHighlightBorder": "#afb8c199", | ||
"editor.wordHighlightStrongBackground": "#afb8c14d", | ||
"editor.wordHighlightStrongBorder": "#afb8c199", | ||
"editorBracketMatch.background": "#4ac26b40", | ||
"editorBracketMatch.border": "#4ac26b99", | ||
"editorGutter.modifiedBackground": "#d4a72c66", | ||
@@ -131,6 +130,6 @@ "editorGutter.addedBackground": "#4ac26b66", | ||
"diffEditor.removedTextBackground": "#ffebe9", | ||
"scrollbar.shadow": "#6a737d33", | ||
"scrollbarSlider.background": "#959da533", | ||
"scrollbarSlider.hoverBackground": "#959da544", | ||
"scrollbarSlider.activeBackground": "#959da588", | ||
"scrollbar.shadow": "#6e778133", | ||
"scrollbarSlider.background": "#8c959f33", | ||
"scrollbarSlider.hoverBackground": "#8c959f45", | ||
"scrollbarSlider.activeBackground": "#8c959f87", | ||
"editorOverviewRuler.border": "#ffffff", | ||
@@ -168,4 +167,4 @@ "panel.background": "#f6f8fa", | ||
"debugToolBar.background": "#ffffff", | ||
"editor.stackFrameHighlightBackground": "#ffd33d33", | ||
"editor.focusedStackFrameHighlightBackground": "#28a74525", | ||
"editor.stackFrameHighlightBackground": "#d4a72c66", | ||
"editor.focusedStackFrameHighlightBackground": "#4ac26b66", | ||
"settings.headerForeground": "#57606a", | ||
@@ -419,3 +418,3 @@ "settings.modifiedItemIndicator": "#d4a72c66", | ||
"settings": { | ||
"background": "#FFEBE9", | ||
"background": "#ffebe9", | ||
"foreground": "#82071e" | ||
@@ -422,0 +421,0 @@ } |
@@ -130,2 +130,8 @@ { | ||
{ | ||
"scope": "markup.strikethrough", | ||
"settings": { | ||
"fontStyle": "strikethrough" | ||
} | ||
}, | ||
{ | ||
"scope": "markup.inserted", | ||
@@ -390,3 +396,2 @@ "settings": { | ||
"scope": [ | ||
"meta.return-type", | ||
"support.class", | ||
@@ -393,0 +398,0 @@ "support.type", |
@@ -419,2 +419,8 @@ { | ||
{ | ||
"scope": "markup.strikethrough", | ||
"settings": { | ||
"fontStyle": "strikethrough" | ||
} | ||
}, | ||
{ | ||
"name": "Markdown Punctuation Definition Link", | ||
@@ -421,0 +427,0 @@ "scope": "markup.list.unnumbered.markdown, markup.list.numbered.markdown", |
@@ -1225,2 +1225,42 @@ { | ||
{ | ||
"name": "[Rust] Entity types", | ||
"scope": "source.rust entity.name.type", | ||
"settings": { | ||
"foreground": "#8FBCBB" | ||
} | ||
}, | ||
{ | ||
"name": "[Rust] Macro", | ||
"scope": "source.rust meta.macro entity.name.function", | ||
"settings": { | ||
"fontStyle": "bold", | ||
"foreground": "#88C0D0" | ||
} | ||
}, | ||
{ | ||
"name": "[Rust] Attributes", | ||
"scope": [ | ||
"source.rust meta.attribute", | ||
"source.rust meta.attribute punctuation", | ||
"source.rust meta.attribute keyword.operator" | ||
], | ||
"settings": { | ||
"foreground": "#5E81AC" | ||
} | ||
}, | ||
{ | ||
"name": "[Rust] Traits", | ||
"scope": "source.rust entity.name.type.trait", | ||
"settings": { | ||
"fontStyle": "bold" | ||
} | ||
}, | ||
{ | ||
"name": "[Rust] Interpolation Bracket Curly", | ||
"scope": "source.rust punctuation.definition.interpolation", | ||
"settings": { | ||
"foreground": "#EBCB8B" | ||
} | ||
}, | ||
{ | ||
"name": "[SCSS] Punctuation Definition Interpolation Bracket Curly", | ||
@@ -1227,0 +1267,0 @@ "scope": [ |
@@ -33,2 +33,8 @@ { | ||
{ | ||
"scope": "meta.embedded", | ||
"settings": { | ||
"foreground": "#abb2bf" | ||
} | ||
}, | ||
{ | ||
"name": "unison punctuation", | ||
@@ -1859,2 +1865,20 @@ "scope": "punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison", | ||
{ | ||
"scope": ["support.other.parenthesis.regexp"], | ||
"settings": { | ||
"foreground": "#d19a66" | ||
} | ||
}, | ||
{ | ||
"scope": ["constant.character.escape"], | ||
"settings": { | ||
"foreground": "#e5c07b" | ||
} | ||
}, | ||
{ | ||
"scope": ["string.regexp"], | ||
"settings": { | ||
"foreground": "#e06c75" | ||
} | ||
}, | ||
{ | ||
"name": "js/ts italic", | ||
@@ -1875,3 +1899,3 @@ "scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super", | ||
"name": "Python Keyword Control", | ||
"scope": "keyword.control.import.python,keyword.control.flow.python", | ||
"scope": "keyword.control.import.python,keyword.control.flow.python,keyword.operator.logical.python", | ||
"settings": { | ||
@@ -1967,2 +1991,3 @@ "fontStyle": "italic" | ||
"minimapGutter.modifiedBackground": "#948B60", | ||
"panel.border": "#3e4452", | ||
"panelSectionHeader.background": "#21252b", | ||
@@ -2014,3 +2039,3 @@ "peekViewEditor.background": "#1b1d23", | ||
"terminal.background": "#282c34", | ||
"terminal.border": "#abb2bf", | ||
"terminal.border": "#3e4452", | ||
"terminal.foreground": "#abb2bf", | ||
@@ -2017,0 +2042,0 @@ "terminal.selectionBackground": "#abb2bf30", |
@@ -6,3 +6,3 @@ { | ||
"settings": { | ||
"foreground": "#93A1A1" | ||
"foreground": "#839496" | ||
} | ||
@@ -13,3 +13,3 @@ }, | ||
"settings": { | ||
"foreground": "#93A1A1" | ||
"foreground": "#839496" | ||
} | ||
@@ -22,3 +22,3 @@ }, | ||
"fontStyle": "italic", | ||
"foreground": "#657B83" | ||
"foreground": "#586E75" | ||
} | ||
@@ -147,3 +147,3 @@ }, | ||
"settings": { | ||
"foreground": "#657B83" | ||
"foreground": "#586E75" | ||
} | ||
@@ -270,2 +270,8 @@ }, | ||
{ | ||
"scope": "markup.strikethrough", | ||
"settings": { | ||
"fontStyle": "strikethrough" | ||
} | ||
}, | ||
{ | ||
"name": "Markup Inline", | ||
@@ -321,2 +327,3 @@ "scope": "markup.inline.raw", | ||
"editor.background": "#002B36", | ||
"editor.foreground": "#839496", | ||
"editorWidget.background": "#00212B", | ||
@@ -380,3 +387,3 @@ "editorCursor.foreground": "#D30102", | ||
"terminal.ansiWhite": "#eee8d5", | ||
"terminal.ansiBrightBlack": "#586e75", | ||
"terminal.ansiBrightBlack": "#002b36", | ||
"terminal.ansiBrightRed": "#cb4b16", | ||
@@ -383,0 +390,0 @@ "terminal.ansiBrightGreen": "#586e75", |
@@ -63,3 +63,3 @@ { | ||
"fontStyle": "bold", | ||
"foreground": "#073642" | ||
"foreground": "#586E75" | ||
} | ||
@@ -264,2 +264,8 @@ }, | ||
{ | ||
"scope": "markup.strikethrough", | ||
"settings": { | ||
"fontStyle": "strikethrough" | ||
} | ||
}, | ||
{ | ||
"name": "Markup Inline", | ||
@@ -308,2 +314,3 @@ "scope": "markup.inline.raw", | ||
"editor.background": "#FDF6E3", | ||
"editor.foreground": "#657B83", | ||
"notebook.cellEditorBackground": "#F7F0E0", | ||
@@ -364,3 +371,3 @@ "editorWidget.background": "#EEE8D5", | ||
"terminal.ansiWhite": "#eee8d5", | ||
"terminal.ansiBrightBlack": "#586e75", | ||
"terminal.ansiBrightBlack": "#002b36", | ||
"terminal.ansiBrightRed": "#cb4b16", | ||
@@ -372,3 +379,3 @@ "terminal.ansiBrightGreen": "#586e75", | ||
"terminal.ansiBrightCyan": "#93a1a1", | ||
"terminal.ansiBrightWhite": "#eee8d5", | ||
"terminal.ansiBrightWhite": "#fdf6e3", | ||
"walkThrough.embeddedEditorBackground": "#00000014" | ||
@@ -375,0 +382,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8353243
226
230194