Comparing version 0.9.3 to 0.9.4
import { IRawThemeSetting, IRawGrammar, IRawTheme } from 'vscode-textmate'; | ||
declare type Theme = 'dark-plus' | 'github-dark' | 'github-light' | 'light-plus' | 'material-theme-darker' | 'material-theme-default' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'slack-theme-dark-mode' | 'slack-theme-ochin' | 'solarized-dark' | 'solarized-light'; | ||
declare const themes: string[]; | ||
declare type Theme = 'dark-plus' | 'github-dark' | 'github-light' | 'light-plus' | 'material-darker' | 'material-default' | 'material-lighter' | 'material-ocean' | 'material-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light'; | ||
declare const themes: Theme[]; | ||
declare const enum FontStyle { | ||
NotSet = -1, | ||
None = 0, | ||
Italic = 1, | ||
Bold = 2, | ||
Underline = 4 | ||
} | ||
interface IThemedTokenScopeExplanation { | ||
@@ -77,2 +85,6 @@ scopeName: string; | ||
/** | ||
* Font style of token. Can be None/Italic/Bold/Underline | ||
*/ | ||
fontStyle?: FontStyle; | ||
/** | ||
* Explanation of | ||
@@ -87,6 +99,19 @@ * | ||
interface HighlighterOptions { | ||
/** | ||
* The theme to load upfront. | ||
*/ | ||
theme?: IThemeRegistration; | ||
langs?: (Lang | ILanguageRegistration)[]; | ||
/** | ||
* A list of themes to load upfront. | ||
* | ||
* Default to: `['dark-plus', 'light-plus']` | ||
*/ | ||
themes?: IThemeRegistration[]; | ||
/** | ||
* A list of languages to load upfront. | ||
* | ||
* Default to `['html', 'css', 'javascript']` | ||
*/ | ||
langs?: (Lang | ILanguageRegistration)[]; | ||
/** | ||
* Paths for loading themes and langs. Relative to the package's root. | ||
@@ -97,7 +122,41 @@ */ | ||
interface Highlighter { | ||
/** | ||
* Convert code to HTML tokens. | ||
* `lang` and `theme` must have been loaded. | ||
*/ | ||
codeToHtml(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>): string; | ||
/** | ||
* Convert code to themed tokens for custom processing. | ||
* `lang` and `theme` must have been loaded. | ||
* You may customize the bundled HTML / SVG renderer or write your own | ||
* renderer for another render target. | ||
*/ | ||
codeToThemedTokens(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>, options?: ThemedTokenizerOptions): IThemedToken[][]; | ||
codeToHtml(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>): string; | ||
/** | ||
* Get the loaded theme | ||
*/ | ||
getTheme(theme: IThemeRegistration): IShikiTheme; | ||
/** | ||
* Load a theme | ||
*/ | ||
loadTheme(theme: IThemeRegistration): Promise<void>; | ||
loadLanguage(theme: ILanguageRegistration | Lang): Promise<void>; | ||
/** | ||
* Load a language | ||
*/ | ||
loadLanguage(lang: ILanguageRegistration | Lang): Promise<void>; | ||
/** | ||
* Get all loaded themes | ||
*/ | ||
getLoadedThemes(): Theme[]; | ||
/** | ||
* Get all loaded languages | ||
*/ | ||
getLoadedLanguages(): Lang[]; | ||
/** | ||
* Get the foreground color for theme. Can be used for CSS `color`. | ||
*/ | ||
getForegroundColor(theme?: StringLiteralUnion<Theme>): string; | ||
/** | ||
* Get the background color for theme. Can be used for CSS `background-color`. | ||
*/ | ||
getBackgroundColor(theme?: StringLiteralUnion<Theme>): string; | ||
@@ -119,2 +178,3 @@ } | ||
aliases?: string[]; | ||
samplePath?: string; | ||
} & ({ | ||
@@ -134,4 +194,8 @@ path: string; | ||
/** | ||
* tokenColors of the theme file | ||
* @description light/dark theme | ||
*/ | ||
type: 'light' | 'dark'; | ||
/** | ||
* @description tokenColors of the theme file | ||
*/ | ||
settings: IRawThemeSetting[]; | ||
@@ -150,6 +214,12 @@ /** | ||
include?: string; | ||
/** | ||
* | ||
* @description color map of the theme file | ||
*/ | ||
colors?: Record<string, string>; | ||
} | ||
/** | ||
* type StringLiteralUnion<'foo'> = 'foo' | string | ||
* This has auto completion whereas `'foo' | string` doesn't | ||
* Adapted from https://github.com/microsoft/TypeScript/issues/29729 | ||
* Since `string | 'foo'` doesn't offer auto completion | ||
*/ | ||
@@ -159,4 +229,4 @@ declare type StringLiteralUnion<T extends U, U = string> = T | (U & {}); | ||
/** | ||
* Whether to include explanation of each token's matching scopes | ||
* and why it's given its color. Default to false. | ||
* Whether to include explanation of each token's matching scopes and | ||
* why it's given its color. Default to false to reduce output verbosity. | ||
*/ | ||
@@ -166,3 +236,3 @@ includeExplanation?: boolean; | ||
declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apex' | 'applescript' | 'asm' | 'asp-net-razor' | 'awk' | 'bat' | 'c' | 'clojure' | 'cobol' | 'coffee' | 'cpp.embedded.macro' | 'cpp' | 'crystal' | 'csharp' | 'css' | 'd' | 'dart' | 'diff' | 'dockerfile' | 'elixir' | 'elm' | 'erlang' | 'fsharp' | 'git-commit' | 'git-rebase' | 'gnuplot' | 'go' | 'graphql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'haskell' | 'hcl' | 'hlsl' | 'html-ruby-erb' | 'html' | 'ini' | 'java' | 'javascript' | 'jinja-html' | 'json' | 'jsonc' | 'jsonnet' | 'jsx' | 'julia' | 'kotlin' | 'latex' | 'less' | 'lisp' | 'logo' | 'lua' | 'makefile' | 'markdown' | 'matlab' | 'mdx' | 'nix' | 'objective-c' | 'ocaml' | 'pascal' | 'perl' | 'perl6' | 'php' | 'pls' | 'postcss' | 'powershell' | 'prolog' | 'pug' | 'puppet' | 'purescript' | 'python' | 'r' | 'razor' | 'ruby' | 'rust' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shellscript' | 'smalltalk' | 'sql' | 'ssh-config' | 'stylus' | 'swift' | 'tcl' | 'toml' | 'ts' | 'tsx' | 'typescript' | 'vb' | 'viml' | 'vue' | 'wasm' | 'xml' | 'xsl' | 'yaml' | '文言'; | ||
declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'asm' | 'awk' | 'bat' | 'batch' | 'c' | 'clojure' | 'clj' | 'cobol' | 'coffee' | 'cpp' | 'crystal' | 'csharp' | 'c#' | 'css' | 'd' | 'dart' | 'diff' | 'docker' | 'elixir' | 'elm' | 'erb' | 'erlang' | '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' | 'jsx' | 'julia' | 'kotlin' | 'latex' | 'tex' | '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' | 'prolog' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'riscv' | 'ruby' | 'rb' | 'rust' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'shell' | 'bash' | 'sh' | 'zsh' | 'smalltalk' | 'solidity' | 'sparql' | 'sql' | 'ssh-config' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tcl' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vue' | 'wasm' | 'wenyan' | '文言' | 'xml' | 'xsl' | 'yaml'; | ||
declare const languages: ILanguageRegistration[]; | ||
@@ -201,2 +271,2 @@ | ||
export { languages as BUNDLED_LANGUAGES, themes as BUNDLED_THEMES, Highlighter, HighlighterOptions, HtmlRendererOptions, ILanguageRegistration, IShikiTheme, IThemeRegistration, IThemedToken, Lang, Theme, getHighlighter, fetchTheme as loadTheme, renderToHtml, setCDN, setOnigasmWASM }; | ||
export { languages as BUNDLED_LANGUAGES, themes as BUNDLED_THEMES, FontStyle, Highlighter, HighlighterOptions, HtmlRendererOptions, ILanguageRegistration, IShikiTheme, IThemeRegistration, IThemedToken, Lang, Theme, getHighlighter, fetchTheme as loadTheme, renderToHtml, setCDN, setOnigasmWASM }; |
{ | ||
"fileTypes": [ | ||
"abap", | ||
"ABAP" | ||
], | ||
"fileTypes": ["abap", "ABAP"], | ||
"foldingStartMarker": "/\\*\\*|\\{\\s*$", | ||
@@ -364,2 +361,2 @@ "foldingStopMarker": "\\*\\*/|^\\s*\\}", | ||
"uuid": "0357FFB4-EFFF-4DE9-8371-B0F9C8DF1B21" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"as" | ||
], | ||
"fileTypes": ["as"], | ||
"name": "actionscript-3", | ||
@@ -20,2 +18,5 @@ "patterns": [ | ||
{ | ||
"include": "#namespace_declaration" | ||
}, | ||
{ | ||
"include": "#import" | ||
@@ -186,2 +187,14 @@ }, | ||
}, | ||
"namespace_declaration": { | ||
"captures": { | ||
"2": { | ||
"name": "storage.modifier.actionscript.3" | ||
}, | ||
"3": { | ||
"name": "storage.modifier.actionscript.3" | ||
} | ||
}, | ||
"match": "(?x) ((\\w+)\\s+)? (namespace) \\s+ (?:[A-Za-z0-9_\\$]+)", | ||
"name": "meta.namespace_declaration.actionscript.3" | ||
}, | ||
"class_declaration": { | ||
@@ -608,2 +621,5 @@ "begin": "(?x) \\b(class)\\b \\s+ ([\\.\\w]+|\\*)", | ||
{ | ||
"include": "#namespace_declaration" | ||
}, | ||
{ | ||
"include": "#use_namespace" | ||
@@ -788,2 +804,5 @@ }, | ||
"include": "#interface" | ||
}, | ||
{ | ||
"include": "#namespace_declaration" | ||
} | ||
@@ -934,2 +953,2 @@ ] | ||
"uuid": "aa6f75ba-ab10-466e-8c6f-28c69aca1e9d" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"applescript", | ||
"scpt", | ||
"script editor" | ||
], | ||
"fileTypes": ["applescript", "scpt", "script editor"], | ||
"firstLineMatch": "^#!.*(osascript)", | ||
@@ -1407,2 +1403,2 @@ "keyEquivalent": "^~A", | ||
"uuid": "777CF925-14B9-428E-B07B-17FAAB8FA27E" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"asm", | ||
"nasm", | ||
"yasm", | ||
"inc", | ||
"s" | ||
], | ||
"fileTypes": ["asm", "nasm", "yasm", "inc", "s"], | ||
"name": "asm", | ||
@@ -1352,2 +1346,2 @@ "patterns": [ | ||
"uuid": "05d6565d-991a-4e88-8e28-63bb21197f32" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"awk" | ||
], | ||
"fileTypes": ["awk"], | ||
"name": "awk", | ||
@@ -388,2 +386,2 @@ "patterns": [ | ||
"uuid": "67bd1ff0-006b-4c32-8b97-8bc198777582" | ||
} | ||
} |
@@ -7,5 +7,14 @@ { | ||
], | ||
"version": "https://github.com/mmims/language-batchfile/commit/95ea8c699f7a8296b15767069868532d52631c46", | ||
"version": "https://github.com/mmims/language-batchfile/commit/6154ae25a24e01ac9329e7bcf958e093cd8733a9", | ||
"name": "bat", | ||
"scopeName": "source.batchfile", | ||
"injections": { | ||
"L:meta.block.repeat.batchfile": { | ||
"patterns": [ | ||
{ | ||
"include": "#repeatParameter" | ||
} | ||
] | ||
} | ||
}, | ||
"patterns": [ | ||
@@ -50,3 +59,3 @@ { | ||
{ | ||
"match": "(?<=^|[\\s@])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net use|net user|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|scp|sc|schtasks|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|shadow|shift|showmount|shutdown|sort|ssh|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|mic|wscript|xcopy)(?=$|\\s)", | ||
"match": "(?<=^|[\\s@])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net use|net user|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|sc|schtasks|scp|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|sftp|shadow|shift|showmount|shutdown|sort|ssh|ssh-add|ssh-agent|ssh-keygen|ssh-keyscan|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|wmic|wscript|wsl|xcopy)(?=$|\\s)", | ||
"name": "keyword.command.batchfile" | ||
@@ -290,3 +299,3 @@ }, | ||
{ | ||
"match": "([^ ][^=]*)(=)", | ||
"match": "([^ =]*)(=)", | ||
"captures": { | ||
@@ -426,4 +435,34 @@ "1": { | ||
{ | ||
"match": "(?<=^|\\s)(?i)for(?=\\s)", | ||
"name": "keyword.control.repeat.batchfile" | ||
"begin": "(?<=^|[\\s(&^])(?i)for(?=\\s)", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "keyword.control.repeat.batchfile" | ||
} | ||
}, | ||
"name": "meta.block.repeat.batchfile", | ||
"end": "\\n", | ||
"patterns": [ | ||
{ | ||
"begin": "(?<=[\\s^])(?i)in(?=\\s)", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "keyword.control.repeat.in.batchfile" | ||
} | ||
}, | ||
"end": "(?<=[\\s)^])(?i)do(?=\\s)|\\n", | ||
"endCaptures": { | ||
"0": { | ||
"name": "keyword.control.repeat.do.batchfile" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
} | ||
@@ -443,3 +482,3 @@ ] | ||
{ | ||
"match": "(?i)(?:^\\s*|(?<=goto)\\s*)(:)([^+=,;:\\s].*)$", | ||
"match": "(?i)(?:^\\s*|(?<=call|goto)\\s*)(:)([^+=,;:\\s]\\S*)", | ||
"captures": { | ||
@@ -520,2 +559,15 @@ "1": { | ||
}, | ||
"repeatParameter": { | ||
"patterns": [ | ||
{ | ||
"match": "(%%)(?:(?i:~[fdpnxsatz]*(?:\\$PATH:)?)?[a-zA-Z])", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.variable.batchfile" | ||
} | ||
}, | ||
"name": "variable.parameter.repeat.batchfile" | ||
} | ||
] | ||
}, | ||
"strings": { | ||
@@ -555,11 +607,9 @@ "patterns": [ | ||
{ | ||
"match": "(%)((~([fdpnxsatz]|\\$PATH:)*)?\\d|\\*)", | ||
"match": "(%)(?:(?i:~[fdpnxsatz]*(?:\\$PATH:)?)?\\d|\\*)", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.variable.batchfile" | ||
}, | ||
"2": { | ||
"name": "variable.parameter.batchfile" | ||
} | ||
} | ||
}, | ||
"name": "variable.parameter.batchfile" | ||
}, | ||
@@ -745,2 +795,2 @@ { | ||
} | ||
} | ||
} |
@@ -435,2 +435,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"_copyright": "The MIT License (MIT)\nCopyright (c) 2015-2021 spgennard\nSource: https://github.com/spgennard/vscode_cobol/blob/main/syntaxes/COBOL.tmLanguage.json", | ||
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", | ||
"$schema": "https://raw.githubusercontent.com/spgennard/vscode_cobol/main/schemas/tmlanguage.json", | ||
"fileTypes": [ | ||
@@ -116,3 +116,3 @@ "ccp", | ||
{ | ||
"match": "(?:^|\\s+)(?i:\\$\\s*set\\s+)(ilusing.*)$", | ||
"match": "(?:^|\\s+)(?i:\\$\\s*set\\s+)(ilusing)(.*)$", | ||
"captures": { | ||
@@ -123,3 +123,3 @@ "0": { | ||
"1": { | ||
"name": "keyword.control.import" | ||
"name": "storage.modifier.import.cobol" | ||
}, | ||
@@ -152,3 +152,3 @@ "2": { | ||
"1": { | ||
"name": "variable.cobol" | ||
"name": "entity.other.attribute-name.set.cobol" | ||
}, | ||
@@ -178,3 +178,3 @@ "2": { | ||
"match": "\\$(?i:if|else|then|display|xfd|end-region|end)(.*$)", | ||
"name": "meta.preprocessor" | ||
"name": "meta.preprocessor.cobol" | ||
}, | ||
@@ -189,3 +189,3 @@ { | ||
"1": { | ||
"name": "meta.preprocessor.iso2002" | ||
"name": "meta.preprocessor.iso2002.cobol" | ||
}, | ||
@@ -579,3 +579,3 @@ "2": { | ||
{ | ||
"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+|\\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": { | ||
@@ -707,3 +707,3 @@ "1": { | ||
{ | ||
"match": "(?<![-_])(?i:if|else|end-if|exit\\s+iterator|exit\\s+program|exit\\s+method|evaluate|end-evaluate|perform|end-perform|when\\s+other|when|continue|call|end-call|chain|end-chain|invoke|end\\s+invoke|go\\s+to|go|sort|merge|use|xml|parse|stop\\s+run|goback|raise|exit\\s+function|await)(?![0-9A-Za-z_-])", | ||
"match": "(?<![-_])(?i:if|else|end-if|exit\\s+iterator|exit\\s+program|exit\\s+method|evaluate|end-evaluate|perform|end-perform|when\\s+other|when|continue|call|end-call|chain|end-chain|invoke|end\\s+invoke|go\\s+to|go|sort|merge|use|xml|parse|stop\\s+run|goback\\s+returning|goback|raise|exit\\s+function|await)(?![0-9A-Za-z_-])", | ||
"name": "keyword.control.cobol" | ||
@@ -795,3 +795,3 @@ }, | ||
{ | ||
"match": "(?i:not\\s+at\\s+end)", | ||
"match": "(?i:not\\s+at\\s+end)(?![0-9A-Za-z_-])", | ||
"name": "keyword.verbs.cobol" | ||
@@ -900,2 +900,2 @@ }, | ||
"scopeName": "source.cobol" | ||
} | ||
} |
@@ -1316,2 +1316,2 @@ { | ||
} | ||
} | ||
} |
@@ -8,5 +8,3 @@ { | ||
"scopeName": "source.crystal", | ||
"fileTypes": [ | ||
"cr" | ||
], | ||
"fileTypes": ["cr"], | ||
"firstLineMatch": "^#!/.*\\bcrystal", | ||
@@ -373,3 +371,3 @@ "foldingStartMarker": "(?x)^(\\s*+(annotation|module|class|struct|union|enum|def(?!.*\\bend\\s*$)|unless|if|case|begin|for|while|until|^=begin|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\s(do|begin|case)|(?<!\\$)[-+=&|*/~%^<>~]\\s*+(if|unless)))\\b(?![^;]*+;.*?\\bend\\b)|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\{(?![^}]*+\\})|\\[(?![^\\]]*+\\]))).*$|[#].*?\\(fold\\)\\s*+$", | ||
}, | ||
"comment": "symbol literal with '' delimitor", | ||
"comment": "symbol literal with '' delimiter", | ||
"end": "'", | ||
@@ -396,3 +394,3 @@ "endCaptures": { | ||
}, | ||
"comment": "symbol literal with \"\" delimitor", | ||
"comment": "symbol literal with \"\" delimiter", | ||
"end": "\"", | ||
@@ -415,3 +413,3 @@ "endCaptures": { | ||
{ | ||
"comment": "Needs higher precidence than regular expressions.", | ||
"comment": "Needs higher precedence than regular expressions.", | ||
"match": "(?<!\\()/=", | ||
@@ -427,3 +425,3 @@ "name": "keyword.operator.assignment.augmented.crystal" | ||
}, | ||
"comment": "string literal with '' delimitor", | ||
"comment": "string literal with '' delimiter", | ||
"end": "'", | ||
@@ -450,3 +448,3 @@ "endCaptures": { | ||
}, | ||
"comment": "string literal with interpolation and \"\" delimitor", | ||
"comment": "string literal with interpolation and \"\" delimiter", | ||
"end": "\"", | ||
@@ -1009,3 +1007,3 @@ "endCaptures": { | ||
{ | ||
"comment": "Cant be named because its not neccesarily an escape.", | ||
"comment": "Cant be named because its not necessarily an escape.", | ||
"match": "\\\\." | ||
@@ -1879,2 +1877,2 @@ } | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"dart" | ||
], | ||
"fileTypes": ["dart"], | ||
"foldingStartMarker": "\\{\\s*$", | ||
@@ -438,2 +436,2 @@ "foldingStopMarker": "^\\s*\\}", | ||
"scopeName": "source.dart" | ||
} | ||
} |
@@ -160,2 +160,2 @@ { | ||
] | ||
} | ||
} |
{ | ||
"comment": "Textmate bundle for Elixir Programming Language.", | ||
"fileTypes": [ | ||
"ex", | ||
"exs" | ||
], | ||
"fileTypes": ["ex", "exs"], | ||
"firstLineMatch": "^#!/.*\\belixir", | ||
@@ -812,3 +809,3 @@ "foldingStartMarker": "(after|else|catch|rescue|\\-\\>|\\{|\\[|do)\\s*$", | ||
"comment": "symbols", | ||
"match": "(?<!:)(:)(?>[a-zA-Z_][\\w@]*(?>[?!]|=(?![>=]))?|\\<\\>|===?|!==?|<<>>|<<<|>>>|~~~|::|<\\-|\\|>|=>|=~|=|/|\\\\\\\\|\\*\\*?|\\.\\.?\\.?|>=?|<=?|&&?&?|\\+\\+?|\\-\\-?|\\|\\|?\\|?|\\!|@|\\%?\\{\\}|%|\\[\\]|\\^(\\^\\^)?)", | ||
"match": "(?<!:)(:)(?>[a-zA-Z_][\\w@]*(?>[?!]|=(?![>=]))?|\\<\\>|===?|!==?|<<>>|<<<|>>>|~~~|::|<\\-|\\|>|=>|=~|=|/|\\\\\\\\|\\*\\*?|\\.\\.?\\.?|\\.\\.//|>=?|<=?|&&?&?|\\+\\+?|\\-\\-?|\\|\\|?\\|?|\\!|@|\\%?\\{\\}|%|\\[\\]|\\^(\\^\\^)?)", | ||
"name": "constant.other.symbol.elixir" | ||
@@ -914,3 +911,3 @@ }, | ||
{ | ||
"match": "\\||\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\<\\-|\\<\\>|\\<\\<|\\>\\>|\\:\\:|\\.\\.|\\|>|~|=>|&", | ||
"match": "\\||\\+\\+|\\-\\-|\\*\\*|\\\\\\\\|\\<\\-|\\<\\>|\\<\\<|\\>\\>|\\:\\:|\\.\\.|//|\\|>|~|=>|&", | ||
"name": "keyword.operator.other.elixir" | ||
@@ -1004,2 +1001,2 @@ }, | ||
"uuid": "D00C06B9-71B2-4FEB-A0E3-37237F579456" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"elm" | ||
], | ||
"fileTypes": ["elm"], | ||
"name": "elm", | ||
@@ -750,2 +748,2 @@ "scopeName": "source.elm", | ||
} | ||
} | ||
} |
{ | ||
"comment": "The recognition of function definitions and compiler directives (such as module, record and macro definitions) requires that each of the aforementioned constructs must be the first string inside a line (except for whitespace). Also, the function/module/record/macro names must be given unquoted. -- desp", | ||
"fileTypes": [ | ||
"erl", | ||
"escript", | ||
"hrl", | ||
"xrl", | ||
"yrl" | ||
], | ||
"fileTypes": ["erl", "escript", "hrl", "xrl", "yrl"], | ||
"keyEquivalent": "^~E", | ||
@@ -1752,2 +1746,2 @@ "name": "erlang", | ||
"uuid": "58EA597D-5158-4BF7-9FB2-B05135D1E166" | ||
} | ||
} |
@@ -1802,2 +1802,2 @@ { | ||
} | ||
} | ||
} |
@@ -141,2 +141,2 @@ { | ||
} | ||
} | ||
} |
@@ -61,2 +61,2 @@ { | ||
] | ||
} | ||
} |
@@ -5,8 +5,3 @@ { | ||
"uuid": "A75AB1C2-611C-4500-9EE4-20668B5BB465", | ||
"fileTypes": [ | ||
"gp", | ||
"plt", | ||
"plot", | ||
"gnuplot" | ||
], | ||
"fileTypes": ["gp", "plt", "plot", "gnuplot"], | ||
"patterns": [ | ||
@@ -893,2 +888,2 @@ { | ||
} | ||
} | ||
} |
@@ -1017,2 +1017,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"name": "graphql", | ||
"scopeName": "source.graphql", | ||
"fileTypes": [ | ||
"graphql", | ||
"graphqls", | ||
"gql", | ||
"graphcool" | ||
], | ||
"fileTypes": ["graphql", "graphqls", "gql", "graphcool"], | ||
"patterns": [ | ||
@@ -1255,2 +1250,2 @@ { | ||
} | ||
} | ||
} |
@@ -1383,2 +1383,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"haml", | ||
"html.haml" | ||
], | ||
"fileTypes": ["haml", "html.haml"], | ||
"foldingStartMarker": "^\\s*([-%#\\:\\.\\w\\=].*)\\s$", | ||
@@ -589,2 +586,2 @@ "foldingStopMarker": "^\\s*$", | ||
"uuid": "3D727049-DD05-45DF-92A5-D50EA36FD035" | ||
} | ||
} |
@@ -852,2 +852,2 @@ { | ||
} | ||
} | ||
} |
@@ -5,9 +5,3 @@ { | ||
"comment": "HashiCorp Configuration Language", | ||
"fileTypes": [ | ||
"tf", | ||
"tfvars", | ||
"nomad", | ||
"hcl", | ||
"appfile" | ||
], | ||
"fileTypes": ["tf", "tfvars", "nomad", "hcl", "appfile"], | ||
"patterns": [ | ||
@@ -394,2 +388,2 @@ { | ||
} | ||
} | ||
} |
@@ -217,2 +217,2 @@ { | ||
] | ||
} | ||
} |
@@ -113,2 +113,2 @@ { | ||
] | ||
} | ||
} |
@@ -1855,2 +1855,2 @@ { | ||
} | ||
} | ||
} |
@@ -16,2 +16,2 @@ { | ||
] | ||
} | ||
} |
@@ -345,2 +345,2 @@ { | ||
} | ||
} | ||
} |
@@ -213,2 +213,2 @@ { | ||
} | ||
} | ||
} |
@@ -213,2 +213,2 @@ { | ||
} | ||
} | ||
} |
@@ -211,2 +211,2 @@ { | ||
"scopeName": "source.jsonnet" | ||
} | ||
} |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/8ae8d9cac742c65ae0bef1a5e2d068e2cae871bc", | ||
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/008e02c5ec9440fa9f0ea8a891712c7238f24706", | ||
"name": "julia", | ||
@@ -348,3 +348,3 @@ "scopeName": "source.julia", | ||
{ | ||
"match": "(?:\\$(?=.+))", | ||
"match": "(?:\\$)(?=.+)", | ||
"name": "keyword.operator.interpolation.julia" | ||
@@ -839,3 +839,3 @@ }, | ||
{ | ||
"begin": "(?<!(?:[[: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}←-⇿]))\"\"\"", | ||
"begin": "\"\"\"", | ||
"beginCaptures": { | ||
@@ -865,3 +865,3 @@ "0": { | ||
"name": "string.quoted.double.julia", | ||
"begin": "(?<!(?:[[: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}←-⇿]))\"(?!\"\")", | ||
"begin": "\"(?!\"\")", | ||
"beginCaptures": { | ||
@@ -1117,2 +1117,2 @@ "0": { | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"kt", | ||
"kts" | ||
], | ||
"fileTypes": ["kt", "kts"], | ||
"foldingStartMarker": "(\\{\\s*(//.*)?$|^\\s*// \\{\\{\\{)", | ||
@@ -708,2 +705,2 @@ "foldingStopMarker": "^\\s*(\\}|// \\}\\}\\}$)", | ||
"uuid": "d9380650-5edc-447d-8dbd-98838c7d0adf" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"tex" | ||
], | ||
"fileTypes": ["tex"], | ||
"firstLineMatch": "^\\\\documentclass(\\[.*\\])?\\{.*\\}", | ||
@@ -132,3 +130,3 @@ "keyEquivalent": "^~L", | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -152,3 +150,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -172,3 +170,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -192,3 +190,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -212,3 +210,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -232,3 +230,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -252,3 +250,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -272,3 +270,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -292,3 +290,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -312,3 +310,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -332,3 +330,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -352,3 +350,3 @@ ] | ||
{ | ||
"include": "#minted-env" | ||
"include": "#env-mandatory-arg" | ||
} | ||
@@ -756,3 +754,3 @@ ] | ||
{ | ||
"begin": "(?:\\s*)((\\\\)begin)(\\{)((?:align|equation|(?:IEEE)?eqnarray|multline|aligned|alignat|split|gather|gathered|cases|displaymath|[a-zA-Z]*matrix|(?:(?:arg)?(?:mini|maxi)))(?:\\*|!)?)(\\})(\\s*\\n)?", | ||
"begin": "(?:\\s*)((\\\\)begin)(\\{)((?:array|align|equation|(?:IEEE)?eqnarray|multline|aligned|alignat|split|gather|gathered|cases|(?:display)?math|[a-zA-Z]*matrix|(?:(?:arg)?(?:mini|maxi)))(?:\\*|!)?)(\\})(\\s*\\n)?", | ||
"captures": { | ||
@@ -799,5 +797,39 @@ "1": { | ||
{ | ||
"begin": "(?:\\s*)((\\\\)begin)(\\{)(array|tabular[xy*]?|xltabular|longtable)(\\})(\\s*\\n)?", | ||
"begin": "(\\\\begin\\{empheq\\}(?:\\[.*\\])?)", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#env-mandatory-arg" | ||
} | ||
] | ||
} | ||
}, | ||
"contentName": "meta.math.block.latex support.class.math.block.environment.latex", | ||
"end": "(\\\\end\\{empheq\\})", | ||
"name": "meta.function.environment.math.latex", | ||
"patterns": [ | ||
{ | ||
"match": "(?<!\\\\)&", | ||
"name": "keyword.control.equation.align.latex" | ||
}, | ||
{ | ||
"match": "\\\\\\\\", | ||
"name": "keyword.control.equation.newline.latex" | ||
}, | ||
{ | ||
"include": "#definition-label" | ||
}, | ||
{ | ||
"include": "text.tex#math" | ||
}, | ||
{ | ||
"include": "$base" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(?:\\s*)((\\\\)begin)(\\{)(tabular[xy*]?|xltabular|longtable)(\\})(\\s*\\n)?", | ||
"captures": { | ||
"1": { | ||
"name": "support.function.be.latex" | ||
@@ -1297,3 +1329,3 @@ }, | ||
{ | ||
"begin": "((\\\\)verb[\\*]?)\\s*((\\\\)scantokens)(\\{)", | ||
"begin": "((\\\\)[vV]erb[\\*]?)\\s*((\\\\)scantokens)(\\{)", | ||
"beginCaptures": { | ||
@@ -1348,3 +1380,3 @@ "1": { | ||
}, | ||
"match": "((\\\\)verb[\\*]?)\\s*((?<=\\s)\\S|[^a-zA-Z])(.*?)(\\3|$)", | ||
"match": "((\\\\)[vV]erb[\\*]?)\\s*((?<=\\s)\\S|[^a-zA-Z])(.*?)(\\3|$)", | ||
"name": "meta.function.verb.latex" | ||
@@ -1638,3 +1670,3 @@ }, | ||
}, | ||
"minted-env": { | ||
"env-mandatory-arg": { | ||
"captures": { | ||
@@ -1660,15 +1692,22 @@ "1": { | ||
"7": { | ||
"patterns": [ | ||
{ | ||
"include": "$base" | ||
} | ||
] | ||
}, | ||
"8": { | ||
"name": "punctuation.definition.arguments.optional.end.latex" | ||
}, | ||
"8": { | ||
"9": { | ||
"name": "punctuation.definition.arguments.begin.latex" | ||
}, | ||
"9": { | ||
"10": { | ||
"name": "variable.parameter.function.latex" | ||
}, | ||
"10": { | ||
"11": { | ||
"name": "punctuation.definition.arguments.end.latex" | ||
} | ||
}, | ||
"match": "((\\\\)(?:begin|end))(\\{)(lstlisting|minted|pyglist)(\\})(?:(\\[).*(\\]))?(?:(\\{)([a-z]*)(\\}))?" | ||
"match": "((\\\\)(?:begin|end))(\\{)([a-z]*)(\\})(?:(\\[)(.*)(\\]))?(?:(\\{)([^{}]*)(\\}))?" | ||
}, | ||
@@ -1731,2 +1770,2 @@ "code-env": { | ||
"uuid": "3BEEA00C-6B1D-11D9-B8AD-000D93589AF6" | ||
} | ||
} |
@@ -542,2 +542,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"comment": "", | ||
"fileTypes": [ | ||
"lisp", | ||
"cl", | ||
"l", | ||
"mud", | ||
"el" | ||
], | ||
"fileTypes": ["lisp", "cl", "l", "mud", "el"], | ||
"foldingStartMarker": "\\(", | ||
@@ -123,2 +117,2 @@ "foldingStopMarker": "\\)", | ||
"uuid": "00D451C9-6B1D-11D9-8DFA-000D93589AF6" | ||
} | ||
} |
@@ -56,2 +56,2 @@ { | ||
"uuid": "7613EC24-B0F9-4D01-8706-1D54098BFFD8" | ||
} | ||
} |
@@ -281,2 +281,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"m" | ||
], | ||
"fileTypes": ["m"], | ||
"keyEquivalent": "^~M", | ||
@@ -1132,2 +1130,2 @@ "name": "matlab", | ||
"uuid": "48F8858B-72FF-11D9-BFEE-000D93589AF6" | ||
} | ||
} |
@@ -63,2 +63,2 @@ { | ||
"scopeName": "text.html.markdown.jsx" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"nix" | ||
], | ||
"fileTypes": ["nix"], | ||
"name": "nix", | ||
@@ -1200,2 +1198,2 @@ "patterns": [ | ||
"uuid": "0514fd5f-acb6-436d-b42c-7643e6d36c8f" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"pas", | ||
"p", | ||
"pp", | ||
"dfm", | ||
"dpr", | ||
"dpk", | ||
"lfm", | ||
"lpr" | ||
], | ||
"fileTypes": ["pas", "p", "pp", "dfm", "dpr", "dpk", "lfm", "lpr"], | ||
"keyEquivalent": "^~P", | ||
@@ -154,2 +145,2 @@ "name": "pascal", | ||
"uuid": "F42FA544-6B1C-11D9-9517-000D93589AF6" | ||
} | ||
} |
@@ -7,107 +7,6 @@ { | ||
], | ||
"version": "https://github.com/atom/language-php/commit/b6c5e83016b52311cdc622c2579462861ee91587", | ||
"version": "https://github.com/atom/language-php/commit/2bf736a814e1a58aa63470c1a29590bd02e924e7", | ||
"name": "php-html", | ||
"scopeName": "text.html.php", | ||
"injections": { | ||
"L:source.php string.quoted.single.sql.php source.sql.embedded.php": { | ||
"patterns": [ | ||
{ | ||
"match": "(#)(\\\\'|[^'])*(?='|$)", | ||
"name": "comment.line.number-sign.sql", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.comment.sql" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(--)(\\\\'|[^'])*(?='|$)", | ||
"name": "comment.line.double-dash.sql", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.comment.sql" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "\\\\[\\\\'`\"]", | ||
"name": "constant.character.escape.php" | ||
}, | ||
{ | ||
"match": "\"(?=((\\\\\")|[^\"'])*('|$))", | ||
"name": "string.quoted.double.unclosed.sql" | ||
} | ||
] | ||
}, | ||
"L:source.php string.quoted.double.sql.php source.sql.embedded.php": { | ||
"patterns": [ | ||
{ | ||
"match": "(#)(\\\\\"|[^\"])*(?=\"|$)", | ||
"name": "comment.line.number-sign.sql", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.comment.sql" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(--)(\\\\\"|[^\"])*(?=\"|$)", | ||
"name": "comment.line.double-dash.sql", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.comment.sql" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "\\\\[\\\\'`\"]", | ||
"name": "constant.character.escape.php" | ||
}, | ||
{ | ||
"match": "(')([^'\\\\]*)(')", | ||
"name": "string.quoted.single.sql", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.string.begin.sql" | ||
}, | ||
"2": { | ||
"patterns": [ | ||
{ | ||
"include": "source.php#interpolation_double_quoted" | ||
} | ||
] | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.string.end.sql" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(`)([^`\\\\]*)(`)", | ||
"name": "string.quoted.other.backtick.sql", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.string.begin.sql" | ||
}, | ||
"2": { | ||
"patterns": [ | ||
{ | ||
"include": "source.php#interpolation_double_quoted" | ||
} | ||
] | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.string.end.sql" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "'(?=((\\\\')|[^'\"])*(\"|$))", | ||
"name": "string.quoted.single.unclosed.sql" | ||
}, | ||
{ | ||
"include": "source.php#interpolation_double_quoted" | ||
} | ||
] | ||
}, | ||
"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))": { | ||
@@ -190,2 +89,2 @@ "patterns": [ | ||
} | ||
} | ||
} |
@@ -371,8 +371,5 @@ { | ||
"foldingStopMarker": "\\*/|^\\s*$", | ||
"fileTypes": [ | ||
"pcss", | ||
"postcss" | ||
], | ||
"fileTypes": ["pcss", "postcss"], | ||
"uuid": "90DAEA60-88AA-11E2-9E96-0800200C9A66", | ||
"scopeName": "source.css.postcss" | ||
} | ||
} |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "https://github.com/PowerShell/EditorSyntax/commit/d10ae29c0d3ceb248172c383a159ae43b9ccfb4d", | ||
"version": "https://github.com/PowerShell/EditorSyntax/commit/c150c15cca30cafd2159e3f53514f93ccf4c5649", | ||
"name": "powershell", | ||
@@ -46,3 +46,3 @@ "scopeName": "source.powershell", | ||
{ | ||
"include": "#interpolatedStringContent" | ||
"include": "#subexpression" | ||
}, | ||
@@ -75,3 +75,3 @@ { | ||
{ | ||
"begin": "(?<!')'", | ||
"begin": "['\\x{2018}-\\x{201B}]", | ||
"beginCaptures": { | ||
@@ -82,3 +82,4 @@ "0": { | ||
}, | ||
"end": "'(?!')", | ||
"end": "['\\x{2018}-\\x{201B}]", | ||
"applyEndPatternLast": true, | ||
"endCaptures": { | ||
@@ -92,3 +93,3 @@ "0": { | ||
{ | ||
"match": "''", | ||
"match": "['\\x{2018}-\\x{201B}]{2}", | ||
"name": "constant.character.escape.powershell" | ||
@@ -99,4 +100,14 @@ } | ||
{ | ||
"begin": "\\@\"(?=$)", | ||
"end": "^\"@", | ||
"begin": "(@[\"\\x{201C}-\\x{201E}])\\s*$", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.string.begin.powershell" | ||
} | ||
}, | ||
"end": "^[\"\\x{201C}-\\x{201E}]@", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.powershell" | ||
} | ||
}, | ||
"name": "string.quoted.double.heredoc.powershell", | ||
@@ -116,11 +127,15 @@ "patterns": [ | ||
{ | ||
"begin": "\\@'(?=$)", | ||
"end": "^'@", | ||
"name": "string.quoted.single.heredoc.powershell", | ||
"patterns": [ | ||
{ | ||
"match": "''", | ||
"name": "constant.character.escape.powershell" | ||
"begin": "(@['\\x{2018}-\\x{201B}])\\s*$", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.string.begin.powershell" | ||
} | ||
] | ||
}, | ||
"end": "^['\\x{2018}-\\x{201B}]@", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.powershell" | ||
} | ||
}, | ||
"name": "string.quoted.single.heredoc.powershell" | ||
}, | ||
@@ -154,8 +169,11 @@ { | ||
{ | ||
"begin": "(\\$)(\\()", | ||
"begin": "((\\$))(\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.variable.powershell" | ||
"name": "keyword.other.substatement.powershell" | ||
}, | ||
"2": { | ||
"name": "punctuation.definition.subexpression.powershell" | ||
}, | ||
"3": { | ||
"name": "punctuation.section.group.begin.powershell" | ||
@@ -267,5 +285,5 @@ } | ||
"commentLine": { | ||
"begin": "(?<![`\\\\-])#", | ||
"begin": "(?<![`\\\\-])(#)#*", | ||
"captures": { | ||
"0": { | ||
"1": { | ||
"name": "punctuation.definition.comment.powershell" | ||
@@ -375,3 +393,4 @@ } | ||
}, | ||
"match": "^(?i:(?:\\s?|#)+(\\.)(COMPONENT|DESCRIPTION|EXAMPLE|EXTERNALHELP|FORWARDHELPCATEGORY|FORWARDHELPTARGETNAME|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|REMOTEHELPRUNSPACE|ROLE|SYNOPSIS))", | ||
"comment": "these embedded doc keywords do not support arguments, must be the only thing on the line", | ||
"match": "(?:^|\\G)(?i:\\s*(\\.)(COMPONENT|DESCRIPTION|EXAMPLE|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|ROLE|SYNOPSIS))\\s*$", | ||
"name": "comment.documentation.embedded.powershell" | ||
@@ -391,3 +410,4 @@ }, | ||
}, | ||
"match": "(?i:\\s?(\\.)(PARAMETER|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP)\\s+([a-z0-9-_]+))", | ||
"comment": "these embedded doc keywords require arguments though the type required may be inconsistent, they may not all be able to use the same argument match", | ||
"match": "(?:^|\\G)(?i:\\s*(\\.)(EXTERNALHELP|FORWARDHELP(?:CATEGORY|TARGETNAME)|PARAMETER|REMOTEHELPRUNSPACE))\\s+(.+?)\\s*$", | ||
"name": "comment.documentation.embedded.powershell" | ||
@@ -400,3 +420,3 @@ } | ||
{ | ||
"match": "`[`0abefnrtv\"'$]", | ||
"match": "`[`0abefnrtv'\"\\x{2018}-\\x{201E}$]", | ||
"name": "constant.character.escape.powershell" | ||
@@ -406,6 +426,2 @@ }, | ||
"include": "#unicodeEscape" | ||
}, | ||
{ | ||
"match": "\"\"", | ||
"name": "constant.character.escape.powershell" | ||
} | ||
@@ -450,3 +466,3 @@ ] | ||
}, | ||
"interpolatedStringContent": { | ||
"subexpression": { | ||
"begin": "\\(", | ||
@@ -458,3 +474,2 @@ "beginCaptures": { | ||
}, | ||
"contentName": "interpolated.simple.source.powershell", | ||
"end": "\\)", | ||
@@ -466,11 +481,6 @@ "endCaptures": { | ||
}, | ||
"name": "meta.group.simple.subexpression.powershell", | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
}, | ||
{ | ||
"include": "#interpolation" | ||
}, | ||
{ | ||
"include": "#interpolatedStringContent" | ||
} | ||
@@ -480,27 +490,34 @@ ] | ||
"interpolation": { | ||
"begin": "(\\$)(\\()", | ||
"begin": "(((\\$)))((\\())", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.variable.powershell" | ||
"name": "keyword.other.substatement.powershell" | ||
}, | ||
"2": { | ||
"name": "punctuation.definition.substatement.powershell" | ||
}, | ||
"3": { | ||
"name": "punctuation.section.embedded.substatement.begin.powershell" | ||
}, | ||
"4": { | ||
"name": "punctuation.section.group.begin.powershell" | ||
}, | ||
"5": { | ||
"name": "punctuation.section.embedded.substatement.begin.powershell" | ||
} | ||
}, | ||
"contentName": "interpolated.complex.source.powershell", | ||
"end": "\\)", | ||
"end": "(\\))", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.section.group.end.powershell" | ||
}, | ||
"1": { | ||
"name": "punctuation.section.embedded.substatement.end.powershell" | ||
} | ||
}, | ||
"name": "meta.embedded.substatement.powershell", | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
}, | ||
{ | ||
"include": "#interpolation" | ||
}, | ||
{ | ||
"include": "#interpolatedStringContent" | ||
} | ||
@@ -799,3 +816,3 @@ ] | ||
{ | ||
"match": "\\-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version)", | ||
"match": "\\-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version|Assembly|PSEdition)", | ||
"name": "keyword.other.powershell" | ||
@@ -992,3 +1009,3 @@ }, | ||
"doubleQuotedString": { | ||
"begin": "(?<!(?<!`)\")\"", | ||
"begin": "[\"\\x{201C}-\\x{201E}]", | ||
"beginCaptures": { | ||
@@ -999,3 +1016,4 @@ "0": { | ||
}, | ||
"end": "\"(?!\")", | ||
"end": "[\"\\x{201C}-\\x{201E}]", | ||
"applyEndPatternLast": true, | ||
"endCaptures": { | ||
@@ -1018,2 +1036,6 @@ "0": { | ||
{ | ||
"match": "[\"\\x{201C}-\\x{201E}]{2}", | ||
"name": "constant.character.escape.powershell" | ||
}, | ||
{ | ||
"include": "#interpolation" | ||
@@ -1028,2 +1050,2 @@ }, | ||
} | ||
} | ||
} |
@@ -5,6 +5,3 @@ { | ||
"scopeName": "source.prolog", | ||
"fileTypes": [ | ||
"pl", | ||
"pro" | ||
], | ||
"fileTypes": ["pl", "pro"], | ||
"uuid": "df89928b-6612-475a-b414-f319d9b98664", | ||
@@ -300,2 +297,2 @@ "patterns": [ | ||
} | ||
} | ||
} |
@@ -987,2 +987,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"scopeName": "source.puppet", | ||
"fileTypes": [ | ||
"pp" | ||
], | ||
"fileTypes": ["pp"], | ||
"foldingStartMarker": "(^\\s*/\\*|(\\{|\\[|\\()\\s*$)", | ||
@@ -776,2 +774,2 @@ "foldingStopMarker": "(\\*/|^\\s*(\\}|\\]|\\)))", | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"purs" | ||
], | ||
"fileTypes": ["purs"], | ||
"name": "purescript", | ||
@@ -316,3 +314,3 @@ "scopeName": "source.purescript", | ||
"name": "constant.numeric.decimal.purescript", | ||
"match": "(?x)\n(?<!\\$)(?:\n (?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| # 1.1E+3\n (?:\\b[0-9]+[eE][+-]?[0-9]+\\b)| # 1E+3\n (?:\\b[0-9]+(\\.)[0-9]+\\b)| # 1.1\n)(?!\\$)", | ||
"match": "(?x)\n(?<!\\$)(?:\n (?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| # 1.1E+3\n (?:\\b[0-9]+[eE][+-]?[0-9]+\\b)| # 1E+3\n (?:\\b[0-9]+(\\.)[0-9]+\\b)| # 1.1\n (?:\\b[0-9]+\\b(?!\\.)) # 1\n)(?!\\$)", | ||
"captures": { | ||
@@ -883,2 +881,2 @@ "0": { | ||
} | ||
} | ||
} |
@@ -540,2 +540,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"information_for_contributors": [ | ||
"This file has been converted from https://github.com/demyte/language-cshtml/blob/master/grammars/cshtml.json", | ||
"If you want to provide a fix or improvement, please create a pull request against the original repository.", | ||
"Once accepted there, we are happy to receive an update request." | ||
], | ||
"version": "https://github.com/demyte/language-cshtml/commit/e6e54d5a86a28cc1e44609a32aaa10a244cd3f81", | ||
"name": "razor", | ||
"scopeName": "text.html.cshtml", | ||
"scopeName": "text.aspnetcorerazor", | ||
"fileTypes": ["razor", "cshtml"], | ||
"patterns": [ | ||
{ | ||
"include": "#razor-directives" | ||
"include": "#razor-control-structures" | ||
}, | ||
{ | ||
"include": "#razor-code-block" | ||
"include": "text.html.basic" | ||
} | ||
], | ||
"repository": { | ||
"razor-control-structures": { | ||
"patterns": [ | ||
{ | ||
"include": "#razor-comment" | ||
}, | ||
{ | ||
"include": "#razor-codeblock" | ||
}, | ||
{ | ||
"include": "#explicit-razor-expression" | ||
}, | ||
{ | ||
"include": "#escaped-transition" | ||
}, | ||
{ | ||
"include": "#directives" | ||
}, | ||
{ | ||
"include": "#transitioned-csharp-control-structures" | ||
}, | ||
{ | ||
"include": "#implicit-expression" | ||
} | ||
] | ||
}, | ||
{ | ||
"include": "#razor-else-if" | ||
"escaped-transition": { | ||
"name": "constant.character.escape.razor.transition", | ||
"match": "@@" | ||
}, | ||
{ | ||
"include": "#razor-if" | ||
"transition": { | ||
"match": "@", | ||
"name": "keyword.control.cshtml.transition" | ||
}, | ||
{ | ||
"include": "#razor-else" | ||
"razor-codeblock": { | ||
"name": "meta.structure.razor.codeblock", | ||
"begin": "(@)(\\{)", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.codeblock.open" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(\\})", | ||
"endCaptures": { | ||
"1": { | ||
"name": "keyword.control.razor.directive.codeblock.close" | ||
} | ||
} | ||
}, | ||
{ | ||
"include": "#razor-foreach" | ||
"razor-codeblock-body": { | ||
"patterns": [ | ||
{ | ||
"include": "#text-tag" | ||
}, | ||
{ | ||
"include": "#wellformed-html" | ||
}, | ||
{ | ||
"include": "#razor-single-line-markup" | ||
}, | ||
{ | ||
"include": "#razor-control-structures" | ||
}, | ||
{ | ||
"include": "source.cs" | ||
} | ||
] | ||
}, | ||
{ | ||
"include": "#explicit-razor-expression" | ||
"razor-single-line-markup": { | ||
"match": "(\\@\\:)([^$]*)$", | ||
"captures": { | ||
"1": { | ||
"name": "keyword.control.razor.singleLineMarkup" | ||
}, | ||
"2": { | ||
"patterns": [ | ||
{ | ||
"include": "#razor-control-structures" | ||
}, | ||
{ | ||
"include": "text.html.basic" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"include": "#implicit-razor-expression" | ||
"text-tag": { | ||
"begin": "(<text\\s*>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.cshtml.transition.textTag.open" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#balanced-open-close-tag-body" | ||
}, | ||
{ | ||
"include": "#wellformed-html" | ||
} | ||
], | ||
"end": "(</text>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "keyword.control.cshtml.transition.textTag.close" | ||
} | ||
} | ||
}, | ||
{ | ||
"include": "text.html.basic" | ||
} | ||
], | ||
"repository": { | ||
"comments": { | ||
"begin": "@\\*", | ||
"captures": { | ||
"0": { | ||
"name": "punctuation.definition.comment.source.cshtml" | ||
"razor-comment": { | ||
"name": "meta.comment.razor", | ||
"begin": "(@)(\\*)", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.comment.star" | ||
} | ||
}, | ||
"end": "\\*@", | ||
"name": "comment.block.cshtml" | ||
"contentName": "comment.block.razor", | ||
"end": "(\\*)(@)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "keyword.control.razor.comment.star" | ||
}, | ||
"2": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"razor-directives": { | ||
"name": "meta.directive.cshtml", | ||
"wellformed-html": { | ||
"patterns": [ | ||
{ | ||
"include": "#using-directive" | ||
"include": "#void-tag" | ||
}, | ||
{ | ||
"include": "#model-directive" | ||
"include": "#balanced-open-close-tag" | ||
} | ||
] | ||
}, | ||
"void-tag": { | ||
"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|/?>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "constant.character.escape.razor.tagHelperOptOut" | ||
}, | ||
"3": { | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#inherits-directive" | ||
"include": "text.html.basic#attribute" | ||
} | ||
], | ||
"end": "/?>", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
} | ||
}, | ||
"balanced-open-close-tag": { | ||
"begin": "(?=<([^/\\s>]+))", | ||
"patterns": [ | ||
{ | ||
"include": "#balanced-open-close-tag-start" | ||
}, | ||
{ | ||
"include": "#inject-directive" | ||
"include": "#balanced-open-close-tag-end" | ||
}, | ||
{ | ||
"include": "#implements-directive" | ||
"include": "#balanced-open-close-tag-body" | ||
} | ||
], | ||
"end": "(?<=(</\\1>))|(/>)" | ||
}, | ||
"balanced-open-close-tag-start": { | ||
"begin": "(<)(?!(/))([^/\\s>]+)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "constant.character.escape.razor.tagHelperOptOut" | ||
}, | ||
"3": { | ||
"name": "entity.name.tag.html" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#layout-directive" | ||
"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": "#page-directive" | ||
"include": "text.html.basic#attribute" | ||
} | ||
], | ||
"end": "(?=/?>)" | ||
}, | ||
"balanced-open-close-tag-body": { | ||
"begin": "(?<=([^/])>)", | ||
"patterns": [ | ||
{ | ||
"include": "#wellformed-html" | ||
}, | ||
{ | ||
"include": "#functions-directive" | ||
"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": { | ||
"name": "meta.expression.explicit.cshtml", | ||
"begin": "(@)\\(", | ||
"captures": { | ||
"beginCaptures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
}, | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
} | ||
@@ -89,38 +297,64 @@ }, | ||
{ | ||
"include": "source.cs" | ||
"include": "source.cs#expression" | ||
} | ||
], | ||
"end": "\\)" | ||
}, | ||
"implicit-razor-expression": { | ||
"name": "meta.expression.implicit.cshtml", | ||
"begin": "(@)([a-zA-Z0-9\\.\\_\\(\\)]+)", | ||
"captures": { | ||
"end": "\\)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
} | ||
} | ||
}, | ||
"implicit-expression": { | ||
"name": "meta.expression.implicit.cshtml", | ||
"begin": "(?<![[:alpha:][:alnum:]])(@)", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
} | ||
}, | ||
"end": "$" | ||
"patterns": [ | ||
{ | ||
"include": "#await-prefix" | ||
}, | ||
{ | ||
"include": "#implicit-expression-body" | ||
} | ||
], | ||
"end": "(?=[\\s<>\\{\\}\\)\\]'\"])" | ||
}, | ||
"using-directive": { | ||
"name": "meta.directive.using.cshtml", | ||
"begin": "(@using)\\s+", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"implicit-expression-body": { | ||
"patterns": [ | ||
{ | ||
"include": "#implicit-expression-invocation-start" | ||
}, | ||
{ | ||
"include": "#implicit-expression-accessor-start" | ||
} | ||
], | ||
"end": "(?=[\\s<>\\{\\}\\)\\]'\"])" | ||
}, | ||
"implicit-expression-invocation-start": { | ||
"begin": "([_[:alpha:]][_[:alnum:]]*)(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "entity.name.function.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-namespace-identifier" | ||
"include": "#implicit-expression-continuation" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(?=[\\s<>\\{\\}\\)\\]'\"])" | ||
}, | ||
"model-directive": { | ||
"name": "meta.directive.model.cshtml", | ||
"begin": "(@model)\\s+", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"implicit-expression-accessor-start": { | ||
"begin": "([_[:alpha:]][_[:alnum:]]*)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "variable.other.object.cs" | ||
} | ||
@@ -130,58 +364,194 @@ }, | ||
{ | ||
"include": "#csharp-type-name" | ||
"include": "#implicit-expression-continuation" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(?=[\\s<>\\{\\}\\)\\]'\"])" | ||
}, | ||
"inherits-directive": { | ||
"name": "meta.directive.inherits.cshtml", | ||
"begin": "(@inherits)\\s+", | ||
"implicit-expression-continuation": { | ||
"patterns": [ | ||
{ | ||
"include": "#balanced-parenthesis-csharp" | ||
}, | ||
{ | ||
"include": "#balanced-brackets-csharp" | ||
}, | ||
{ | ||
"include": "#implicit-expression-invocation" | ||
}, | ||
{ | ||
"include": "#implicit-expression-accessor" | ||
}, | ||
{ | ||
"include": "#implicit-expression-extension" | ||
} | ||
], | ||
"end": "(?=[\\s<>\\{\\}\\)\\]'\"])" | ||
}, | ||
"implicit-expression-accessor": { | ||
"match": "(?<=\\.)[_[:alpha:]][_[:alnum:]]*", | ||
"name": "variable.other.object.property.cs" | ||
}, | ||
"implicit-expression-invocation": { | ||
"match": "(?<=\\.)[_[:alpha:]][_[:alnum:]]*(?=\\()", | ||
"name": "entity.name.function.cs" | ||
}, | ||
"implicit-expression-operator": { | ||
"patterns": [ | ||
{ | ||
"include": "#implicit-expression-dot-operator" | ||
}, | ||
{ | ||
"include": "#implicit-expression-null-conditional-operator" | ||
}, | ||
{ | ||
"include": "#implicit-expression-null-forgiveness-operator" | ||
} | ||
] | ||
}, | ||
"implicit-expression-dot-operator": { | ||
"match": "(\\.)(?=[_[:alpha:]][_[:alnum:]]*)", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"1": { | ||
"name": "punctuation.accessor.cs" | ||
} | ||
} | ||
}, | ||
"implicit-expression-null-conditional-operator": { | ||
"match": "(\\?)(?=[.\\[])", | ||
"captures": { | ||
"1": { | ||
"name": "keyword.operator.null-conditional.cs" | ||
} | ||
} | ||
}, | ||
"implicit-expression-null-forgiveness-operator": { | ||
"match": "(\\!)(?=(?:\\.[_[:alpha:]][_[:alnum:]]*)|\\?|[\\[\\(])", | ||
"captures": { | ||
"1": { | ||
"name": "keyword.operator.logical.cs" | ||
} | ||
} | ||
}, | ||
"balanced-parenthesis-csharp": { | ||
"begin": "(\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.parenthesis.open.cs" | ||
} | ||
}, | ||
"name": "razor.test.balanced.parenthesis", | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-type-name" | ||
"include": "source.cs" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(\\))", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.parenthesis.close.cs" | ||
} | ||
} | ||
}, | ||
"inject-directive": { | ||
"name": "meta.directive.inject.cshtml", | ||
"begin": "(@inject)\\s+", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"balanced-brackets-csharp": { | ||
"begin": "(\\[)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.squarebracket.open.cs" | ||
} | ||
}, | ||
"name": "razor.test.balanced.brackets", | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-type-name" | ||
"include": "source.cs" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(\\])", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.squarebracket.close.cs" | ||
} | ||
} | ||
}, | ||
"implements-directive": { | ||
"name": "meta.directive.implements.cshtml", | ||
"begin": "(@implements)\\s+", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"directives": { | ||
"patterns": [ | ||
{ | ||
"include": "#code-directive" | ||
}, | ||
{ | ||
"include": "#functions-directive" | ||
}, | ||
{ | ||
"include": "#page-directive" | ||
}, | ||
{ | ||
"include": "#addTagHelper-directive" | ||
}, | ||
{ | ||
"include": "#removeTagHelper-directive" | ||
}, | ||
{ | ||
"include": "#tagHelperPrefix-directive" | ||
}, | ||
{ | ||
"include": "#model-directive" | ||
}, | ||
{ | ||
"include": "#inherits-directive" | ||
}, | ||
{ | ||
"include": "#implements-directive" | ||
}, | ||
{ | ||
"include": "#namespace-directive" | ||
}, | ||
{ | ||
"include": "#inject-directive" | ||
}, | ||
{ | ||
"include": "#attribute-directive" | ||
}, | ||
{ | ||
"include": "#section-directive" | ||
}, | ||
{ | ||
"include": "#layout-directive" | ||
}, | ||
{ | ||
"include": "#using-directive" | ||
} | ||
] | ||
}, | ||
"code-directive": { | ||
"begin": "(@)(code)\\s*", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.code" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-type-name" | ||
"include": "#directive-codeblock" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(?<=})|\\s" | ||
}, | ||
"layout-directive": { | ||
"name": "meta.directive.layout.cshtml", | ||
"begin": "(@layout)\\s+", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"functions-directive": { | ||
"begin": "(@)(functions)\\s*", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.functions" | ||
} | ||
@@ -191,15 +561,15 @@ }, | ||
{ | ||
"include": "#csharp-type-name" | ||
"include": "#directive-codeblock" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(?<=})|\\s" | ||
}, | ||
"page-directive": { | ||
"name": "meta.directive.page.cshtml", | ||
"begin": "(@page)\\s+", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"directive-codeblock": { | ||
"begin": "(\\{)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.razor.directive.codeblock.open" | ||
} | ||
}, | ||
"name": "meta.structure.razor.directive.codeblock", | ||
"patterns": [ | ||
@@ -210,32 +580,305 @@ { | ||
], | ||
"end": "$" | ||
"end": "(\\})", | ||
"endCaptures": { | ||
"1": { | ||
"name": "keyword.control.razor.directive.codeblock.close" | ||
} | ||
} | ||
}, | ||
"functions-directive": { | ||
"name": "meta.directive.functions.cshtml", | ||
"match": "(@functions)", | ||
"page-directive": { | ||
"name": "meta.directive.page.cshtml", | ||
"match": "(@)(page)\\s+([^$]+)?", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.page" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#string-literal" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"razor-if": { | ||
"begin": "(@if)", | ||
"addTagHelper-directive": { | ||
"name": "meta.directive.addTagHelper.razor", | ||
"match": "(@)(addTagHelper)\\s+([^$]+)?", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.addTagHelper" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "#tagHelper-directive-argument" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"removeTagHelper-directive": { | ||
"name": "meta.directive.removeTagHelper.razor", | ||
"match": "(@)(removeTagHelper)\\s+([^$]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.removeTagHelper" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "#tagHelper-directive-argument" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"tagHelperPrefix-directive": { | ||
"name": "meta.directive.tagHelperPrefix.razor", | ||
"match": "(@)(tagHelperPrefix)\\s+([^$]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.tagHelperPrefix" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "#tagHelper-directive-argument" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"tagHelper-directive-argument": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#string-literal" | ||
}, | ||
{ | ||
"include": "#unquoted-string-argument" | ||
} | ||
] | ||
}, | ||
"unquoted-string-argument": { | ||
"name": "string.quoted.double.cs", | ||
"match": "[^$]+" | ||
}, | ||
"model-directive": { | ||
"name": "meta.directive.model.cshtml", | ||
"match": "(@)(model)\\s+([^$]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.model" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"inherits-directive": { | ||
"name": "meta.directive.inherits.cshtml", | ||
"match": "(@)(inherits)\\s+([^$]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.inherits" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"implements-directive": { | ||
"name": "meta.directive.implements.razor", | ||
"match": "(@)(implements)\\s+([^$]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.implements" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"layout-directive": { | ||
"name": "meta.directive.layout.razor", | ||
"match": "(@)(layout)\\s+([^$]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.layout" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"namespace-directive": { | ||
"name": "meta.directive.namespace.razor", | ||
"match": "(@)(namespace)\\s+([^\\s]+)?", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.namespace" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "#namespace-directive-argument" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"namespace-directive-argument": { | ||
"match": "([_[:alpha:]][_[:alnum:]]*)(\\.)?", | ||
"captures": { | ||
"1": { | ||
"name": "entity.name.type.namespace.cs" | ||
}, | ||
"2": { | ||
"name": "punctuation.accessor.cs" | ||
} | ||
} | ||
}, | ||
"inject-directive": { | ||
"name": "meta.directive.inject.cshtml", | ||
"match": "(@)(inject)\\s*([\\S\\s]+?)?\\s*([_[:alpha:]][_[:alnum:]]*)?\\s*(?=$)", | ||
"captures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.inject" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
}, | ||
"4": { | ||
"name": "entity.name.variable.property.cs" | ||
} | ||
} | ||
}, | ||
"attribute-directive": { | ||
"name": "meta.directive.attribute.razor", | ||
"begin": "(@)(attribute)\\b\\s+", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.attribute" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.cs" | ||
"include": "source.cs#attribute-section" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(?<=\\])|$" | ||
}, | ||
"razor-else": { | ||
"begin": "(else)", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"section-directive": { | ||
"name": "meta.directive.section.razor", | ||
"begin": "(@)(section)\\b\\s+([_[:alpha:]][_[:alnum:]]*)?", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.razor.directive.section" | ||
}, | ||
"3": { | ||
"name": "variable.other.razor.directive.sectionName" | ||
} | ||
@@ -245,12 +888,13 @@ }, | ||
{ | ||
"include": "source.cs" | ||
"include": "#directive-markupblock" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(?<=})" | ||
}, | ||
"razor-else-if": { | ||
"begin": "(else\\s+if)", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"directive-markupblock": { | ||
"name": "meta.structure.razor.directive.markblock", | ||
"begin": "(\\{)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.razor.directive.codeblock.open" | ||
} | ||
@@ -260,26 +904,160 @@ }, | ||
{ | ||
"include": "source.cs" | ||
"include": "$self" | ||
} | ||
], | ||
"end": "$" | ||
"end": "(\\})", | ||
"endCaptures": { | ||
"1": { | ||
"name": "keyword.control.razor.directive.codeblock.close" | ||
} | ||
} | ||
}, | ||
"razor-foreach": { | ||
"begin": "(@foreach)\\s+\\(", | ||
"using-directive": { | ||
"name": "meta.directive.using.cshtml", | ||
"match": "(@)(using)\\b\\s+(?!\\(|\\s)(.+?)?(;)?$", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.other.using.cs" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "#using-static-directive" | ||
}, | ||
{ | ||
"include": "#using-alias-directive" | ||
}, | ||
{ | ||
"include": "#using-standard-directive" | ||
} | ||
] | ||
}, | ||
"4": { | ||
"name": "keyword.control.razor.optionalSemicolon" | ||
} | ||
} | ||
}, | ||
"using-static-directive": { | ||
"match": "(static)\\b\\s+(.+)", | ||
"captures": { | ||
"1": { | ||
"name": "keyword.other.static.cs" | ||
}, | ||
"2": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"using-alias-directive": { | ||
"match": "([_[:alpha:]][_[:alnum:]]*)\\b\\s*(=)\\s*(.+)\\s*", | ||
"captures": { | ||
"1": { | ||
"name": "entity.name.type.alias.cs" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.assignment.cs" | ||
}, | ||
"3": { | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"using-standard-directive": { | ||
"match": "([_[:alpha:]][_[:alnum:]]*)\\s*", | ||
"captures": { | ||
"1": { | ||
"name": "entity.name.type.namespace.cs" | ||
} | ||
} | ||
}, | ||
"transitioned-csharp-control-structures": { | ||
"patterns": [ | ||
{ | ||
"include": "#using-statement" | ||
}, | ||
{ | ||
"include": "#if-statement" | ||
}, | ||
{ | ||
"include": "#else-part" | ||
}, | ||
{ | ||
"include": "#foreach-statement" | ||
}, | ||
{ | ||
"include": "#for-statement" | ||
}, | ||
{ | ||
"include": "#while-statement" | ||
}, | ||
{ | ||
"include": "#switch-statement" | ||
}, | ||
{ | ||
"include": "#lock-statement" | ||
}, | ||
{ | ||
"include": "#do-statement" | ||
}, | ||
{ | ||
"include": "#try-statement" | ||
} | ||
] | ||
}, | ||
"using-statement": { | ||
"name": "meta.statement.using.razor", | ||
"begin": "(?:^\\s*|(@))(using)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.other.using.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.cs" | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "\\)" | ||
"end": "(?<=})" | ||
}, | ||
"razor-code-block": { | ||
"begin": "@?\\{", | ||
"captures": { | ||
"0": { | ||
"name": "keyword.control.cshtml" | ||
"if-statement": { | ||
"name": "meta.statement.if.razor", | ||
"begin": "(?:^\\s*|(@))(if)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.conditional.if.cs" | ||
} | ||
@@ -289,28 +1067,132 @@ }, | ||
{ | ||
"include": "text.html.cshtml" | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "source.cs" | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "\\}" | ||
"end": "(?<=})" | ||
}, | ||
"csharp-namespace-identifier": { | ||
"else-part": { | ||
"name": "meta.statement.else.razor", | ||
"begin": "(?:^|(?<=}))\\s*(else)\\b\\s*?(?: (if))?\\s*?(?=[\\n\\(\\{])", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.conditional.else.cs" | ||
}, | ||
"2": { | ||
"name": "keyword.control.conditional.if.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"name": "entity.name.type.namespace.cs", | ||
"match": "[_[:alpha:]][_[:alnum:]]*" | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
] | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"csharp-type-name": { | ||
"for-statement": { | ||
"name": "meta.statement.for.razor", | ||
"begin": "(?:^\\s*|(@))(for)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.loop.for.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"match": "([_[:alpha:]][_[:alnum:]]*)\\s*(\\:\\:)", | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"foreach-statement": { | ||
"name": "meta.statement.foreach.razor", | ||
"begin": "(?:^\\s*|(@)(await\\s+)?)(foreach)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"patterns": [ | ||
{ | ||
"include": "#await-prefix" | ||
} | ||
] | ||
}, | ||
"3": { | ||
"name": "keyword.control.loop.foreach.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#foreach-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"foreach-condition": { | ||
"begin": "\\(", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.parenthesis.open.cs" | ||
} | ||
}, | ||
"end": "\\)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.parenthesis.close.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"match": "(?x)\n(?:\n (\\bvar\\b)|\n (?<type-name>\n (?:\n (?:\n (?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)? # alias-qualification\n (?<name-and-type-args> # identifier + type arguments (if any)\n \\g<identifier>\\s*\n (?<type-args>\\s*<(?:[^<>]|\\g<type-args>)+>\\s*)?\n )\n (?:\\s*\\.\\s*\\g<name-and-type-args>)* | # Are there any more names being dotted into?\n (?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\))\n )\n (?:\\s*\\?\\s*)? # nullable suffix?\n (?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)* # array suffix?\n )\n )\n)\\s+\n(\\g<identifier>)\\s+\n\\b(in)\\b", | ||
"captures": { | ||
"1": { | ||
"name": "entity.name.type.alias.cs" | ||
"name": "keyword.other.var.cs" | ||
}, | ||
"2": { | ||
"name": "punctuation.separator.coloncolon.cs" | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
}, | ||
"7": { | ||
"name": "entity.name.variable.local.cs" | ||
}, | ||
"8": { | ||
"name": "keyword.control.loop.in.cs" | ||
} | ||
@@ -320,9 +1202,16 @@ } | ||
{ | ||
"match": "([_[:alpha:]][_[:alnum:]]*)\\s*(\\.)", | ||
"match": "(?x) # match foreach (var (x, y) in ...)\n(?:\\b(var)\\b\\s*)?\n(?<tuple>\\((?:[^\\(\\)]|\\g<tuple>)+\\))\\s+\n\\b(in)\\b", | ||
"captures": { | ||
"1": { | ||
"name": "storage.type.cs" | ||
"name": "keyword.other.var.cs" | ||
}, | ||
"2": { | ||
"name": "punctuation.accessor.cs" | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#tuple-declaration-deconstruction-element-list" | ||
} | ||
] | ||
}, | ||
"3": { | ||
"name": "keyword.control.loop.in.cs" | ||
} | ||
@@ -332,19 +1221,313 @@ } | ||
{ | ||
"match": "(\\.)\\s*([_[:alpha:]][_[:alnum:]]*)", | ||
"include": "source.cs#expression" | ||
} | ||
] | ||
}, | ||
"do-statement": { | ||
"name": "meta.statement.do.razor", | ||
"begin": "(?:^\\s*|(@))(do)\\b\\s*", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.loop.do.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"while-statement": { | ||
"name": "meta.statement.while.razor", | ||
"begin": "(?:(@)|^\\s*|(?<=})\\s*)(while)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.loop.while.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})|(;)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.terminator.statement.cs" | ||
} | ||
} | ||
}, | ||
"switch-statement": { | ||
"name": "meta.statement.switch.razor", | ||
"begin": "(?:^\\s*|(@))(switch)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.switch.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#switch-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"switch-code-block": { | ||
"name": "meta.structure.razor.csharp.codeblock.switch", | ||
"begin": "(\\{)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.curlybrace.open.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#switch-label" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(\\})", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.curlybrace.close.cs" | ||
} | ||
} | ||
}, | ||
"lock-statement": { | ||
"name": "meta.statement.lock.razor", | ||
"begin": "(?:^\\s*|(@))(lock)\\b\\s*(?=\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.other.lock.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"try-statement": { | ||
"patterns": [ | ||
{ | ||
"include": "#try-block" | ||
}, | ||
{ | ||
"include": "#catch-clause" | ||
}, | ||
{ | ||
"include": "#finally-clause" | ||
} | ||
] | ||
}, | ||
"try-block": { | ||
"name": "meta.statement.try.razor", | ||
"begin": "(?:^\\s*|(@))(try)\\b\\s*", | ||
"beginCaptures": { | ||
"1": { | ||
"patterns": [ | ||
{ | ||
"include": "#transition" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "keyword.control.try.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-condition" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"catch-clause": { | ||
"name": "meta.statement.catch.razor", | ||
"begin": "(?:^|(?<=}))\\s*(catch)\\b\\s*?(?=[\\n\\(\\{])", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.try.catch.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#catch-condition" | ||
}, | ||
{ | ||
"include": "source.cs#when-clause" | ||
}, | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"catch-condition": { | ||
"begin": "\\(", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.parenthesis.open.cs" | ||
} | ||
}, | ||
"end": "\\)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.parenthesis.close.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"match": "(?x)\n(?<type-name>\n (?:\n (?:\n (?:(?<identifier>@?[_[:alpha:]][_[:alnum:]]*)\\s*\\:\\:\\s*)? # alias-qualification\n (?<name-and-type-args> # identifier + type arguments (if any)\n \\g<identifier>\\s*\n (?<type-args>\\s*<(?:[^<>]|\\g<type-args>)+>\\s*)?\n )\n (?:\\s*\\.\\s*\\g<name-and-type-args>)* | # Are there any more names being dotted into?\n (?<tuple>\\s*\\((?:[^\\(\\)]|\\g<tuple>)+\\))\n )\n (?:\\s*\\?\\s*)? # nullable suffix?\n (?:\\s*\\[(?:\\s*,\\s*)*\\]\\s*)* # array suffix?\n )\n)\\s*\n(?:(\\g<identifier>)\\b)?", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.accessor.cs" | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#type" | ||
} | ||
] | ||
}, | ||
"2": { | ||
"name": "storage.type.cs" | ||
"6": { | ||
"name": "entity.name.variable.local.cs" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"finally-clause": { | ||
"name": "meta.statement.finally.razor", | ||
"begin": "(?:^|(?<=}))\\s*(finally)\\b\\s*?(?=[\\n\\{])", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.try.finally.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#csharp-code-block" | ||
}, | ||
{ | ||
"name": "storage.type.cs", | ||
"match": "[_[:alpha:]][_[:alnum:]]*" | ||
"include": "#razor-codeblock-body" | ||
} | ||
] | ||
], | ||
"end": "(?<=})" | ||
}, | ||
"await-prefix": { | ||
"name": "keyword.other.await.cs", | ||
"match": "(await)\\s+" | ||
}, | ||
"csharp-code-block": { | ||
"name": "meta.structure.razor.csharp.codeblock", | ||
"begin": "(\\{)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.curlybrace.open.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#razor-codeblock-body" | ||
} | ||
], | ||
"end": "(\\})", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.curlybrace.close.cs" | ||
} | ||
} | ||
}, | ||
"csharp-condition": { | ||
"begin": "(\\()", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.parenthesis.open.cs" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "source.cs#local-variable-declaration" | ||
}, | ||
{ | ||
"include": "source.cs#expression" | ||
}, | ||
{ | ||
"include": "source.cs#punctuation-comma" | ||
}, | ||
{ | ||
"include": "source.cs#punctuation-semicolon" | ||
} | ||
], | ||
"end": "(\\))", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.parenthesis.close.cs" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -1145,2 +1145,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"comment": "A work in progress--improves over the existing in that it populates symbols, and handles comments more gracefully.", | ||
"fileTypes": [ | ||
"sas" | ||
], | ||
"fileTypes": ["sas"], | ||
"foldingStartMarker": "(?i:(proc|data|%macro).*;$)", | ||
@@ -303,2 +301,2 @@ "foldingStopMarker": "(?i:(run|quit|%mend)\\s?);", | ||
"uuid": "7e721b1e-6265-4865-bc4b-308d49affba1" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"sass" | ||
], | ||
"fileTypes": ["sass"], | ||
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|*#?region|^\\.", | ||
@@ -617,2 +615,2 @@ "foldingStopMarker": "\\*/|*#?endregion|^\\s*$", | ||
"scopeName": "source.sass" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"scala" | ||
], | ||
"fileTypes": ["scala"], | ||
"firstLineMatch": "^#!/.*\\b\\w*scala\\b", | ||
@@ -1153,2 +1151,2 @@ "foldingStartMarker": "/\\*\\*|\\{\\s*$", | ||
"scopeName": "source.scala" | ||
} | ||
} |
{ | ||
"comment": "\n\t\tThe foldings do not currently work the way I want them to. This\n\t\tmay be a limitation of the way they are applied rather than the\n\t\tregexps in use. Nonetheless, the foldings will end on the last\n\t\tidentically indented blank line following an s-expression. Not\n\t\tideal perhaps, but it works. Also, the #illegal pattern never\n\t\tmatches an unpaired ( as being illegal. Why?! -- Rob Rix\n\t\t\n\t\tOk, hopefully this grammar works better on quoted stuff now. It\n\t\tmay break for fancy macros, but should generally work pretty\n\t\tsmoothly. -- Jacob Rus\n\t\t\n\t\tI have attempted to get this under control but because of the way folding\n\t\tand indentation interact in Textmate, I am not sure if it is possible. In the\n\t\tmeantime, I have implemented Python-style folding anchored at newlines.\n\t\tAdditionally, I have made some minor improvements to the numeric constant\n\t\thighlighting. Next up is square bracket expressions, I guess, but that\n\t\tshould be trivial. -- ozy`\n\t", | ||
"fileTypes": [ | ||
"scm", | ||
"ss", | ||
"sch", | ||
"rkt" | ||
], | ||
"fileTypes": ["scm", "ss", "sch", "rkt"], | ||
"keyEquivalent": "^~S", | ||
@@ -386,2 +381,2 @@ "name": "scheme", | ||
"uuid": "3EC2CFD0-909C-4692-AC29-1A60ADBC161E" | ||
} | ||
} |
@@ -1879,2 +1879,2 @@ { | ||
} | ||
} | ||
} |
@@ -204,2 +204,2 @@ { | ||
} | ||
} | ||
} |
@@ -1283,2 +1283,2 @@ { | ||
} | ||
} | ||
} |
@@ -11,5 +11,3 @@ { | ||
"keyEquivalent": "^~S", | ||
"fileTypes": [ | ||
"st" | ||
], | ||
"fileTypes": ["st"], | ||
"patterns": [ | ||
@@ -242,2 +240,2 @@ { | ||
"uuid": "1ED64A34-BCB1-44E1-A0FE-84053003E232" | ||
} | ||
} |
@@ -519,2 +519,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"ssh_config", | ||
".ssh/config", | ||
"sshd_config" | ||
], | ||
"fileTypes": ["ssh_config", ".ssh/config", "sshd_config"], | ||
"name": "ssh-config", | ||
@@ -88,2 +84,2 @@ "patterns": [ | ||
"uuid": "B273855C-59D3-4DF3-9B7C-E68E0057D315" | ||
} | ||
} |
{ | ||
"name": "stylus", | ||
"scopeName": "source.stylus", | ||
"fileTypes": [ | ||
"styl", | ||
"stylus", | ||
"css.styl", | ||
"css.stylus" | ||
], | ||
"fileTypes": ["styl", "stylus", "css.styl", "css.stylus"], | ||
"patterns": [ | ||
@@ -1199,2 +1194,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"tcl" | ||
], | ||
"fileTypes": ["tcl"], | ||
"foldingStartMarker": "\\{\\s*$", | ||
@@ -292,2 +290,2 @@ "foldingStopMarker": "^\\s*\\}", | ||
"uuid": "62E11136-D9E5-461C-BE98-54E3A2A9E5E3" | ||
} | ||
} |
{ | ||
"fileTypes": [ | ||
"toml" | ||
], | ||
"fileTypes": ["toml"], | ||
"keyEquivalent": "^~T", | ||
@@ -432,2 +430,2 @@ "name": "toml", | ||
"uuid": "7DEF2EDB-5BB7-4DD2-9E78-3541A26B7923" | ||
} | ||
} |
@@ -238,2 +238,2 @@ { | ||
} | ||
} | ||
} |
@@ -441,2 +441,2 @@ { | ||
] | ||
} | ||
} |
@@ -558,2 +558,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"name": "vue", | ||
"scopeName": "source.vue", | ||
"fileTypes": [ | ||
"vue" | ||
], | ||
"fileTypes": ["vue"], | ||
"uuid": "5512c10d-4cc5-434c-b8fc-53b912f55ab3", | ||
@@ -748,2 +746,45 @@ "patterns": [ | ||
{ | ||
"begin": "(<)(style)\\b(?=[^>]*lang=(['\"]sss['\"]))(?![^/>]*/>\\s*$)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.style.html" | ||
} | ||
}, | ||
"end": "(</)(style)(>)", | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.begin.html" | ||
}, | ||
"2": { | ||
"name": "entity.name.tag.style.html" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#tag-stuff" | ||
}, | ||
{ | ||
"contentName": "source.css.sugarss", | ||
"begin": "(>)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "punctuation.definition.tag.end.html" | ||
} | ||
}, | ||
"end": "(?=</style>)", | ||
"patterns": [ | ||
{ | ||
"include": "source.css.sugarss" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "(<)(style)(?![^/>]*/>\\s*$)", | ||
@@ -1245,2 +1286,2 @@ "beginCaptures": { | ||
} | ||
} | ||
} |
@@ -735,2 +735,2 @@ { | ||
} | ||
} | ||
} |
@@ -387,2 +387,2 @@ { | ||
} | ||
} | ||
} |
@@ -94,2 +94,2 @@ { | ||
} | ||
} | ||
} |
@@ -621,2 +621,2 @@ { | ||
} | ||
} | ||
} |
{ | ||
"name": "shiki", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"description": "shiki", | ||
@@ -21,3 +21,4 @@ "author": "Pine Wu <octref@gmail.com>", | ||
"languages", | ||
"themes" | ||
"themes", | ||
"samples" | ||
], | ||
@@ -34,6 +35,7 @@ "scripts": { | ||
"dependencies": { | ||
"json5": "^2.2.0", | ||
"onigasm": "^2.2.5", | ||
"vscode-textmate": "^5.2.0" | ||
"vscode-textmate": "5.2.0" | ||
}, | ||
"gitHead": "817adba73fd5ceb703357920fff6a3b3fe242d6d" | ||
"gitHead": "b3c0dee6ac66bc6f877affced37d7d69befda2b6" | ||
} |
@@ -11,6 +11,3 @@ { | ||
{ | ||
"scope": [ | ||
"meta.embedded", | ||
"source.groovy.embedded" | ||
], | ||
"scope": ["meta.embedded", "source.groovy.embedded"], | ||
"settings": { | ||
@@ -176,6 +173,3 @@ "foreground": "#D4D4D4" | ||
{ | ||
"scope": [ | ||
"meta.preprocessor", | ||
"entity.name.function.preprocessor" | ||
], | ||
"scope": ["meta.preprocessor", "entity.name.function.preprocessor"], | ||
"settings": { | ||
@@ -222,6 +216,3 @@ "foreground": "#569cd6" | ||
{ | ||
"scope": [ | ||
"storage.modifier", | ||
"keyword.operator.noexcept" | ||
], | ||
"scope": ["storage.modifier", "keyword.operator.noexcept"], | ||
"settings": { | ||
@@ -232,6 +223,3 @@ "foreground": "#569cd6" | ||
{ | ||
"scope": [ | ||
"string", | ||
"meta.embedded.assembly" | ||
], | ||
"scope": ["string", "meta.embedded.assembly"], | ||
"settings": { | ||
@@ -272,5 +260,3 @@ "foreground": "#ce9178" | ||
"name": "Reset JavaScript string interpolation expression", | ||
"scope": [ | ||
"meta.template.expression" | ||
], | ||
"scope": ["meta.template.expression"], | ||
"settings": { | ||
@@ -335,6 +321,3 @@ "foreground": "#d4d4d4" | ||
{ | ||
"scope": [ | ||
"punctuation.section.embedded.begin.php", | ||
"punctuation.section.embedded.end.php" | ||
], | ||
"scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"], | ||
"settings": { | ||
@@ -470,6 +453,3 @@ "foreground": "#569cd6" | ||
"name": "Constants and enums", | ||
"scope": [ | ||
"variable.other.constant", | ||
"variable.other.enummember" | ||
], | ||
"scope": ["variable.other.constant", "variable.other.enummember"], | ||
"settings": { | ||
@@ -481,5 +461,3 @@ "foreground": "#4FC1FF" | ||
"name": "Object keys, TS grammar specific", | ||
"scope": [ | ||
"meta.object-literal.key" | ||
], | ||
"scope": ["meta.object-literal.key"], | ||
"settings": { | ||
@@ -531,6 +509,3 @@ "foreground": "#9CDCFE" | ||
{ | ||
"scope": [ | ||
"keyword.operator.or.regexp", | ||
"keyword.control.anchor.regexp" | ||
], | ||
"scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"], | ||
"settings": { | ||
@@ -586,7 +561,7 @@ "foreground": "#DCDCAA" | ||
"statusBarItem.remoteBackground": "#16825D", | ||
"ports.iconRunningProcessForeground": "#369432", | ||
"sideBarSectionHeader.background": "#0000", | ||
"sideBarSectionHeader.border": "#ccc3", | ||
"tab.lastPinnedBorder": "#ccc3", | ||
"notebook.selectedCellBackground": "#383B3D50" | ||
"tab.lastPinnedBorder": "#ccc3" | ||
} | ||
} | ||
} |
@@ -18,2 +18,5 @@ { | ||
"button.hoverBackground": "#22863a", | ||
"button.secondaryBackground": "#444d56", | ||
"button.secondaryForeground": "#fff", | ||
"button.secondaryHoverBackground": "#586069", | ||
"checkbox.background": "#444d56", | ||
@@ -100,3 +103,3 @@ "checkbox.border": "#1b1f23", | ||
"editorWidget.background": "#1f2428", | ||
"editor.foldBackground": "#282e33", | ||
"editor.foldBackground": "#58606915", | ||
"editor.lineHighlightBackground": "#2b3036", | ||
@@ -111,2 +114,3 @@ "editorLineNumber.foreground": "#444d56", | ||
"editor.findMatchHighlightBackground": "#ffd33d22", | ||
"editor.linkedEditingBackground": "#3392FF22", | ||
"editor.inactiveSelectionBackground": "#3392FF22", | ||
@@ -147,4 +151,4 @@ "editor.selectionBackground": "#3392FF44", | ||
"debugToolBar.background": "#2b3036", | ||
"editor.stackFrameHighlightBackground": "#a707", | ||
"editor.focusedStackFrameHighlightBackground": "#b808", | ||
"editor.stackFrameHighlightBackground": "#C6902625", | ||
"editor.focusedStackFrameHighlightBackground": "#2b6a3033", | ||
"peekViewEditor.matchHighlightBackground": "#ffd33d33", | ||
@@ -162,7 +166,3 @@ "peekViewResult.matchHighlightBackground": "#ffd33d33", | ||
{ | ||
"scope": [ | ||
"comment", | ||
"punctuation.definition.comment", | ||
"string.comment" | ||
], | ||
"scope": ["comment", "punctuation.definition.comment", "string.comment"], | ||
"settings": { | ||
@@ -173,8 +173,3 @@ "foreground": "#6a737d" | ||
{ | ||
"scope": [ | ||
"constant", | ||
"entity.name.constant", | ||
"variable.other.constant", | ||
"variable.language" | ||
], | ||
"scope": ["constant", "entity.name.constant", "variable.other.constant", "variable.language"], | ||
"settings": { | ||
@@ -185,6 +180,3 @@ "foreground": "#79b8ff" | ||
{ | ||
"scope": [ | ||
"entity", | ||
"entity.name" | ||
], | ||
"scope": ["entity", "entity.name"], | ||
"settings": { | ||
@@ -213,6 +205,3 @@ "foreground": "#b392f0" | ||
{ | ||
"scope": [ | ||
"storage", | ||
"storage.type" | ||
], | ||
"scope": ["storage", "storage.type"], | ||
"settings": { | ||
@@ -223,7 +212,3 @@ "foreground": "#f97583" | ||
{ | ||
"scope": [ | ||
"storage.modifier.package", | ||
"storage.modifier.import", | ||
"storage.type.java" | ||
], | ||
"scope": ["storage.modifier.package", "storage.modifier.import", "storage.type.java"], | ||
"settings": { | ||
@@ -323,6 +308,3 @@ "foreground": "#e1e4e8" | ||
{ | ||
"scope": [ | ||
"source.regexp", | ||
"string.regexp" | ||
], | ||
"scope": ["source.regexp", "string.regexp"], | ||
"settings": { | ||
@@ -375,6 +357,3 @@ "foreground": "#dbedff" | ||
{ | ||
"scope": [ | ||
"markup.heading", | ||
"markup.heading entity.name" | ||
], | ||
"scope": ["markup.heading", "markup.heading entity.name"], | ||
"settings": { | ||
@@ -412,7 +391,3 @@ "fontStyle": "bold", | ||
{ | ||
"scope": [ | ||
"markup.deleted", | ||
"meta.diff.header.from-file", | ||
"punctuation.definition.deleted" | ||
], | ||
"scope": ["markup.deleted", "meta.diff.header.from-file", "punctuation.definition.deleted"], | ||
"settings": { | ||
@@ -424,7 +399,3 @@ "background": "#86181d", | ||
{ | ||
"scope": [ | ||
"markup.inserted", | ||
"meta.diff.header.to-file", | ||
"punctuation.definition.inserted" | ||
], | ||
"scope": ["markup.inserted", "meta.diff.header.to-file", "punctuation.definition.inserted"], | ||
"settings": { | ||
@@ -436,6 +407,3 @@ "background": "#144620", | ||
{ | ||
"scope": [ | ||
"markup.changed", | ||
"punctuation.definition.changed" | ||
], | ||
"scope": ["markup.changed", "punctuation.definition.changed"], | ||
"settings": { | ||
@@ -447,6 +415,3 @@ "background": "#c24e00", | ||
{ | ||
"scope": [ | ||
"markup.ignored", | ||
"markup.untracked" | ||
], | ||
"scope": ["markup.ignored", "markup.untracked"], | ||
"settings": { | ||
@@ -503,6 +468,3 @@ "foreground": "#2f363d", | ||
{ | ||
"scope": [ | ||
"constant.other.reference.link", | ||
"string.other.link" | ||
], | ||
"scope": ["constant.other.reference.link", "string.other.link"], | ||
"settings": { | ||
@@ -514,2 +476,2 @@ "foreground": "#dbedff", | ||
] | ||
} | ||
} |
@@ -18,2 +18,5 @@ { | ||
"button.hoverBackground": "#138934", | ||
"button.secondaryBackground": "#e1e4e8", | ||
"button.secondaryForeground": "#1b1f23", | ||
"button.secondaryHoverBackground": "#d1d5da", | ||
"checkbox.background": "#fafbfc", | ||
@@ -100,3 +103,3 @@ "checkbox.border": "#d1d5da", | ||
"editorWidget.background": "#f6f8fa", | ||
"editor.foldBackground": "#fafbfc", | ||
"editor.foldBackground": "#d1d5da11", | ||
"editor.lineHighlightBackground": "#f6f8fa", | ||
@@ -111,2 +114,3 @@ "editorLineNumber.foreground": "#1b1f234d", | ||
"editor.findMatchHighlightBackground": "#ffdf5d66", | ||
"editor.linkedEditingBackground": "#0366d611", | ||
"editor.inactiveSelectionBackground": "#0366d611", | ||
@@ -147,4 +151,4 @@ "editor.selectionBackground": "#0366d625", | ||
"debugToolBar.background": "#fff", | ||
"editor.stackFrameHighlightBackground": "#fffbdd", | ||
"editor.focusedStackFrameHighlightBackground": "#fff5b1", | ||
"editor.stackFrameHighlightBackground": "#ffd33d33", | ||
"editor.focusedStackFrameHighlightBackground": "#28a74525", | ||
"settings.headerForeground": "#2f363d", | ||
@@ -158,7 +162,3 @@ "settings.modifiedItemIndicator": "#2188ff", | ||
{ | ||
"scope": [ | ||
"comment", | ||
"punctuation.definition.comment", | ||
"string.comment" | ||
], | ||
"scope": ["comment", "punctuation.definition.comment", "string.comment"], | ||
"settings": { | ||
@@ -169,8 +169,3 @@ "foreground": "#6a737d" | ||
{ | ||
"scope": [ | ||
"constant", | ||
"entity.name.constant", | ||
"variable.other.constant", | ||
"variable.language" | ||
], | ||
"scope": ["constant", "entity.name.constant", "variable.other.constant", "variable.language"], | ||
"settings": { | ||
@@ -181,6 +176,3 @@ "foreground": "#005cc5" | ||
{ | ||
"scope": [ | ||
"entity", | ||
"entity.name" | ||
], | ||
"scope": ["entity", "entity.name"], | ||
"settings": { | ||
@@ -209,6 +201,3 @@ "foreground": "#6f42c1" | ||
{ | ||
"scope": [ | ||
"storage", | ||
"storage.type" | ||
], | ||
"scope": ["storage", "storage.type"], | ||
"settings": { | ||
@@ -219,7 +208,3 @@ "foreground": "#d73a49" | ||
{ | ||
"scope": [ | ||
"storage.modifier.package", | ||
"storage.modifier.import", | ||
"storage.type.java" | ||
], | ||
"scope": ["storage.modifier.package", "storage.modifier.import", "storage.type.java"], | ||
"settings": { | ||
@@ -319,6 +304,3 @@ "foreground": "#24292e" | ||
{ | ||
"scope": [ | ||
"source.regexp", | ||
"string.regexp" | ||
], | ||
"scope": ["source.regexp", "string.regexp"], | ||
"settings": { | ||
@@ -371,6 +353,3 @@ "foreground": "#032f62" | ||
{ | ||
"scope": [ | ||
"markup.heading", | ||
"markup.heading entity.name" | ||
], | ||
"scope": ["markup.heading", "markup.heading entity.name"], | ||
"settings": { | ||
@@ -408,7 +387,3 @@ "fontStyle": "bold", | ||
{ | ||
"scope": [ | ||
"markup.deleted", | ||
"meta.diff.header.from-file", | ||
"punctuation.definition.deleted" | ||
], | ||
"scope": ["markup.deleted", "meta.diff.header.from-file", "punctuation.definition.deleted"], | ||
"settings": { | ||
@@ -420,7 +395,3 @@ "background": "#ffeef0", | ||
{ | ||
"scope": [ | ||
"markup.inserted", | ||
"meta.diff.header.to-file", | ||
"punctuation.definition.inserted" | ||
], | ||
"scope": ["markup.inserted", "meta.diff.header.to-file", "punctuation.definition.inserted"], | ||
"settings": { | ||
@@ -432,6 +403,3 @@ "background": "#f0fff4", | ||
{ | ||
"scope": [ | ||
"markup.changed", | ||
"punctuation.definition.changed" | ||
], | ||
"scope": ["markup.changed", "punctuation.definition.changed"], | ||
"settings": { | ||
@@ -443,6 +411,3 @@ "background": "#ffebda", | ||
{ | ||
"scope": [ | ||
"markup.ignored", | ||
"markup.untracked" | ||
], | ||
"scope": ["markup.ignored", "markup.untracked"], | ||
"settings": { | ||
@@ -499,6 +464,3 @@ "foreground": "#f6f8fa", | ||
{ | ||
"scope": [ | ||
"constant.other.reference.link", | ||
"string.other.link" | ||
], | ||
"scope": ["constant.other.reference.link", "string.other.link"], | ||
"settings": { | ||
@@ -510,2 +472,2 @@ "foreground": "#032f62", | ||
] | ||
} | ||
} |
@@ -11,6 +11,3 @@ { | ||
{ | ||
"scope": [ | ||
"meta.embedded", | ||
"source.groovy.embedded" | ||
], | ||
"scope": ["meta.embedded", "source.groovy.embedded"], | ||
"settings": { | ||
@@ -174,6 +171,3 @@ "foreground": "#000000ff" | ||
{ | ||
"scope": [ | ||
"meta.preprocessor", | ||
"entity.name.function.preprocessor" | ||
], | ||
"scope": ["meta.preprocessor", "entity.name.function.preprocessor"], | ||
"settings": { | ||
@@ -214,6 +208,3 @@ "foreground": "#0000ff" | ||
{ | ||
"scope": [ | ||
"storage.modifier", | ||
"keyword.operator.noexcept" | ||
], | ||
"scope": ["storage.modifier", "keyword.operator.noexcept"], | ||
"settings": { | ||
@@ -224,6 +215,3 @@ "foreground": "#0000ff" | ||
{ | ||
"scope": [ | ||
"string", | ||
"meta.embedded.assembly" | ||
], | ||
"scope": ["string", "meta.embedded.assembly"], | ||
"settings": { | ||
@@ -274,5 +262,3 @@ "foreground": "#a31515" | ||
"name": "Reset JavaScript string interpolation expression", | ||
"scope": [ | ||
"meta.template.expression" | ||
], | ||
"scope": ["meta.template.expression"], | ||
"settings": { | ||
@@ -310,5 +296,3 @@ "foreground": "#000000" | ||
{ | ||
"scope": [ | ||
"support.type.property-name.json" | ||
], | ||
"scope": ["support.type.property-name.json"], | ||
"settings": { | ||
@@ -360,6 +344,3 @@ "foreground": "#0451a5" | ||
{ | ||
"scope": [ | ||
"punctuation.section.embedded.begin.php", | ||
"punctuation.section.embedded.end.php" | ||
], | ||
"scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"], | ||
"settings": { | ||
@@ -495,6 +476,3 @@ "foreground": "#800000" | ||
"name": "Constants and enums", | ||
"scope": [ | ||
"variable.other.constant", | ||
"variable.other.enummember" | ||
], | ||
"scope": ["variable.other.constant", "variable.other.enummember"], | ||
"settings": { | ||
@@ -506,5 +484,3 @@ "foreground": "#0070C1" | ||
"name": "Object keys, TS grammar specific", | ||
"scope": [ | ||
"meta.object-literal.key" | ||
], | ||
"scope": ["meta.object-literal.key"], | ||
"settings": { | ||
@@ -562,6 +538,3 @@ "foreground": "#001080" | ||
{ | ||
"scope": [ | ||
"keyword.operator.or.regexp", | ||
"keyword.control.anchor.regexp" | ||
], | ||
"scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"], | ||
"settings": { | ||
@@ -614,2 +587,3 @@ "foreground": "#EE0000" | ||
"statusBarItem.remoteBackground": "#16825D", | ||
"ports.iconRunningProcessForeground": "#369432", | ||
"sideBarSectionHeader.background": "#0000", | ||
@@ -620,4 +594,5 @@ "sideBarSectionHeader.border": "#61616130", | ||
"notebook.selectedCellBackground": "#c8ddf150", | ||
"statusBarItem.errorBackground": "#c72e0f" | ||
"statusBarItem.errorBackground": "#c72e0f", | ||
"list.focusHighlightForeground": "#33B6FF" | ||
} | ||
} | ||
} |
@@ -113,7 +113,3 @@ { | ||
{ | ||
"scope": [ | ||
"strong", | ||
"markup.heading.markdown", | ||
"markup.bold.markdown" | ||
], | ||
"scope": ["strong", "markup.heading.markdown", "markup.bold.markdown"], | ||
"settings": { | ||
@@ -125,5 +121,3 @@ "fontStyle": "bold", | ||
{ | ||
"scope": [ | ||
"markup.italic.markdown" | ||
], | ||
"scope": ["markup.italic.markdown"], | ||
"settings": { | ||
@@ -141,7 +135,3 @@ "fontStyle": "italic" | ||
{ | ||
"scope": [ | ||
"string", | ||
"markup.fenced_code", | ||
"markup.inline" | ||
], | ||
"scope": ["string", "markup.fenced_code", "markup.inline"], | ||
"settings": { | ||
@@ -152,5 +142,3 @@ "foreground": "#9db1c5" | ||
{ | ||
"scope": [ | ||
"comment" | ||
], | ||
"scope": ["comment"], | ||
"settings": { | ||
@@ -273,5 +261,3 @@ "foreground": "#4e5761" | ||
"name": "[Custom] Markdown list", | ||
"scope": [ | ||
"beginning.punctuation.definition.list.markdown" | ||
], | ||
"scope": ["beginning.punctuation.definition.list.markdown"], | ||
"settings": { | ||
@@ -300,2 +286,2 @@ "foreground": "#FF7A84" | ||
"semanticHighlighting": true | ||
} | ||
} |
@@ -135,7 +135,3 @@ { | ||
{ | ||
"scope": [ | ||
"strong", | ||
"markup.heading.markdown", | ||
"markup.bold.markdown" | ||
], | ||
"scope": ["strong", "markup.heading.markdown", "markup.bold.markdown"], | ||
"settings": { | ||
@@ -146,5 +142,3 @@ "fontStyle": "bold" | ||
{ | ||
"scope": [ | ||
"markup.italic.markdown" | ||
], | ||
"scope": ["markup.italic.markdown"], | ||
"settings": { | ||
@@ -162,7 +156,3 @@ "fontStyle": "italic" | ||
{ | ||
"scope": [ | ||
"string", | ||
"markup.fenced_code", | ||
"markup.inline" | ||
], | ||
"scope": ["string", "markup.fenced_code", "markup.inline"], | ||
"settings": { | ||
@@ -173,5 +163,3 @@ "foreground": "#2b5581" | ||
{ | ||
"scope": [ | ||
"comment" | ||
], | ||
"scope": ["comment"], | ||
"settings": { | ||
@@ -276,7 +264,3 @@ "foreground": "#c2c3c5" | ||
{ | ||
"scope": [ | ||
"strong", | ||
"markup.heading.markdown", | ||
"markup.bold.markdown" | ||
], | ||
"scope": ["strong", "markup.heading.markdown", "markup.bold.markdown"], | ||
"settings": { | ||
@@ -288,6 +272,3 @@ "foreground": "#6f42c1" | ||
"name": "[Custom] Markdown links", | ||
"scope": [ | ||
"markup.underline.link", | ||
"punctuation.definition.metadata.markdown" | ||
], | ||
"scope": ["markup.underline.link", "punctuation.definition.metadata.markdown"], | ||
"settings": { | ||
@@ -299,5 +280,3 @@ "foreground": "#22863a" | ||
"name": "[Custom] Markdown list", | ||
"scope": [ | ||
"beginning.punctuation.definition.list.markdown" | ||
], | ||
"scope": ["beginning.punctuation.definition.list.markdown"], | ||
"settings": { | ||
@@ -320,2 +299,2 @@ "foreground": "#6f42c1" | ||
] | ||
} | ||
} |
@@ -15,3 +15,3 @@ { | ||
"editor.foreground": "#f8f8f2", | ||
"selection.background": "#ccccc7", | ||
"selection.background": "#878b9180", | ||
"editor.selectionHighlightBackground": "#575b6180", | ||
@@ -49,2 +49,3 @@ "editor.selectionBackground": "#878b9180", | ||
"statusBarItem.remoteBackground": "#AC6218", | ||
"ports.iconRunningProcessForeground": "#ccccc7", | ||
"activityBar.background": "#272822", | ||
@@ -106,6 +107,3 @@ "activityBar.foreground": "#f8f8f2", | ||
{ | ||
"scope": [ | ||
"meta.embedded", | ||
"source.groovy.embedded" | ||
], | ||
"scope": ["meta.embedded", "source.groovy.embedded"], | ||
"settings": { | ||
@@ -131,6 +129,3 @@ "foreground": "#F8F8F2" | ||
"name": "Template Definition", | ||
"scope": [ | ||
"punctuation.definition.template-expression", | ||
"punctuation.section.embedded" | ||
], | ||
"scope": ["punctuation.definition.template-expression", "punctuation.section.embedded"], | ||
"settings": { | ||
@@ -142,5 +137,3 @@ "foreground": "#F92672" | ||
"name": "Reset JavaScript string interpolation expression", | ||
"scope": [ | ||
"meta.template.expression" | ||
], | ||
"scope": ["meta.template.expression"], | ||
"settings": { | ||
@@ -439,5 +432,3 @@ "foreground": "#F8F8F2" | ||
"name": "Markdown List Punctuation", | ||
"scope": [ | ||
"punctuation.definition.list.begin.markdown" | ||
], | ||
"scope": ["punctuation.definition.list.begin.markdown"], | ||
"settings": { | ||
@@ -481,2 +472,2 @@ "foreground": "#A6E22E" | ||
"name": "monokai" | ||
} | ||
} |
@@ -325,6 +325,3 @@ { | ||
"name": "Entity Name Class/Type", | ||
"scope": [ | ||
"entity.name.class", | ||
"entity.name.type.class" | ||
], | ||
"scope": ["entity.name.class", "entity.name.type.class"], | ||
"settings": { | ||
@@ -480,6 +477,3 @@ "foreground": "#8FBCBB" | ||
"name": "Punctuation Section Embedded", | ||
"scope": [ | ||
"punctuation.section.embedded.begin", | ||
"punctuation.section.embedded.end" | ||
], | ||
"scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"], | ||
"settings": { | ||
@@ -624,6 +618,3 @@ "foreground": "#81A1C1" | ||
"name": "[C/CPP] Meta Preprocessor Include", | ||
"scope": [ | ||
"source.c meta.preprocessor.include", | ||
"source.c string.quoted.other.lt-gt.include" | ||
], | ||
"scope": ["source.c meta.preprocessor.include", "source.c string.quoted.other.lt-gt.include"], | ||
"settings": { | ||
@@ -1112,6 +1103,3 @@ "foreground": "#8FBCBB" | ||
"name": "[PHP] Meta Function-Call Object", | ||
"scope": [ | ||
"source.php meta.function-call", | ||
"source.php meta.function-call.object" | ||
], | ||
"scope": ["source.php meta.function-call", "source.php meta.function-call.object"], | ||
"settings": { | ||
@@ -1147,5 +1135,3 @@ "foreground": "#88C0D0" | ||
"name": "[Python] Function Parameter", | ||
"scope": [ | ||
"source.python variable.parameter.function.language" | ||
], | ||
"scope": ["source.python variable.parameter.function.language"], | ||
"settings": { | ||
@@ -1198,6 +1184,3 @@ "foreground": "#D8DEE9" | ||
"name": "[TypeScript] Object-literal keys", | ||
"scope": [ | ||
"source.ts meta.object-literal.key", | ||
"source.tsx meta.object-literal.key" | ||
], | ||
"scope": ["source.ts meta.object-literal.key", "source.tsx meta.object-literal.key"], | ||
"settings": { | ||
@@ -1249,6 +1232,3 @@ "foreground": "#D8DEE9" | ||
"name": "[TypeScript] Variables", | ||
"scope": [ | ||
"source.ts support.variable", | ||
"source.tsx support.variable" | ||
], | ||
"scope": ["source.ts support.variable", "source.tsx support.variable"], | ||
"settings": { | ||
@@ -1310,2 +1290,2 @@ "foreground": "#D8DEE9" | ||
] | ||
} | ||
} |
@@ -10,6 +10,3 @@ { | ||
{ | ||
"scope": [ | ||
"meta.embedded", | ||
"source.groovy.embedded" | ||
], | ||
"scope": ["meta.embedded", "source.groovy.embedded"], | ||
"settings": { | ||
@@ -50,6 +47,3 @@ "foreground": "#93A1A1" | ||
"name": "Variable", | ||
"scope": [ | ||
"variable.language", | ||
"variable.other" | ||
], | ||
"scope": ["variable.language", "variable.other"], | ||
"settings": { | ||
@@ -103,6 +97,3 @@ "foreground": "#268BD2" | ||
"name": "Embedded code markers", | ||
"scope": [ | ||
"punctuation.section.embedded.begin", | ||
"punctuation.section.embedded.end" | ||
], | ||
"scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"], | ||
"settings": { | ||
@@ -114,6 +105,3 @@ "foreground": "#D30102" | ||
"name": "Built-in constant", | ||
"scope": [ | ||
"constant.language", | ||
"meta.preprocessor" | ||
], | ||
"scope": ["constant.language", "meta.preprocessor"], | ||
"settings": { | ||
@@ -125,6 +113,3 @@ "foreground": "#B58900" | ||
"name": "Support.construct", | ||
"scope": [ | ||
"support.function.construct", | ||
"keyword.other.new" | ||
], | ||
"scope": ["support.function.construct", "keyword.other.new"], | ||
"settings": { | ||
@@ -136,6 +121,3 @@ "foreground": "#CB4B16" | ||
"name": "User-defined constant", | ||
"scope": [ | ||
"constant.character", | ||
"constant.other" | ||
], | ||
"scope": ["constant.character", "constant.other"], | ||
"settings": { | ||
@@ -199,6 +181,3 @@ "foreground": "#CB4B16" | ||
"name": "Library class/type", | ||
"scope": [ | ||
"support.type", | ||
"support.class" | ||
], | ||
"scope": ["support.type", "support.class"], | ||
"settings": { | ||
@@ -229,6 +208,3 @@ "foreground": "#859900" | ||
"name": "diff: header", | ||
"scope": [ | ||
"meta.diff", | ||
"meta.diff.header" | ||
], | ||
"scope": ["meta.diff", "meta.diff.header"], | ||
"settings": { | ||
@@ -278,6 +254,3 @@ "fontStyle": "italic", | ||
"name": "Markup Styling", | ||
"scope": [ | ||
"markup.bold", | ||
"markup.italic" | ||
], | ||
"scope": ["markup.bold", "markup.italic"], | ||
"settings": { | ||
@@ -391,2 +364,3 @@ "foreground": "#D33682" | ||
"statusBarItem.remoteBackground": "#2AA19899", | ||
"ports.iconRunningProcessForeground": "#369432", | ||
"statusBarItem.prominentBackground": "#003847", | ||
@@ -417,2 +391,2 @@ "statusBarItem.prominentHoverBackground": "#003847", | ||
"semanticHighlighting": true | ||
} | ||
} |
@@ -10,6 +10,3 @@ { | ||
{ | ||
"scope": [ | ||
"meta.embedded", | ||
"source.groovy.embedded" | ||
], | ||
"scope": ["meta.embedded", "source.groovy.embedded"], | ||
"settings": { | ||
@@ -50,6 +47,3 @@ "foreground": "#657B83" | ||
"name": "Variable", | ||
"scope": [ | ||
"variable.language", | ||
"variable.other" | ||
], | ||
"scope": ["variable.language", "variable.other"], | ||
"settings": { | ||
@@ -102,6 +96,3 @@ "foreground": "#268BD2" | ||
"name": "Embedded code markers", | ||
"scope": [ | ||
"punctuation.section.embedded.begin", | ||
"punctuation.section.embedded.end" | ||
], | ||
"scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"], | ||
"settings": { | ||
@@ -113,6 +104,3 @@ "foreground": "#D30102" | ||
"name": "Built-in constant", | ||
"scope": [ | ||
"constant.language", | ||
"meta.preprocessor" | ||
], | ||
"scope": ["constant.language", "meta.preprocessor"], | ||
"settings": { | ||
@@ -124,6 +112,3 @@ "foreground": "#B58900" | ||
"name": "Support.construct", | ||
"scope": [ | ||
"support.function.construct", | ||
"keyword.other.new" | ||
], | ||
"scope": ["support.function.construct", "keyword.other.new"], | ||
"settings": { | ||
@@ -135,6 +120,3 @@ "foreground": "#D30102" | ||
"name": "User-defined constant", | ||
"scope": [ | ||
"constant.character", | ||
"constant.other" | ||
], | ||
"scope": ["constant.character", "constant.other"], | ||
"settings": { | ||
@@ -163,6 +145,3 @@ "foreground": "#CB4B16" | ||
"name": "Tag start/end", | ||
"scope": [ | ||
"punctuation.definition.tag.begin", | ||
"punctuation.definition.tag.end" | ||
], | ||
"scope": ["punctuation.definition.tag.begin", "punctuation.definition.tag.end"], | ||
"settings": { | ||
@@ -195,6 +174,3 @@ "foreground": "#93A1A1" | ||
"name": "Library constant", | ||
"scope": [ | ||
"support.constant", | ||
"support.variable" | ||
], | ||
"scope": ["support.constant", "support.variable"], | ||
"settings": {} | ||
@@ -204,6 +180,3 @@ }, | ||
"name": "Library class/type", | ||
"scope": [ | ||
"support.type", | ||
"support.class" | ||
], | ||
"scope": ["support.type", "support.class"], | ||
"settings": { | ||
@@ -234,6 +207,3 @@ "foreground": "#859900" | ||
"name": "diff: header", | ||
"scope": [ | ||
"meta.diff", | ||
"meta.diff.header" | ||
], | ||
"scope": ["meta.diff", "meta.diff.header"], | ||
"settings": { | ||
@@ -283,6 +253,3 @@ "fontStyle": "italic", | ||
"name": "Markup Styling", | ||
"scope": [ | ||
"markup.bold", | ||
"markup.italic" | ||
], | ||
"scope": ["markup.bold", "markup.italic"], | ||
"settings": { | ||
@@ -386,2 +353,3 @@ "foreground": "#D33682" | ||
"statusBarItem.remoteBackground": "#AC9D57", | ||
"ports.iconRunningProcessForeground": "#2AA19899", | ||
"statusBarItem.prominentBackground": "#DDD6C1", | ||
@@ -415,2 +383,2 @@ "statusBarItem.prominentHoverBackground": "#DDD6C199", | ||
"semanticHighlighting": true | ||
} | ||
} |
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
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
7598584
157
202302
3
+ Addedjson5@^2.2.0
+ Addedjson5@2.2.3(transitive)
+ Addedvscode-textmate@5.2.0(transitive)
- Removedvscode-textmate@5.5.0(transitive)
Updatedvscode-textmate@5.2.0