shiki 1.13.0 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/langs/gleam.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze({ "displayName": "Gleam", "name": "gleam", "patterns": [{ "include": "#comments" }, { "include": "#keywords" }, { "include": "#strings" }, { "include": "#constant" }, { "include": "#entity" }, { "include": "#discards" }], "repository": { "binary_number": { "match": "\\b0[bB]
|
|
1
|
+
const lang = Object.freeze({ "displayName": "Gleam", "name": "gleam", "patterns": [{ "include": "#comments" }, { "include": "#keywords" }, { "include": "#strings" }, { "include": "#constant" }, { "include": "#entity" }, { "include": "#discards" }], "repository": { "binary_number": { "match": "\\b0[bB]0*1[01_]*\\b", "name": "constant.numeric.binary.gleam", "patterns": [] }, "comments": { "patterns": [{ "match": "//.*", "name": "comment.line.gleam" }] }, "constant": { "patterns": [{ "include": "#binary_number" }, { "include": "#octal_number" }, { "include": "#hexadecimal_number" }, { "include": "#decimal_number" }, { "include": "#boolean" }, { "match": "[[:upper:]][[:alnum:]]*", "name": "entity.name.type.gleam" }] }, "decimal_number": { "match": "\\b(0*[1-9][0-9_]*|0)(\\.(0*[1-9][0-9_]*|0)?(e-?0*[1-9][0-9]*)?)?\\b", "name": "constant.numeric.decimal.gleam", "patterns": [] }, "discards": { "match": "\\b_(?:[[:word:]]+)?\\b", "name": "comment.unused.gleam" }, "entity": { "patterns": [{ "begin": "\\b([[:lower:]][[:word:]]*)\\b[[:space:]]*\\(", "captures": { "1": { "name": "entity.name.function.gleam" } }, "end": "\\)", "patterns": [{ "include": "$self" }] }, { "match": "\\b([[:lower:]][[:word:]]*):\\s", "name": "variable.parameter.gleam" }, { "match": "\\b([[:lower:]][[:word:]]*):", "name": "entity.name.namespace.gleam" }] }, "hexadecimal_number": { "match": "\\b0[xX]0*[1-9a-zA-Z][0-9a-zA-Z]*\\b", "name": "constant.numeric.hexadecimal.gleam", "patterns": [] }, "keywords": { "patterns": [{ "match": "\\b(as|use|case|if|fn|import|let|assert|pub|type|opaque|const|todo|panic|else|try)\\b", "name": "keyword.control.gleam" }, { "match": "(<\\-|\\->)", "name": "keyword.operator.arrow.gleam" }, { "match": "\\|>", "name": "keyword.operator.pipe.gleam" }, { "match": "\\.\\.", "name": "keyword.operator.splat.gleam" }, { "match": "(==|!=)", "name": "keyword.operator.comparison.gleam" }, { "match": "(<=\\.|>=\\.|<\\.|>\\.)", "name": "keyword.operator.comparison.float.gleam" }, { "match": "(<=|>=|<|>)", "name": "keyword.operator.comparison.int.gleam" }, { "match": "(&&|\\|\\|)", "name": "keyword.operator.logical.gleam" }, { "match": "<>", "name": "keyword.operator.string.gleam" }, { "match": "\\|", "name": "keyword.operator.other.gleam" }, { "match": "(\\+\\.|\\-\\.|/\\.|\\*\\.)", "name": "keyword.operator.arithmetic.float.gleam" }, { "match": "(\\+|\\-|/|\\*|%)", "name": "keyword.operator.arithmetic.int.gleam" }, { "match": "=", "name": "keyword.operator.assignment.gleam" }] }, "octal_number": { "match": "\\b0[oO]0*[1-7][0-7]*\\b", "name": "constant.numeric.octal.gleam", "patterns": [] }, "strings": { "begin": '"', "end": '"', "name": "string.quoted.double.gleam", "patterns": [{ "match": "\\\\.", "name": "constant.character.escape.gleam" }] } }, "scopeName": "source.gleam" });
|
|
2
2
|
var gleam = [
|
|
3
3
|
lang
|
|
4
4
|
];
|
|
@@ -60,7 +60,7 @@ var vitesseBlack = Object.freeze({
|
|
|
60
60
|
"editorIndentGuide.activeBackground": "#ffffff30",
|
|
61
61
|
"editorIndentGuide.background": "#ffffff15",
|
|
62
62
|
"editorInfo.foreground": "#6394bf",
|
|
63
|
-
"editorInlayHint.background": "#
|
|
63
|
+
"editorInlayHint.background": "#121212",
|
|
64
64
|
"editorInlayHint.foreground": "#444444",
|
|
65
65
|
"editorLineNumber.activeForeground": "#bfbaaa",
|
|
66
66
|
"editorLineNumber.foreground": "#dedcd550",
|
|
@@ -60,7 +60,7 @@ var vitesseDark = Object.freeze({
|
|
|
60
60
|
"editorIndentGuide.activeBackground": "#ffffff30",
|
|
61
61
|
"editorIndentGuide.background": "#ffffff15",
|
|
62
62
|
"editorInfo.foreground": "#6394bf",
|
|
63
|
-
"editorInlayHint.background": "#
|
|
63
|
+
"editorInlayHint.background": "#181818",
|
|
64
64
|
"editorInlayHint.foreground": "#666666",
|
|
65
65
|
"editorLineNumber.activeForeground": "#bfbaaa",
|
|
66
66
|
"editorLineNumber.foreground": "#dedcd550",
|
|
@@ -60,7 +60,7 @@ var vitesseLight = Object.freeze({
|
|
|
60
60
|
"editorIndentGuide.activeBackground": "#00000030",
|
|
61
61
|
"editorIndentGuide.background": "#00000015",
|
|
62
62
|
"editorInfo.foreground": "#296aa3",
|
|
63
|
-
"editorInlayHint.background": "#
|
|
63
|
+
"editorInlayHint.background": "#f7f7f7",
|
|
64
64
|
"editorInlayHint.foreground": "#999999",
|
|
65
65
|
"editorLineNumber.activeForeground": "#4e4f47",
|
|
66
66
|
"editorLineNumber.foreground": "#393a3450",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shiki",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.14.1",
|
|
5
5
|
"description": "A beautiful Syntax Highlighter.",
|
|
6
6
|
"author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
],
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@types/hast": "^3.0.4",
|
|
96
|
-
"@shikijs/core": "1.
|
|
96
|
+
"@shikijs/core": "1.14.1"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"tm-grammars": "^1.17.
|
|
100
|
-
"tm-themes": "^1.7.
|
|
99
|
+
"tm-grammars": "^1.17.2",
|
|
100
|
+
"tm-themes": "^1.7.1",
|
|
101
101
|
"vscode-oniguruma": "^1.7.0"
|
|
102
102
|
},
|
|
103
103
|
"scripts": {
|