Skip to content

Commit aff7b3e

Browse files
chore: update grammars and themes
1 parent b47f3e6 commit aff7b3e

File tree

11 files changed

+952
-676
lines changed

11 files changed

+952
-676
lines changed

latest-shiki-commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f21e8ca2d0dc965b2933b9e99ead65f4e0b37025
1+
8ba02f69a6f99b22b91597dc70a337dd6d490e9a

vendor/phiki/phiki/resources/languages/markdown.json

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@
221221
{
222222
"include": "#fenced_code_block_pug"
223223
},
224+
{
225+
"include": "#fenced_code_block_ignore"
226+
},
224227
{
225228
"include": "#fenced_code_block_js"
226229
},
@@ -233,6 +236,9 @@
233236
{
234237
"include": "#fenced_code_block_jsonc"
235238
},
239+
{
240+
"include": "#fenced_code_block_jsonl"
241+
},
236242
{
237243
"include": "#fenced_code_block_less"
238244
},
@@ -308,11 +314,53 @@
308314
{
309315
"include": "#fenced_code_block_twig"
310316
},
317+
{
318+
"include": "#fenced_code_block_yang"
319+
},
320+
{
321+
"include": "#fenced_code_block_abap"
322+
},
323+
{
324+
"include": "#fenced_code_block_restructuredtext"
325+
},
311326
{
312327
"include": "#fenced_code_block_unknown"
313328
}
314329
]
315330
},
331+
"fenced_code_block_abap": {
332+
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(abap)((\\s+|[,:?{])[^`]*)?$)",
333+
"beginCaptures": {
334+
"3": {
335+
"name": "punctuation.definition.markdown"
336+
},
337+
"4": {
338+
"name": "fenced_code.block.language.markdown"
339+
},
340+
"5": {
341+
"name": "fenced_code.block.language.attributes.markdown"
342+
}
343+
},
344+
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
345+
"endCaptures": {
346+
"3": {
347+
"name": "punctuation.definition.markdown"
348+
}
349+
},
350+
"name": "markup.fenced_code.block.markdown",
351+
"patterns": [
352+
{
353+
"begin": "(^|\\G)(\\s*)(.*)",
354+
"contentName": "meta.embedded.block.abap",
355+
"patterns": [
356+
{
357+
"include": "source.abap"
358+
}
359+
],
360+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
361+
}
362+
]
363+
},
316364
"fenced_code_block_basic": {
317365
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html?|shtml|xhtml|inc|tmpl|tpl)((\\s+|[,:?{])[^`]*)?$)",
318366
"beginCaptures": {
@@ -973,6 +1021,39 @@
9731021
}
9741022
]
9751023
},
1024+
"fenced_code_block_ignore": {
1025+
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:((?:git|)ignore)((\\s+|[,:?{])[^`]*)?$)",
1026+
"beginCaptures": {
1027+
"3": {
1028+
"name": "punctuation.definition.markdown"
1029+
},
1030+
"4": {
1031+
"name": "fenced_code.block.language.markdown"
1032+
},
1033+
"5": {
1034+
"name": "fenced_code.block.language.attributes.markdown"
1035+
}
1036+
},
1037+
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1038+
"endCaptures": {
1039+
"3": {
1040+
"name": "punctuation.definition.markdown"
1041+
}
1042+
},
1043+
"name": "markup.fenced_code.block.markdown",
1044+
"patterns": [
1045+
{
1046+
"begin": "(^|\\G)(\\s*)(.*)",
1047+
"contentName": "meta.embedded.block.ignore",
1048+
"patterns": [
1049+
{
1050+
"include": "source.ignore"
1051+
}
1052+
],
1053+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1054+
}
1055+
]
1056+
},
9761057
"fenced_code_block_ini": {
9771058
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|[,:?{])[^`]*)?$)",
9781059
"beginCaptures": {
@@ -1171,6 +1252,39 @@
11711252
}
11721253
]
11731254
},
1255+
"fenced_code_block_jsonl": {
1256+
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonl(?:|ines))((\\s+|[,:?{])[^`]*)?$)",
1257+
"beginCaptures": {
1258+
"3": {
1259+
"name": "punctuation.definition.markdown"
1260+
},
1261+
"4": {
1262+
"name": "fenced_code.block.language.markdown"
1263+
},
1264+
"5": {
1265+
"name": "fenced_code.block.language.attributes.markdown"
1266+
}
1267+
},
1268+
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1269+
"endCaptures": {
1270+
"3": {
1271+
"name": "punctuation.definition.markdown"
1272+
}
1273+
},
1274+
"name": "markup.fenced_code.block.markdown",
1275+
"patterns": [
1276+
{
1277+
"begin": "(^|\\G)(\\s*)(.*)",
1278+
"contentName": "meta.embedded.block.jsonl",
1279+
"patterns": [
1280+
{
1281+
"include": "source.json.lines"
1282+
}
1283+
],
1284+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1285+
}
1286+
]
1287+
},
11741288
"fenced_code_block_julia": {
11751289
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(julia|\\{\\.julia.+?})((\\s+|[,:?{])[^`]*)?$)",
11761290
"beginCaptures": {
@@ -1702,6 +1816,39 @@
17021816
}
17031817
]
17041818
},
1819+
"fenced_code_block_restructuredtext": {
1820+
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(r(?:estructuredtext|st))((\\s+|[,:?{])[^`]*)?$)",
1821+
"beginCaptures": {
1822+
"3": {
1823+
"name": "punctuation.definition.markdown"
1824+
},
1825+
"4": {
1826+
"name": "fenced_code.block.language.markdown"
1827+
},
1828+
"5": {
1829+
"name": "fenced_code.block.language.attributes.markdown"
1830+
}
1831+
},
1832+
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
1833+
"endCaptures": {
1834+
"3": {
1835+
"name": "punctuation.definition.markdown"
1836+
}
1837+
},
1838+
"name": "markup.fenced_code.block.markdown",
1839+
"patterns": [
1840+
{
1841+
"begin": "(^|\\G)(\\s*)(.*)",
1842+
"contentName": "meta.embedded.block.restructuredtext",
1843+
"patterns": [
1844+
{
1845+
"include": "source.rst"
1846+
}
1847+
],
1848+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
1849+
}
1850+
]
1851+
},
17051852
"fenced_code_block_ruby": {
17061853
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rbx??|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|[,:?{])[^`]*)?$)",
17071854
"beginCaptures": {
@@ -2182,6 +2329,39 @@
21822329
}
21832330
]
21842331
},
2332+
"fenced_code_block_yang": {
2333+
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(yang)((\\s+|[,:?{])[^`]*)?$)",
2334+
"beginCaptures": {
2335+
"3": {
2336+
"name": "punctuation.definition.markdown"
2337+
},
2338+
"4": {
2339+
"name": "fenced_code.block.language.markdown"
2340+
},
2341+
"5": {
2342+
"name": "fenced_code.block.language.attributes.markdown"
2343+
}
2344+
},
2345+
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
2346+
"endCaptures": {
2347+
"3": {
2348+
"name": "punctuation.definition.markdown"
2349+
}
2350+
},
2351+
"name": "markup.fenced_code.block.markdown",
2352+
"patterns": [
2353+
{
2354+
"begin": "(^|\\G)(\\s*)(.*)",
2355+
"contentName": "meta.embedded.block.yang",
2356+
"patterns": [
2357+
{
2358+
"include": "source.yang"
2359+
}
2360+
],
2361+
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)"
2362+
}
2363+
]
2364+
},
21852365
"frontMatter": {
21862366
"applyEndPatternLast": 1,
21872367
"begin": "\\A(?=(-{3,}))",

vendor/phiki/phiki/resources/themes/andromeeda.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@
147147
},
148148
"displayName": "Andromeeda",
149149
"name": "andromeeda",
150+
"semanticTokenColors": {
151+
"property.declaration:javascript": "#D5CED9",
152+
"variable.defaultLibrary:javascript": "#f39c12"
153+
},
150154
"tokenColors": [
151155
{
152156
"settings": {

vendor/phiki/phiki/resources/themes/catppuccin-frappe.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,14 @@
388388
"pullRequests.notification": "#c6d0f5",
389389
"pullRequests.open": "#a6d189",
390390
"sash.hoverBorder": "#ca9ee6",
391+
"scmGraph.foreground1": "#e5c890",
392+
"scmGraph.foreground2": "#e78284",
393+
"scmGraph.foreground3": "#a6d189",
394+
"scmGraph.foreground4": "#ca9ee6",
395+
"scmGraph.foreground5": "#81c8be",
396+
"scmGraph.historyItemBaseRefColor": "#ef9f76",
397+
"scmGraph.historyItemRefColor": "#8caaee",
398+
"scmGraph.historyItemRemoteRefColor": "#ca9ee6",
391399
"scrollbar.shadow": "#232634",
392400
"scrollbarSlider.activeBackground": "#41455966",
393401
"scrollbarSlider.background": "#62688080",
@@ -871,7 +879,10 @@
871879
}
872880
},
873881
{
874-
"scope": "support.type.property-name.css",
882+
"scope": [
883+
"support.type.property-name.css",
884+
"support.type.property-name.less"
885+
],
875886
"settings": {
876887
"fontStyle": "",
877888
"foreground": "#8caaee"
@@ -1812,6 +1823,18 @@
18121823
"fontStyle": ""
18131824
}
18141825
},
1826+
{
1827+
"scope": "meta.function-call.r",
1828+
"settings": {
1829+
"foreground": "#8caaee"
1830+
}
1831+
},
1832+
{
1833+
"scope": "meta.function-call.arguments.r",
1834+
"settings": {
1835+
"foreground": "#c6d0f5"
1836+
}
1837+
},
18151838
{
18161839
"scope": [
18171840
"string.regexp punctuation.definition.string.begin",

vendor/phiki/phiki/resources/themes/catppuccin-latte.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,14 @@
388388
"pullRequests.notification": "#4c4f69",
389389
"pullRequests.open": "#40a02b",
390390
"sash.hoverBorder": "#8839ef",
391+
"scmGraph.foreground1": "#df8e1d",
392+
"scmGraph.foreground2": "#d20f39",
393+
"scmGraph.foreground3": "#40a02b",
394+
"scmGraph.foreground4": "#8839ef",
395+
"scmGraph.foreground5": "#179299",
396+
"scmGraph.historyItemBaseRefColor": "#fe640b",
397+
"scmGraph.historyItemRefColor": "#1e66f5",
398+
"scmGraph.historyItemRemoteRefColor": "#8839ef",
391399
"scrollbar.shadow": "#dce0e8",
392400
"scrollbarSlider.activeBackground": "#ccd0da66",
393401
"scrollbarSlider.background": "#acb0be80",
@@ -871,7 +879,10 @@
871879
}
872880
},
873881
{
874-
"scope": "support.type.property-name.css",
882+
"scope": [
883+
"support.type.property-name.css",
884+
"support.type.property-name.less"
885+
],
875886
"settings": {
876887
"fontStyle": "",
877888
"foreground": "#1e66f5"
@@ -1812,6 +1823,18 @@
18121823
"fontStyle": ""
18131824
}
18141825
},
1826+
{
1827+
"scope": "meta.function-call.r",
1828+
"settings": {
1829+
"foreground": "#1e66f5"
1830+
}
1831+
},
1832+
{
1833+
"scope": "meta.function-call.arguments.r",
1834+
"settings": {
1835+
"foreground": "#4c4f69"
1836+
}
1837+
},
18151838
{
18161839
"scope": [
18171840
"string.regexp punctuation.definition.string.begin",

vendor/phiki/phiki/resources/themes/catppuccin-macchiato.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,14 @@
388388
"pullRequests.notification": "#cad3f5",
389389
"pullRequests.open": "#a6da95",
390390
"sash.hoverBorder": "#c6a0f6",
391+
"scmGraph.foreground1": "#eed49f",
392+
"scmGraph.foreground2": "#ed8796",
393+
"scmGraph.foreground3": "#a6da95",
394+
"scmGraph.foreground4": "#c6a0f6",
395+
"scmGraph.foreground5": "#8bd5ca",
396+
"scmGraph.historyItemBaseRefColor": "#f5a97f",
397+
"scmGraph.historyItemRefColor": "#8aadf4",
398+
"scmGraph.historyItemRemoteRefColor": "#c6a0f6",
391399
"scrollbar.shadow": "#181926",
392400
"scrollbarSlider.activeBackground": "#363a4f66",
393401
"scrollbarSlider.background": "#5b607880",
@@ -871,7 +879,10 @@
871879
}
872880
},
873881
{
874-
"scope": "support.type.property-name.css",
882+
"scope": [
883+
"support.type.property-name.css",
884+
"support.type.property-name.less"
885+
],
875886
"settings": {
876887
"fontStyle": "",
877888
"foreground": "#8aadf4"
@@ -1812,6 +1823,18 @@
18121823
"fontStyle": ""
18131824
}
18141825
},
1826+
{
1827+
"scope": "meta.function-call.r",
1828+
"settings": {
1829+
"foreground": "#8aadf4"
1830+
}
1831+
},
1832+
{
1833+
"scope": "meta.function-call.arguments.r",
1834+
"settings": {
1835+
"foreground": "#cad3f5"
1836+
}
1837+
},
18151838
{
18161839
"scope": [
18171840
"string.regexp punctuation.definition.string.begin",

0 commit comments

Comments
 (0)