Socket
Socket
Sign inDemoInstall

shiki

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shiki - npm Package Compare versions

Comparing version 0.9.2 to 0.9.3

languages/cpp.embedded.macro.tmLanguage.json

2

dist/index.d.ts

@@ -159,3 +159,3 @@ import { IRawThemeSetting, IRawGrammar, IRawTheme } from 'vscode-textmate';

declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apex' | 'applescript' | 'asm' | 'asp-net-razor' | 'awk' | 'bat' | 'c' | 'clojure' | 'cobol' | 'coffee' | 'cpp' | 'crystal' | 'csharp' | 'css' | 'd' | 'dart' | 'diff' | 'dockerfile' | 'elixir' | 'elm' | 'erlang' | 'fsharp' | 'git-commit' | 'git-rebase' | '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' | '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' | '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 const languages: ILanguageRegistration[];

@@ -162,0 +162,0 @@

@@ -93,4 +93,9 @@ import { loadWASM, OnigScanner, OnigString } from 'onigasm';

{
id: 'cpp.embedded.macro',
scopeName: 'source.cpp.embedded.macro',
path: 'cpp.embedded.macro.tmLanguage.json'
},
{
id: 'cpp',
scopeName: 'source.cpp.embedded.macro',
scopeName: 'source.cpp',
path: 'cpp.tmLanguage.json'

@@ -166,2 +171,7 @@ },

{
id: 'gnuplot',
scopeName: 'source.gnuplot',
path: 'gnuplot.tmLanguage.json'
},
{
id: 'go',

@@ -282,3 +292,4 @@ scopeName: 'source.go',

scopeName: 'text.tex.latex',
path: 'latex.tmLanguage.json'
path: 'latex.tmLanguage.json',
aliases: ['tex']
},

@@ -322,2 +333,7 @@ {

{
id: 'mdx',
scopeName: 'text.html.markdown.jsx',
path: 'mdx.tmLanguage.json'
},
{
id: 'nix',

@@ -1008,12 +1024,7 @@ scopeName: 'source.nix',

lines.forEach((l) => {
if (l.length === 0) {
html += `\n`;
}
else {
html += `<span class="line">`;
l.forEach(token => {
html += `<span style="color: ${token.color || options.fg}">${escapeHtml(token.content)}</span>`;
});
html += `</span>\n`;
}
html += `<span class="line">`;
l.forEach(token => {
html += `<span style="color: ${token.color || options.fg}">${escapeHtml(token.content)}</span>`;
});
html += `</span>\n`;
});

@@ -1020,0 +1031,0 @@ html = html.replace(/\n*$/, ''); // Get rid of final new lines

@@ -97,4 +97,9 @@ 'use strict';

{
id: 'cpp.embedded.macro',
scopeName: 'source.cpp.embedded.macro',
path: 'cpp.embedded.macro.tmLanguage.json'
},
{
id: 'cpp',
scopeName: 'source.cpp.embedded.macro',
scopeName: 'source.cpp',
path: 'cpp.tmLanguage.json'

@@ -170,2 +175,7 @@ },

{
id: 'gnuplot',
scopeName: 'source.gnuplot',
path: 'gnuplot.tmLanguage.json'
},
{
id: 'go',

@@ -286,3 +296,4 @@ scopeName: 'source.go',

scopeName: 'text.tex.latex',
path: 'latex.tmLanguage.json'
path: 'latex.tmLanguage.json',
aliases: ['tex']
},

@@ -326,2 +337,7 @@ {

{
id: 'mdx',
scopeName: 'text.html.markdown.jsx',
path: 'mdx.tmLanguage.json'
},
{
id: 'nix',

@@ -1012,12 +1028,7 @@ scopeName: 'source.nix',

lines.forEach((l) => {
if (l.length === 0) {
html += `\n`;
}
else {
html += `<span class="line">`;
l.forEach(token => {
html += `<span style="color: ${token.color || options.fg}">${escapeHtml(token.content)}</span>`;
});
html += `</span>\n`;
}
html += `<span class="line">`;
l.forEach(token => {
html += `<span style="color: ${token.color || options.fg}">${escapeHtml(token.content)}</span>`;
});
html += `</span>\n`;
});

@@ -1024,0 +1035,0 @@ html = html.replace(/\n*$/, ''); // Get rid of final new lines

@@ -90,3 +90,3 @@ {

{
"match": "\\s+(78)\\s+([0-9a-zA-Z][a-zA-Z\\-0-9_]+)",
"match": "^\\s+(78)\\s+([0-9a-zA-Z][a-zA-Z\\-0-9_]+)",
"captures": {

@@ -809,3 +809,3 @@ "1": {

{
"match": "(?<![-_])(?i:modify|inquire|tab|title|event|center|label-offset|cell|help-id|cells|push-button|list-box|label|default-font|id|no-tab|unsorted|color|height|width|bind|thread|erase|modeless|scroll|system|menu|title-bar|wrap|destroy|resizeable|user-gray|large-font|newline|3-d|data-columns|display-columns|alignment|separation|cursor-frame-width|divider-color|drag-color|heading-color|heading-divider-color|num-rows|record-data|tiled-headings|vpadding|centered-headings|column-headings|self-act|cancel-button|vscroll|report-composer|clsid|primary-interface|active-x-control|default-interface|default-source|auto-minimize|auto-resize|resource|engraved|initial-state|frame|acuactivexcontrol|activex-res|grid|box|message|namespace|class-name|module|constructor|version|strong|culture|method|handle|exception-value|read-only|dividers|graphical|indexed|termination-value|permanent|boxed|visible|centered|record-position|convert)(?=\\s|\\.|,|;|$)",
"match": "(?<![-_])(?i:modify|inquire|tab|title|event|center|label-offset|cell|help-id|cells|push-button|radio-button|page-layout-screen|entry-field|list-box|label|default-font|id|no-tab|unsorted|color|height|width|bind|thread|erase|modeless|scroll|system|menu|title-bar|wrap|destroy|resizeable|user-gray|large-font|newline|3-d|data-columns|display-columns|alignment|separation|cursor-frame-width|divider-color|drag-color|heading-color|heading-divider-color|num-rows|record-data|tiled-headings|vpadding|centered-headings|column-headings|self-act|cancel-button|vscroll|report-composer|clsid|primary-interface|active-x-control|default-interface|default-source|auto-minimize|auto-resize|resource|engraved|initial-state|frame|acuactivexcontrol|activex-res|grid|box|message|namespace|class-name|module|constructor|version|strong|culture|method|handle|exception-value|read-only|dividers|graphical|indexed|termination-value|permanent|boxed|visible|centered|record-position|convert)(?=\\s|\\.|,|;|$)",
"name": "invalid.illegal.acu.cobol"

@@ -829,3 +829,3 @@ },

"name": "comment.2.block.cobol.remark",
"end": "(?i:end\\-remark|\\*{Bench}end|environment\\s+division|data\\s+division|working-storage\\s+section)",
"end": "(?i:end\\-remark|\\*{Bench}end|environment\\s+division|data\\s+division|working-storage\\s+section|file-control)",
"endCaptures": {

@@ -832,0 +832,0 @@ "0": {

{
"information_for_contributors": [
"This file has been converted from https://github.com/Microsoft/vscode/blob/master/extensions/ruby/syntaxes/ruby.tmLanguage.json",
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
"This file is based on https://github.com/Microsoft/vscode/blob/master/extensions/ruby/syntaxes/ruby.tmLanguage.json"
],
"version": "https://github.com/Microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/ruby/syntaxes/ruby.tmLanguage.json",
"version": "https://github.com/Microsoft/vscode/blob/3f1f36333d3453f67a36b6bfb1206e9159e9c4f0/extensions/ruby/syntaxes/ruby.tmLanguage.json",
"name": "crystal",

@@ -14,3 +12,3 @@ "scopeName": "source.crystal",

"firstLineMatch": "^#!/.*\\bcrystal",
"foldingStartMarker": "(?x)^(\\s*+(annotation|module|class|def(?!.*\\bend\\s*$)|unless|if|case|begin|for|while|until|record|^=begin|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\s(do|begin|case)|(?<!\\$)[-+=&|*/~%^<>~]\\s*+(if|unless)))\\b(?![^;]*+;.*?\\bend\\b)|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\{(?![^}]*+\\})|\\[(?![^\\]]*+\\]))).*$|[#].*?\\(fold\\)\\s*+$",
"foldingStartMarker": "(?x)^(\\s*+(annotation|module|class|struct|union|enum|def(?!.*\\bend\\s*$)|unless|if|case|begin|for|while|until|^=begin|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\s(do|begin|case)|(?<!\\$)[-+=&|*/~%^<>~]\\s*+(if|unless)))\\b(?![^;]*+;.*?\\bend\\b)|(\"(\\\\.|[^\"])*+\"|'(\\\\.|[^'])*+'|[^#\"'])*(\\{(?![^}]*+\\})|\\[(?![^\\]]*+\\]))).*$|[#].*?\\(fold\\)\\s*+$",
"foldingStopMarker": "(?x)((^|;)\\s*+end\\s*+([#].*)?$|(^|;)\\s*+end\\..*$|^\\s*+[}\\]] ,?\\s*+([#].*)?$|[#].*?\\(end\\)\\s*+$|^=end)",

@@ -52,3 +50,3 @@ "keyEquivalent": "^~R",

},
"match": "(?x)^\\s*(abstract)?\\s*(class|struct|union|annotation)\\s+(([.A-Z_:\\x{80}-\\x{10FFFF}][.\\w:\\x{80}-\\x{10FFFF}]*(\\(([,\\s.a-zA-Z0-9_:\\x{80}-\\x{10FFFF}]+)\\))?(\\s*(<)\\s*[.:A-Z\\x{80}-\\x{10FFFF}][.:\\w\\x{80}-\\x{10FFFF}]*(\\(([.a-zA-Z0-9_:]+\\s,)\\))?)?)|((<<)\\s*[.A-Z0-9_:\\x{80}-\\x{10FFFF}]+))",
"match": "(?x)^\\s*(abstract)?\\s*(class|struct|union|annotation|enum)\\s+(([.A-Z_:\\x{80}-\\x{10FFFF}][.\\w:\\x{80}-\\x{10FFFF}]*(\\(([,\\s.a-zA-Z0-9_:\\x{80}-\\x{10FFFF}]+)\\))?(\\s*(<)\\s*[.:A-Z\\x{80}-\\x{10FFFF}][.:\\w\\x{80}-\\x{10FFFF}]*(\\(([.a-zA-Z0-9_:]+\\s,)\\))?)?)|((<<)\\s*[.A-Z0-9_:\\x{80}-\\x{10FFFF}]+))",
"name": "meta.class.crystal"

@@ -137,8 +135,8 @@ },

"comment": "everything being a reserved word, not a value and needing a 'end' is a..",
"match": "(?<!\\.)\\b(fun|begin|case|class|else|elsif|end|ensure|for|if|in|module|rescue|then|unless|until|when|while)\\b(?![?!])",
"match": "(?<!\\.)\\b(fun|begin|case|class|else|elsif|end|ensure|enum|for|if|macro|module|rescue|struct|then|union|unless|until|when|while)\\b(?![?!:])",
"name": "keyword.control.crystal"
},
{
"comment": "everything being a reserved word, not a value and needing a 'end' is a..",
"match": "(?<!\\.)\\b(as|abstract|ensure|fun|in|lib|of|out|previous_def|private|protected|struct|with|union|enum|macro|select|record)\\b(?![?!])",
"comment": "everything being a reserved word, not a value and not needing a 'end' is a..",
"match": "(?<!\\.)\\b(abstract|alias|asm|break|extend|in|include|next|of|private|protected|struct|return|select|super|with|yield)\\b(?![?!:])",
"name": "keyword.control.primary.crystal"

@@ -158,25 +156,25 @@ },

"comment": "Just as above but being not a logical operation",
"match": "(?<!\\.)\\b(asm|alias|alias_method|break|next|pointerof|typeof|sizeof|instance_sizeof|offsetof|return|super|yield|uninitialized)\\b(?![?!])",
"match": "(?<!\\.)\\b(pointerof|typeof|sizeof|instance_sizeof|offsetof|previous_def|forall|out|uninitialized)\\b(?![?!:])|\\.(is_a\\?|nil\\?|responds_to\\?|as\\?|as\b)",
"name": "keyword.control.pseudo-method.crystal"
},
{
"match": "\\bnil\\b(?![?!])",
"match": "\\bnil\\b(?![?!:])",
"name": "constant.language.nil.crystal"
},
{
"match": "\\b(true|false)\\b(?![?!])",
"match": "\\b(true|false)\\b(?![?!:])",
"name": "constant.language.boolean.crystal"
},
{
"match": "\\b(__(FILE|LINE|DIR)__)\\b(?![?!])",
"match": "\\b(__(DIR|FILE|LINE|END_LINE)__)\\b(?![?!:])",
"name": "variable.language.crystal"
},
{
"match": "\\bself\\b(?![?!])",
"match": "\\b(self)\\b(?![?!:])",
"name": "variable.language.self.crystal"
},
{
"comment": "Everything being a method but having a special function is a..",
"match": "\\b(initialize|new|loop|include|extend|raise|getter|setter|property|class_getter|class_setter|class_property|describe|it|with|delegate|def_hash|def_equals|def_equals_and_hash|forward_missing_to|assert_responds_to|spawn|finalize)\\b[!?]?",
"name": "keyword.other.special-method.crystal"
"comment": "https://crystal-lang.org/api/0.36.1/Object.html#macro-summary",
"match": "(?<!\\.)\\b(((class_)?((getter|property)\\b[!?]?|setter\\b))|(def_(clone|equals|equals_and_hash|hash)|delegate|forward_missing_to)\\b)(?![?!:])",
"name": "support.function.kernel.crystal"
},

@@ -231,3 +229,3 @@ {

},
"match": "(?!%[QWSR][\\(\\[\\{\\<\\|])(\\%)([a-zA-Z_]\\w*\\.)*[a-zA-Z_]\\w*",
"match": "(?!%[Qxrqwi]?[\\(\\[\\{\\<\\|])%([a-zA-Z_]\\w*\\.)*[a-zA-Z_]\\w*",
"name": "variable.other.readwrite.fresh.crystal"

@@ -260,17 +258,17 @@ },

{
"match": "\\b[_A-Z]+\\b",
"name": "variable.other.constant.crystal",
"comment": "Constant name in any where"
},
{
"match": "\\b[A-Z\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*",
"name": "support.class.crystal",
"commenct": "Literals name of Crystal"
"comment": "Literals name of Crystal"
},
{
"match": "\\b(abort|at_exit|caller|delay|exit|fork|future|lazy|loop|main|p|pp|print|printf|puts|rand|read_line|sleep|spawn|sprintf|system|with_color|debugger)\\b[!?]?",
"match": "(?<!\\.)\\b(abort|at_exit|caller|exit|gets|loop|main|p|pp|print|printf|puts|raise|rand|read_line|sleep|spawn|sprintf|system|debugger|record|spawn)\\b(?![?!:])",
"name": "support.function.kernel.crystal",
"comment": "Fetch from https://crystal-lang.org/api/0.27.0/toplevel.html"
"comment": "Fetch from https://crystal-lang.org/api/0.36.1/toplevel.html"
},
{
"match": "\\b[_A-Z]+\\b",
"name": "variable.other.constant.crystal",
"comment": "Constant name in any where"
},
{
"begin": "(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?<=^|\\s)(def)\\s+\n(\n (?>[a-zA-Z_]\\w*(?>\\.|::))? # method prefix\n (?> # method name\n [a-zA-Z_]\\w*(?>[?!]|=(?!>))?\n |\n \\^|===?|!=|>[>=]?|<=>|<[<=]?|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[][?=]?|\\[]=?\n )\n)\n\\s*(\\()",

@@ -307,3 +305,3 @@ "beginCaptures": {

"2": {
"name": "constant.language.symbol.hashkey.parameter.function.crystal"
"name": "constant.other.symbol.hashkey.parameter.function.crystal"
},

@@ -357,3 +355,3 @@ "3": {

"name": "constant.numeric.integer.decimal.crystal",
"match": "\\b([1-9]|[0-9]_)[0-9_]*([ui](8|16|32|64|128))?\\b"
"match": "\\b(?!0[0-9])[0-9][0-9_]*([ui](8|16|32|64|128))?\\b"
},

@@ -367,3 +365,3 @@ {

"comment": "Integer literal (octal)",
"name": "constant.numeric.integer.octal.rust",
"name": "constant.numeric.integer.octal.crystal",
"match": "\\b0o[0-7_]+([ui](8|16|32|64|128))?\\b"

@@ -390,3 +388,3 @@ },

},
"name": "constant.language.symbol.crystal",
"name": "constant.other.symbol.crystal",
"patterns": [

@@ -413,3 +411,3 @@ {

},
"name": "constant.language.symbol.interpolated.crystal",
"name": "constant.other.symbol.interpolated.crystal",
"patterns": [

@@ -608,3 +606,3 @@ {

{
"begin": "%x([^\\w])",
"begin": "%x\\|",
"beginCaptures": [

@@ -616,3 +614,3 @@ {

"comment": "execute string (allow for interpolation)",
"end": "\\1",
"end": "\\|",
"endCaptures": [

@@ -645,3 +643,3 @@ {

"contentName": "string.regexp.classic.crystal",
"end": "((/[eimnosux]*))",
"end": "((/[imsx]*))",
"patterns": [

@@ -661,3 +659,3 @@ {

"comment": "regular expressions (literal)",
"end": "\\}[eimnosux]*",
"end": "\\}[imsx]*",
"endCaptures": [

@@ -686,3 +684,3 @@ {

"comment": "regular expressions (literal)",
"end": "\\][eimnosux]*",
"end": "\\][imsx]*",
"endCaptures": [

@@ -711,3 +709,3 @@ {

"comment": "regular expressions (literal)",
"end": "\\)[eimnosux]*",
"end": "\\)[imsx]*",
"endCaptures": [

@@ -736,3 +734,3 @@ {

"comment": "regular expressions (literal)",
"end": "\\>[eimnosux]*",
"end": "\\>[imsx]*",
"endCaptures": [

@@ -754,3 +752,3 @@ {

{
"begin": "%r([^\\w])",
"begin": "%r\\|",
"beginCaptures": [

@@ -762,3 +760,3 @@ {

"comment": "regular expressions (literal)",
"end": "\\1[eimnosux]*",
"end": "\\|[imsx]*",
"endCaptures": [

@@ -777,3 +775,3 @@ {

{
"begin": "%[QWSR]?\\(",
"begin": "%Q?\\(",
"beginCaptures": [

@@ -805,3 +803,3 @@ {

{
"begin": "%[QWSR]?\\[",
"begin": "%Q?\\[",
"beginCaptures": [

@@ -833,3 +831,3 @@ {

{
"begin": "%[QWSR]?\\<",
"begin": "%Q?\\<",
"beginCaptures": [

@@ -861,3 +859,3 @@ {

{
"begin": "%[QWSR]?\\{",
"begin": "%Q?\\{",
"beginCaptures": [

@@ -889,3 +887,3 @@ {

{
"begin": "%[QWSR]([^\\w])",
"begin": "%Q\\|",
"beginCaptures": [

@@ -896,4 +894,4 @@ {

],
"comment": "literal capable of interpolation -- wildcard",
"end": "\\1",
"comment": "literal capable of interpolation -- ||",
"end": "\\|",
"endCaptures": [

@@ -915,3 +913,3 @@ {

{
"begin": "%[qws]\\(",
"begin": "%[qwi]\\(",
"beginCaptures": [

@@ -941,3 +939,3 @@ {

{
"begin": "%[qws]\\<",
"begin": "%[qwi]\\<",
"beginCaptures": [

@@ -967,3 +965,3 @@ {

{
"begin": "%[qws]\\[",
"begin": "%[qwi]\\[",
"beginCaptures": [

@@ -993,3 +991,3 @@ {

{
"begin": "%[qws]\\{",
"begin": "%[qwi]\\{",
"beginCaptures": [

@@ -1019,3 +1017,3 @@ {

{
"begin": "%[qws]([^\\w])",
"begin": "%[qwi]\\|",
"beginCaptures": [

@@ -1026,4 +1024,4 @@ {

],
"comment": "literal incapable of interpolation -- wildcard",
"end": "\\1",
"comment": "literal incapable of interpolation -- ||",
"end": "\\|",
"endCaptures": [

@@ -1049,3 +1047,3 @@ {

"comment": "symbols",
"match": "(?<!:)(:)(?>[a-zA-Z_\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\]=?|@@?[a-zA-Z_\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*)",
"match": "(?<!:)(:)(?>[a-zA-Z_\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`/\\|]|\\*\\*?|=?~|[-+]@?|\\[\\][?=]?|@@?[a-zA-Z_\\x{80}-\\x{10FFFF}][\\w\\x{80}-\\x{10FFFF}]*)",
"name": "constant.other.symbol.crystal"

@@ -1441,6 +1439,2 @@ },

{
"match": "(?<!\\.)\\b(and|not|or)\\b(?![?!])",
"name": "keyword.operator.logical.crystal"
},
{
"match": "(?<=^|[ \\t])!|&&|\\|\\||\\^",

@@ -1530,3 +1524,4 @@ "name": "keyword.operator.logical.crystal"

"escaped_char": {
"match": "\\\\(?:[0-7]{1,3}|x[\\da-fA-F]{1,2}|.)",
"comment": "https://crystal-lang.org/reference/syntax_and_semantics/literals/string.html",
"match": "\\\\(?:[\\\\abefnrtv#\"\\']|[0-7]{1,3}|x[a-fA-F0-9]{2}|u[a-fA-F0-9]{4}|u\\{[a-fA-F0-9 ]+\\})",
"name": "constant.character.escape.crystal"

@@ -1533,0 +1528,0 @@ },

{
"comment": "This grammar is used by Atom (Oniguruma), GitHub (PCRE), and VSCode (Oniguruma),\nso all regexps must be compatible with both engines.\n\nSpecs:\n- https://github.com/kkos/oniguruma/blob/master/doc/RE\n- https://www.pcre.org/current/doc/html/",
"fileTypes": [
"jl"
"information_for_contributors": [
"This file has been converted from https://github.com/JuliaEditorSupport/atom-language-julia/blob/master/grammars/julia_vscode.json",
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"firstLineMatch": "^#!.*\\bjulia\\s*$",
"version": "https://github.com/JuliaEditorSupport/atom-language-julia/commit/8ae8d9cac742c65ae0bef1a5e2d068e2cae871bc",
"name": "julia",
"scopeName": "source.julia",
"comment": "This grammar is used by Atom (Oniguruma), GitHub (PCRE), and VSCode (Oniguruma),\nso all regexps must be compatible with both engines.\n\nSpecs:\n- https://github.com/kkos/oniguruma/blob/master/doc/RE\n- https://www.pcre.org/current/doc/html/",
"patterns": [

@@ -1109,4 +1112,3 @@ {

}
},
"scopeName": "source.julia"
}
}

@@ -413,3 +413,3 @@ {

{
"begin": "((?:\\s*)\\\\begin\\{((?:pycode|sageblock|sagesilent|sageverbatim|sageexample|sagecommandline)(?:\\*)?)\\}(?:\\[.*\\])?)",
"begin": "((?:\\s*)\\\\begin\\{((?:(?:(?:py|pylab|sympy)(?:code|verbatim|block|concode|console|converbatim))|sageblock|sagesilent|sageverbatim|sageexample|sagecommandline)(?:\\*)?)\\}(?:\\[.*\\])?)",
"captures": {

@@ -1418,2 +1418,49 @@ "1": {

{
"captures": {
"1": {
"name": "support.function.verb.latex"
},
"2": {
"name": "punctuation.definition.function.latex"
},
"3": {
"patterns": [
{
"include": "#optional-arg"
}
]
},
"4": {
"name": "punctuation.definition.verb.latex"
},
"5": {
"name": "source.python",
"patterns": [
{
"include": "source.python"
}
]
},
"6": {
"name": "punctuation.definition.verb.latex"
},
"7": {
"name": "punctuation.definition.verb.latex"
},
"8": {
"name": "source.python",
"patterns": [
{
"include": "source.python"
}
]
},
"9": {
"name": "punctuation.definition.verb.latex"
}
},
"match": "((\\\\)(?:py|pycon|pylab|pylabcon|sympy|sympycon)[cv]?)((?:\\[[^\\[]*?\\])?)(?:(?:([^a-zA-Z\\{])(.*?)(\\4))|(?:(\\{)(.*?)(\\})))",
"name": "meta.function.verb.latex"
},
{
"match": "\\\\(?:newline|pagebreak|clearpage|linebreak|pause)(?:\\b)",

@@ -1636,3 +1683,3 @@ "name": "keyword.control.layout.latex"

},
"match": "(?:\\s*)((\\\\)(?:begin|end))(\\{)([a-z]*code(?:\\*)?|gnuplot|dot2tex|asy|sage[a-z]*)(\\})(?:(\\[).*(\\]))?"
"match": "(?:\\s*)((\\\\)(?:begin|end))(\\{)([a-z]+(?:\\*)?)(\\})(?:(\\[).*(\\]))?"
},

@@ -1639,0 +1686,0 @@ "definition-label": {

@@ -7,3 +7,3 @@ {

],
"version": "https://github.com/fadeevab/make.tmbundle/commit/e36e02becd20730259b0115d9ca5c419f65023a9",
"version": "https://github.com/fadeevab/make.tmbundle/commit/91b724d1ad86fa65e4b240a960311a280b92f971",
"name": "makefile",

@@ -33,3 +33,3 @@ "scopeName": "source.makefile",

"comment": {
"begin": "(^[ \\t]+)?(?=#)",
"begin": "(^[ ]+)?(?=#)",
"beginCaptures": {

@@ -136,5 +136,2 @@ "1": {

{
"include": "#comment"
},
{
"include": "#directives"

@@ -201,12 +198,6 @@ }

{
"begin": "^\\s*(ifdef|ifndef)\\s*([^\\s]+)(?=\\s)",
"begin": "^\\s*(ifeq|ifneq|ifdef|ifndef)(?=\\s)",
"captures": {
"1": {
"name": "keyword.control.$1.makefile"
},
"2": {
"name": "variable.other.makefile"
},
"3": {
"name": "punctuation.separator.key-value.makefile"
}

@@ -218,26 +209,2 @@ },

{
"begin": "\\G(?!\\n)",
"end": "^",
"patterns": [
{
"include": "#comment"
}
]
},
{
"include": "$self"
}
]
},
{
"begin": "^\\s*(ifeq|ifneq)(?=\\s)",
"captures": {
"1": {
"name": "keyword.control.$1.makefile"
}
},
"end": "^\\s*(endif)\\b",
"name": "meta.scope.conditional.makefile",
"patterns": [
{
"begin": "\\G",

@@ -262,3 +229,11 @@ "end": "^",

},
"end": "^"
"end": "^",
"patterns": [
{
"include": "#variables"
},
{
"include": "#comment"
}
]
},

@@ -265,0 +240,0 @@ {

{
"name": "shiki",
"version": "0.9.2",
"version": "0.9.3",
"description": "shiki",

@@ -36,3 +36,3 @@ "author": "Pine Wu <octref@gmail.com>",

},
"gitHead": "a8f5203bfa1bf7efff1cd5e11e5c581e358bf750"
"gitHead": "817adba73fd5ceb703357920fff6a3b3fe242d6d"
}

@@ -579,4 +579,5 @@ {

"sideBarSectionHeader.border": "#ccc3",
"tab.lastPinnedBorder": "#ccc3"
"tab.lastPinnedBorder": "#ccc3",
"notebook.selectedCellBackground": "#383B3D50"
}
}

@@ -608,4 +608,5 @@ {

"notebook.cellBorderColor": "#E8E8E8",
"notebook.selectedCellBackground": "#c8ddf150",
"statusBarItem.errorBackground": "#c72e0f"
}
}

@@ -447,2 +447,29 @@ {

{
"name": "Markup Deleted",
"scope": [
"markup.deleted"
],
"settings": {
"foreground": "#f07178"
}
},
{
"name": "Markup Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#C3E88D"
}
},
{
"name": "Markup Underline",
"scope": [
"markup.underline"
],
"settings": {
"fontStyle": "underline"
}
},
{
"name": "Keyword Control",

@@ -728,2 +755,3 @@ "scope": [

"list.inactiveSelectionForeground": "#80CBC4",
"quickInput.list.focusBackground": "#EEFFFF20",
"editorSuggestWidget.background": "#212121",

@@ -730,0 +758,0 @@ "editorSuggestWidget.foreground": "#EEFFFF",

@@ -447,2 +447,29 @@ {

{
"name": "Markup Deleted",
"scope": [
"markup.deleted"
],
"settings": {
"foreground": "#f07178"
}
},
{
"name": "Markup Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#C3E88D"
}
},
{
"name": "Markup Underline",
"scope": [
"markup.underline"
],
"settings": {
"fontStyle": "underline"
}
},
{
"name": "Keyword Control",

@@ -728,2 +755,3 @@ "scope": [

"list.inactiveSelectionForeground": "#80CBC4",
"quickInput.list.focusBackground": "#EEFFFF20",
"editorSuggestWidget.background": "#263238",

@@ -730,0 +758,0 @@ "editorSuggestWidget.foreground": "#EEFFFF",

@@ -447,2 +447,29 @@ {

{
"name": "Markup Deleted",
"scope": [
"markup.deleted"
],
"settings": {
"foreground": "#E53935"
}
},
{
"name": "Markup Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#91B859"
}
},
{
"name": "Markup Underline",
"scope": [
"markup.underline"
],
"settings": {
"fontStyle": "underline"
}
},
{
"name": "Keyword Control",

@@ -728,2 +755,3 @@ "scope": [

"list.inactiveSelectionForeground": "#80CBC4",
"quickInput.list.focusBackground": "#90A4AE20",
"editorSuggestWidget.background": "#FAFAFA",

@@ -730,0 +758,0 @@ "editorSuggestWidget.foreground": "#90A4AE",

@@ -447,2 +447,29 @@ {

{
"name": "Markup Deleted",
"scope": [
"markup.deleted"
],
"settings": {
"foreground": "#f07178"
}
},
{
"name": "Markup Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#C3E88D"
}
},
{
"name": "Markup Underline",
"scope": [
"markup.underline"
],
"settings": {
"fontStyle": "underline"
}
},
{
"name": "Keyword Control",

@@ -728,2 +755,3 @@ "scope": [

"list.inactiveSelectionForeground": "#80CBC4",
"quickInput.list.focusBackground": "#A6ACCD20",
"editorSuggestWidget.background": "#0F111A",

@@ -730,0 +758,0 @@ "editorSuggestWidget.foreground": "#A6ACCD",

@@ -447,2 +447,29 @@ {

{
"name": "Markup Deleted",
"scope": [
"markup.deleted"
],
"settings": {
"foreground": "#f07178"
}
},
{
"name": "Markup Inserted",
"scope": [
"markup.inserted"
],
"settings": {
"foreground": "#C3E88D"
}
},
{
"name": "Markup Underline",
"scope": [
"markup.underline"
],
"settings": {
"fontStyle": "underline"
}
},
{
"name": "Keyword Control",

@@ -728,2 +755,3 @@ "scope": [

"list.inactiveSelectionForeground": "#80CBC4",
"quickInput.list.focusBackground": "#A6ACCD20",
"editorSuggestWidget.background": "#292D3E",

@@ -730,0 +758,0 @@ "editorSuggestWidget.foreground": "#A6ACCD",

@@ -6,3 +6,3 @@ {

"list.activeSelectionBackground": "#75715E",
"list.focusBackground": "#414339",
"quickInputList.focusBackground": "#414339",
"dropdown.listBackground": "#1e1f1c",

@@ -9,0 +9,0 @@ "list.inactiveSelectionBackground": "#414339",

@@ -337,3 +337,3 @@ {

"list.activeSelectionBackground": "#005A6F",
"list.focusBackground": "#005A6F",
"quickInputList.focusBackground": "#005A6F",
"list.hoverBackground": "#004454AA",

@@ -340,0 +340,0 @@ "list.inactiveSelectionBackground": "#00445488",

@@ -334,3 +334,3 @@ {

"list.activeSelectionForeground": "#6C6C6C",
"list.focusBackground": "#DFCA8866",
"quickInputList.focusBackground": "#DFCA8866",
"list.hoverBackground": "#DFCA8844",

@@ -337,0 +337,0 @@ "list.inactiveSelectionBackground": "#D1CBB8",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc