nuxt-studio 1.3.3 → 1.5.0
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/README.md +1 -0
- package/dist/app/asciidoc-AY8u9WWM.js +1 -0
- package/dist/app/ayu-dark-DYE7WIF3.js +1 -0
- package/dist/app/ayu-light-BA47KaF1.js +1 -0
- package/dist/app/ayu-mirage-32ctXXKs.js +1 -0
- package/dist/app/bash-B8OHlvmy.js +1 -0
- package/dist/app/bird2-DECYBE5b.js +1 -0
- package/dist/app/c3-BBJ779-z.js +1 -0
- package/dist/app/css-qVUxccX0.js +1 -0
- package/dist/app/en-CZaXIbpT.js +1 -0
- package/dist/app/en-wvzTRdZ2.js +1 -0
- package/dist/app/engine-compile-1A_TmkOK.js +47 -0
- package/dist/app/{erb-BkKzIHzi.js → erb-BPZEWadm.js} +1 -1
- package/dist/app/fr-TmrooVTw.js +1 -0
- package/dist/app/horizon-bright-Cn-bp-IR.js +1 -0
- package/dist/app/html-derivative-DL2d6cy-.js +1 -0
- package/dist/app/hu-d1rgPQJS.js +1 -0
- package/dist/app/{index-BemYRVDN.js → index-BizPcbmC.js} +1 -1
- package/dist/app/{index-DHS_I0O0.js → index-D52QVfmA.js} +2 -2
- package/dist/app/index-DmPVZd3w.js +1 -0
- package/dist/app/{index-BJwWKj3q.js → index-DnbSsQeV.js} +1 -1
- package/dist/app/index-JQKg5d2g.js +1 -0
- package/dist/app/just-BrBcRIfs.js +1 -0
- package/dist/app/latex-DFFaUVSZ.js +1 -0
- package/dist/app/{llvm-BMwXnwe8.js → llvm-w4szIS5k.js} +1 -1
- package/dist/app/main-DVjyyjbg.js +42 -0
- package/dist/app/main-KMOUKf4W.js +43 -0
- package/dist/app/main.d.ts +46 -18
- package/dist/app/main.js +1 -1
- package/dist/app/marko-CVUQDN1F.js +1 -0
- package/dist/app/mdc-DHVjNz-H.js +1 -0
- package/dist/app/{mdc-CKHPIY6R.js → mdc-E5Yo7yrS.js} +1 -1
- package/dist/app/mojo-C2cxD0aZ.js +1 -0
- package/dist/app/moonbit-B4gpyPjt.js +1 -0
- package/dist/app/nextflow-NhKJRLNF.js +1 -0
- package/dist/app/nextflow-groovy-CqvLf608.js +1 -0
- package/dist/app/nushell-Mk45ZIMx.js +1 -0
- package/dist/app/{rehype-B5jXSQHB.js → rehype-BqN365ZH.js} +1 -1
- package/dist/app/{rehype-C7dZfu6l.js → rehype-CnrSkHB2.js} +1 -1
- package/dist/app/ron-DIZViclS.js +1 -0
- package/dist/app/rst-Fqy0Smiz.js +1 -0
- package/dist/app/{rst-Db6JICNt.js → rst-RpuXd47r.js} +1 -1
- package/dist/app/ruby-Bz6Ou-59.js +1 -0
- package/dist/app/service-worker.d.ts +26 -17
- package/dist/app/shared--ESjFm2d.js +1 -0
- package/dist/app/shared.d.ts +26 -19
- package/dist/app/shared.js +1 -1
- package/dist/app/{shiki-B5XDhU_3.js → shiki-Boq42Ne5.js} +1 -1
- package/dist/app/{shiki-BLgMZ_FB.js → shiki-CVI8BlHQ.js} +1 -1
- package/dist/app/sk-BvhYsbV3.js +1 -0
- package/dist/app/svelte-BuOg6tJl.js +1 -0
- package/dist/app/svelte-CLa4vPyC.js +1 -0
- package/dist/app/{swift-dg2QTUdp.js → swift-0qv2hBXI.js} +1 -1
- package/dist/app/tex-ByCZWQmN.js +1 -0
- package/dist/app/{twig-DL5s0dWc.js → twig-R-aCXzIu.js} +1 -1
- package/dist/app/vue-CitcOps-.js +1 -0
- package/dist/module/module.d.mts +92 -0
- package/dist/module/module.json +1 -1
- package/dist/module/module.mjs +171 -101
- package/dist/module/runtime/composables/useMeta.d.ts +11 -1
- package/dist/module/runtime/composables/useMeta.js +18 -4
- package/dist/module/runtime/host.js +45 -20
- package/dist/module/runtime/plugins/studio.client.dev.js +2 -1
- package/dist/module/runtime/plugins/studio.client.js +2 -1
- package/dist/module/runtime/server/routes/ai/analyze.post.js +3 -17
- package/dist/module/runtime/server/routes/ai/generate.post.js +3 -17
- package/dist/module/runtime/server/routes/auth/github.get.d.ts +10 -3
- package/dist/module/runtime/server/routes/auth/github.get.js +7 -4
- package/dist/module/runtime/server/routes/auth/gitlab.get.js +2 -2
- package/dist/module/runtime/server/routes/dev/public/[...path].js +3 -2
- package/dist/module/runtime/server/routes/ipx/[...path].d.ts +6 -0
- package/dist/module/runtime/server/routes/ipx/[...path].js +40 -0
- package/dist/module/runtime/server/routes/medias/[...path].d.ts +2 -0
- package/dist/module/runtime/server/routes/medias/[...path].js +71 -0
- package/dist/module/runtime/server/routes/meta.d.ts +10 -3
- package/dist/module/runtime/server/routes/meta.js +16 -21
- package/dist/module/runtime/server/utils/auth.d.ts +1 -0
- package/dist/module/runtime/server/utils/auth.js +20 -2
- package/dist/module/runtime/server/utils/media/ipx.d.ts +14 -0
- package/dist/module/runtime/server/utils/media/ipx.js +111 -0
- package/dist/module/runtime/utils/collection.js +5 -7
- package/dist/module/runtime/utils/componentGroups.d.ts +20 -0
- package/dist/module/runtime/utils/componentGroups.js +30 -0
- package/dist/module/runtime/utils/constants.d.ts +1 -0
- package/dist/module/runtime/utils/constants.js +1 -0
- package/dist/module/runtime/utils/document/generate.js +6 -3
- package/dist/module/runtime/utils/media.js +2 -2
- package/package.json +24 -21
- package/dist/app/asciidoc-XTVL4-GN.js +0 -1
- package/dist/app/ayu-dark-CMjwMIkn.js +0 -1
- package/dist/app/ayu-light-C47S-Tmv.js +0 -1
- package/dist/app/ayu-mirage-CjoLj4QM.js +0 -1
- package/dist/app/c3-B5xr2KH_.js +0 -1
- package/dist/app/en-BLcCUEmi.js +0 -1
- package/dist/app/index-BNGZo_v7.js +0 -1
- package/dist/app/index-D-57dgKD.js +0 -1
- package/dist/app/latex-DHfEut71.js +0 -1
- package/dist/app/main-DIc-1QZK.js +0 -44
- package/dist/app/main-PbQDqQ97.js +0 -44
- package/dist/app/marko-2xMnbWEh.js +0 -1
- package/dist/app/mojo-CxwnvobC.js +0 -1
- package/dist/app/moonbit-Cu4LvJk1.js +0 -1
- package/dist/app/nextflow-D-awTbLA.js +0 -1
- package/dist/app/nushell-Cdolw_6l.js +0 -1
- package/dist/app/ron-1l4eGd0-.js +0 -1
- package/dist/app/ruby-DQYiaCa_.js +0 -1
- package/dist/app/shared-DSAAKzND.js +0 -1
- package/dist/app/svelte-ChRP14-8.js +0 -1
- package/dist/app/tex-C-BO_DSa.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze(JSON.parse('{"colors":{"actionBar.toggledBackground":"#6b7d8f24","activityBar.activeBorder":"#f29718","activityBar.background":"#f8f9fa","activityBar.border":"#6b7d8f1f","activityBar.foreground":"#828e9fcc","activityBar.inactiveForeground":"#828e9f99","activityBarBadge.background":"#f29718","activityBarBadge.foreground":"#7e4b01","activityBarTop.activeBorder":"#f29718","activityBarTop.foreground":"#788597","badge.background":"#f2971833","badge.foreground":"#ea9216","button.background":"#f29718","button.border":"#7e4b011a","button.foreground":"#7e4b01","button.hoverBackground":"#ea9216","button.secondaryBackground":"#828e9f33","button.secondaryForeground":"#5c6166","button.secondaryHoverBackground":"#828e9f80","button.separator":"#7e4b014d","chat.checkpointSeparator":"#adaeb1","chat.editedFileForeground":"#478acc","chat.requestBackground":"#f8f9fa","chat.requestBorder":"#6b7d8f24","chat.requestBubbleBackground":"#6b7d8f1f","chat.requestBubbleHoverBackground":"#6b7d8f24","chat.slashCommandBackground":"#55b4d433","chat.slashCommandForeground":"#55b4d4","commandCenter.activeBackground":"#6b7d8f24","commandCenter.activeBorder":"#6b7d8f00","commandCenter.activeForeground":"#828e9f","commandCenter.background":"#fcfcfc","commandCenter.border":"#6b7d8f1f","commandCenter.foreground":"#828e9f","commandCenter.inactiveBorder":"#6b7d8f1f","debugConsoleInputIcon.foreground":"#f29718","debugExceptionWidget.background":"#fafafa","debugExceptionWidget.border":"#6b7d8f1f","debugIcon.breakpointDisabledForeground":"#f2a19180","debugIcon.breakpointForeground":"#f2a191","debugToolBar.background":"#fafafa","descriptionForeground":"#828e9f","diffEditor.diagonalFill":"#6b7d8f1f","diffEditor.insertedTextBackground":"#6cbf431f","diffEditor.removedTextBackground":"#ff73831f","disabledForeground":"#828e9f80","dropdown.background":"#fafafa","dropdown.border":"#6b7d8f1f","dropdown.foreground":"#828e9f","editor.background":"#fcfcfc","editor.findMatchBackground":"#ffe294","editor.findMatchHighlightBackground":"#ffe29480","editor.foreground":"#5c6166","editor.inactiveSelectionBackground":"#035bd612","editor.lineHighlightBackground":"#828e9f1a","editor.rangeHighlightBackground":"#ffe29433","editor.selectionBackground":"#035bd626","editor.selectionHighlightBackground":"#6cbf4326","editor.selectionHighlightBorder":"#6cbf4300","editor.snippetTabstopHighlightBackground":"#6cbf4333","editor.wordHighlightBackground":"#478acc14","editor.wordHighlightBorder":"#478acc80","editor.wordHighlightStrongBackground":"#6cbf4314","editor.wordHighlightStrongBorder":"#6cbf4380","editorBracketMatch.background":"#828e9f4d","editorBracketMatch.border":"#828e9f4d","editorCodeLens.foreground":"#adaeb1","editorCursor.foreground":"#f29718","editorError.foreground":"#e65050","editorGroup.background":"#fafafa","editorGroup.border":"#6b7d8f1f","editorGroupHeader.noTabsBackground":"#f8f9fa","editorGroupHeader.tabsBackground":"#f8f9fa","editorGroupHeader.tabsBorder":"#6b7d8f1f","editorGutter.addedBackground":"#6cbf43","editorGutter.deletedBackground":"#ff7383","editorGutter.modifiedBackground":"#478acc","editorHoverWidget.background":"#fafafa","editorHoverWidget.border":"#6b7d8f1f","editorIndentGuide.activeBackground":"#828e9f59","editorIndentGuide.background":"#828e9f2e","editorInlayHint.foreground":"#5c616680","editorLineNumber.activeForeground":"#828e9fcc","editorLineNumber.foreground":"#828e9f66","editorLink.activeForeground":"#f29718","editorMarkerNavigation.background":"#fafafa","editorOverviewRuler.addedForeground":"#6cbf43","editorOverviewRuler.border":"#6b7d8f1f","editorOverviewRuler.bracketMatchForeground":"#828e9fb3","editorOverviewRuler.deletedForeground":"#ff7383","editorOverviewRuler.errorForeground":"#e65050","editorOverviewRuler.findMatchForeground":"#ffe294","editorOverviewRuler.modifiedForeground":"#478acc","editorOverviewRuler.warningForeground":"#f29718","editorOverviewRuler.wordHighlightForeground":"#478acc66","editorOverviewRuler.wordHighlightStrongForeground":"#6cbf4366","editorRuler.foreground":"#828e9f2e","editorStickyScroll.border":"#6b7d8f1f","editorStickyScroll.shadow":"#6b7d8f12","editorStickyScrollHover.background":"#6b7d8f1f","editorSuggestWidget.background":"#fafafa","editorSuggestWidget.border":"#6b7d8f1f","editorSuggestWidget.highlightForeground":"#f29718","editorSuggestWidget.selectedBackground":"#6b7d8f24","editorWarning.foreground":"#f29718","editorWhitespace.foreground":"#828e9f66","editorWidget.background":"#fafafa","editorWidget.border":"#6b7d8f1f","editorWidget.resizeBorder":"#fafafa","errorForeground":"#e65050","extensionButton.prominentBackground":"#f29718","extensionButton.prominentForeground":"#7e4b01","extensionButton.prominentHoverBackground":"#ee9417","focusBorder":"#f29718","foreground":"#828e9f","gitDecoration.conflictingResourceForeground":"","gitDecoration.deletedResourceForeground":"#ff7383","gitDecoration.ignoredResourceForeground":"#828e9f80","gitDecoration.modifiedResourceForeground":"#478acc","gitDecoration.submoduleResourceForeground":"#a37acc","gitDecoration.untrackedResourceForeground":"#6cbf43","icon.foreground":"#828e9f","inlineChat.background":"#fafafa","inlineChat.border":"#6b7d8f1f","inlineChat.foreground":"#5c6166","inlineChat.shadow":"#6b7d8f12","inlineChatDiff.inserted":"#6cbf4333","inlineChatDiff.removed":"#ff738333","inlineChatInput.background":"#fcfcfc","inlineChatInput.border":"#6b7d8f1f","inlineChatInput.focusBorder":"#f29718b3","inlineChatInput.placeholderForeground":"#828e9f80","inlineEdit.gutterIndicator.background":"#6b7d8f1f","inlineEdit.gutterIndicator.primaryBackground":"#f297181a","inlineEdit.gutterIndicator.primaryBorder":"#f29718","inlineEdit.gutterIndicator.primaryForeground":"#f29718","inlineEdit.gutterIndicator.secondaryBackground":"#828e9f1a","inlineEdit.gutterIndicator.secondaryBorder":"#828e9f80","inlineEdit.gutterIndicator.secondaryForeground":"#828e9f","inlineEdit.gutterIndicator.successfulBackground":"#6cbf431a","inlineEdit.gutterIndicator.successfulBorder":"#6cbf43","inlineEdit.gutterIndicator.successfulForeground":"#6cbf43","inlineEdit.modifiedBackground":"#6cbf431a","inlineEdit.modifiedBorder":"#6cbf4380","inlineEdit.modifiedChangedLineBackground":"#6cbf4326","inlineEdit.modifiedChangedTextBackground":"#6cbf4340","inlineEdit.originalBackground":"#ff73831a","inlineEdit.originalBorder":"#ff738380","inlineEdit.originalChangedLineBackground":"#ff738326","inlineEdit.originalChangedTextBackground":"#ff738340","input.background":"#fcfcfc","input.border":"#828e9f33","input.foreground":"#5c6166","input.placeholderForeground":"#828e9f80","inputOption.activeBackground":"#f297181a","inputOption.activeBorder":"#f2971833","inputOption.activeForeground":"#f29718","inputOption.hoverBackground":"#828e9f33","inputValidation.errorBackground":"#fcfcfc","inputValidation.errorBorder":"#e65050","inputValidation.infoBackground":"#f8f9fa","inputValidation.infoBorder":"#55b4d4","inputValidation.warningBackground":"#f8f9fa","inputValidation.warningBorder":"#eba400","keybindingLabel.background":"#828e9f1a","keybindingLabel.border":"#5c61661a","keybindingLabel.bottomBorder":"#5c61661a","keybindingLabel.foreground":"#5c6166","list.activeSelectionBackground":"#6b7d8f24","list.activeSelectionForeground":"#5c6166","list.deemphasizedForeground":"#e65050","list.errorForeground":"#e65050","list.filterMatchBackground":"#fad77880","list.filterMatchBorder":"#ffe29480","list.focusBackground":"#6b7d8f24","list.focusForeground":"#5c6166","list.focusOutline":"#6b7d8f24","list.highlightForeground":"#f29718","list.hoverBackground":"#6b7d8f24","list.inactiveSelectionBackground":"#6b7d8f1f","list.inactiveSelectionForeground":"#828e9f","list.invalidItemForeground":"#828e9f4d","listFilterWidget.background":"#fafafa","listFilterWidget.noMatchesOutline":"#e65050","listFilterWidget.outline":"#f29718","menu.background":"#ffffff","menu.border":"#6b7d8f1f","menu.foreground":"#828e9f","menu.selectionBackground":"#6b7d8f1f","menu.selectionBorder":"#6b7d8f24","menu.separatorBackground":"#6b7d8f1f","minimap.background":"#fcfcfc","minimap.errorHighlight":"#e65050","minimap.findMatchHighlight":"#ffe294","minimap.selectionHighlight":"#035bd626","minimapGutter.addedBackground":"#6cbf43","minimapGutter.deletedBackground":"#ff7383","minimapGutter.modifiedBackground":"#478acc","multiDiffEditor.background":"#f8f9fa","multiDiffEditor.border":"#6b7d8f1f","multiDiffEditor.headerBackground":"#fafafa","panel.background":"#f8f9fa","panel.border":"#6b7d8f1f","panelStickyScroll.border":"#6b7d8f1f","panelStickyScroll.shadow":"#6b7d8f12","panelTitle.activeBorder":"#f29718","panelTitle.activeForeground":"#5c6166","panelTitle.inactiveForeground":"#828e9f","peekView.border":"#6b7d8f24","peekViewEditor.background":"#fafafa","peekViewEditor.matchHighlightBackground":"#ffe29480","peekViewEditor.matchHighlightBorder":"#fad77880","peekViewResult.background":"#fafafa","peekViewResult.fileForeground":"#5c6166","peekViewResult.lineForeground":"#828e9f","peekViewResult.matchHighlightBackground":"#ffe29480","peekViewResult.selectionBackground":"#6b7d8f24","peekViewTitle.background":"#6b7d8f24","peekViewTitleDescription.foreground":"#828e9f","peekViewTitleLabel.foreground":"#5c6166","pickerGroup.border":"#6b7d8f1f","pickerGroup.foreground":"#828e9f80","profileBadge.background":"#f29718","profileBadge.foreground":"#7e4b01","progressBar.background":"#f29718","scrollbar.shadow":"#6b7d8f00","scrollbarSlider.activeBackground":"#828e9fb3","scrollbarSlider.background":"#828e9f66","scrollbarSlider.hoverBackground":"#828e9f99","selection.background":"#035bd626","settings.headerForeground":"#5c6166","settings.modifiedItemIndicator":"#478acc","sideBar.background":"#f8f9fa","sideBar.border":"#6b7d8f1f","sideBarSectionHeader.background":"#f8f9fa","sideBarSectionHeader.border":"#6b7d8f1f","sideBarSectionHeader.foreground":"#828e9f","sideBarStickyScroll.border":"#6b7d8f1f","sideBarStickyScroll.shadow":"#6b7d8f12","sideBarTitle.foreground":"#828e9f","statusBar.background":"#f8f9fa","statusBar.border":"#6b7d8f1f","statusBar.debuggingBackground":"#f2a191","statusBar.debuggingForeground":"#fcfcfc","statusBar.foreground":"#828e9f","statusBar.noFolderBackground":"#fafafa","statusBarItem.activeBackground":"#828e9f33","statusBarItem.hoverBackground":"#828e9f33","statusBarItem.prominentBackground":"#6b7d8f1f","statusBarItem.prominentHoverBackground":"#00000030","statusBarItem.remoteBackground":"#f29718","statusBarItem.remoteForeground":"#7e4b01","symbolIcon.arrayForeground":"#22a4e6","symbolIcon.booleanForeground":"#a37acc","symbolIcon.classForeground":"#22a4e6","symbolIcon.colorForeground":"#e59645","symbolIcon.constantForeground":"#a37acc","symbolIcon.constructorForeground":"#eba400","symbolIcon.enumeratorForeground":"#22a4e6","symbolIcon.enumeratorMemberForeground":"#a37acc","symbolIcon.eventForeground":"#e59645","symbolIcon.fieldForeground":"#f07171","symbolIcon.fileForeground":"#828e9f","symbolIcon.folderForeground":"#828e9f","symbolIcon.functionForeground":"#eba400","symbolIcon.interfaceForeground":"#22a4e6","symbolIcon.keyForeground":"#55b4d4","symbolIcon.keywordForeground":"#fa8532","symbolIcon.methodForeground":"#eba400","symbolIcon.moduleForeground":"#86b300","symbolIcon.namespaceForeground":"#86b300","symbolIcon.nullForeground":"#a37acc","symbolIcon.numberForeground":"#a37acc","symbolIcon.objectForeground":"#22a4e6","symbolIcon.operatorForeground":"#f2a191","symbolIcon.packageForeground":"#86b300","symbolIcon.propertyForeground":"#f07171","symbolIcon.referenceForeground":"#22a4e6","symbolIcon.snippetForeground":"#e59645","symbolIcon.stringForeground":"#86b300","symbolIcon.structForeground":"#22a4e6","symbolIcon.textForeground":"#5c6166","symbolIcon.typeParameterForeground":"#22a4e6","symbolIcon.unitForeground":"#a37acc","symbolIcon.variableForeground":"#5c6166","tab.activeBackground":"#fcfcfc","tab.activeBorder":"#fcfcfc","tab.activeBorderTop":"#f29718","tab.activeForeground":"#5c6166","tab.border":"#6b7d8f1f","tab.inactiveBackground":"#f8f9fa","tab.inactiveForeground":"#828e9f","tab.unfocusedActiveBorderTop":"#828e9f","tab.unfocusedActiveForeground":"#828e9f","tab.unfocusedInactiveForeground":"#828e9f","terminal.ansiBlack":"#000000","terminal.ansiBlue":"#21a1e2","terminal.ansiBrightBlack":"#686868","terminal.ansiBrightBlue":"#22a4e6","terminal.ansiBrightCyan":"#4cbf99","terminal.ansiBrightGreen":"#86b300","terminal.ansiBrightMagenta":"#a37acc","terminal.ansiBrightRed":"#f07171","terminal.ansiBrightWhite":"#d1d1d1","terminal.ansiBrightYellow":"#eba400","terminal.ansiCyan":"#4abc96","terminal.ansiGreen":"#6cbf43","terminal.ansiMagenta":"#a176cb","terminal.ansiRed":"#f06b6c","terminal.ansiWhite":"#c7c7c7","terminal.ansiYellow":"#e7a100","terminal.background":"#f8f9fa","terminal.foreground":"#5c6166","terminalCommandGuide.foreground":"#828e9f4d","terminalStickyScroll.border":"#6b7d8f1f","terminalStickyScroll.shadow":"#6b7d8f12","terminalStickyScrollHover.background":"#6b7d8f1f","textBlockQuote.background":"#fafafa","textLink.activeForeground":"#f29718","textLink.foreground":"#f29718","textPreformat.foreground":"#5c6166","titleBar.activeBackground":"#f8f9fa","titleBar.activeForeground":"#828e9f","titleBar.border":"#6b7d8f1f","titleBar.inactiveBackground":"#f8f9fa","titleBar.inactiveForeground":"#828e9fb3","toolbar.hoverBackground":"#6b7d8f24","tree.indentGuidesStroke":"#828e9f59","walkThrough.embeddedEditorBackground":"#fafafa","welcomePage.buttonBackground":"#f2971866","welcomePage.progress.background":"#828e9f1a","welcomePage.tileBackground":"#f8f9fa","welcomePage.tileShadow":"#6b7d8f12","widget.border":"#6b7d8f1f","widget.shadow":"#6b7d8f12"},"displayName":"Ayu Light","name":"ayu-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#22a4e6","class.defaultLibrary":"#55b4d4","comment":"#adaeb1","enum":"#22a4e6","enum.defaultLibrary":"#55b4d4","enumMember":"#4cbf99","event":"#f2a191","function":"#eba400","interface":"#55b4d4","interface.defaultLibrary":{"foreground":"#55b4d4","italic":true},"keyword":"#fa8532","macro":"#e59645","method":"#eba400","number":"#a37acc","operator":"#f2a191","regexp":"#4cbf99","string":"#86b300","struct":"#22a4e6","struct.defaultLibrary":"#55b4d4","type":"#22a4e6","type.defaultLibrary":"#55b4d4"},"tokenColors":[{"settings":{"background":"#f8f9fa","foreground":"#5c6166"}},{"scope":["comment"],"settings":{"fontStyle":"italic","foreground":"#adaeb1"}},{"scope":["string","constant.other.symbol"],"settings":{"foreground":"#86b300"}},{"scope":["string.regexp","constant.character","constant.other"],"settings":{"foreground":"#4cbf99"}},{"scope":["constant.numeric"],"settings":{"foreground":"#a37acc"}},{"scope":["constant.language"],"settings":{"foreground":"#a37acc"}},{"scope":["variable","variable.parameter.function-call"],"settings":{"foreground":"#5c6166"}},{"scope":["variable.member"],"settings":{"foreground":"#f07171"}},{"scope":["variable.language"],"settings":{"fontStyle":"italic","foreground":"#55b4d4"}},{"scope":["storage"],"settings":{"foreground":"#fa8532"}},{"scope":["keyword"],"settings":{"foreground":"#fa8532"}},{"scope":["keyword.operator"],"settings":{"foreground":"#f2a191"}},{"scope":["punctuation.separator","punctuation.terminator"],"settings":{"foreground":"#5c6166b3"}},{"scope":["punctuation.section"],"settings":{"foreground":"#5c6166"}},{"scope":["punctuation.accessor"],"settings":{"foreground":"#f2a191"}},{"scope":["punctuation.definition.template-expression"],"settings":{"foreground":"#fa8532"}},{"scope":["punctuation.section.embedded"],"settings":{"foreground":"#fa8532"}},{"scope":["meta.embedded"],"settings":{"foreground":"#5c6166"}},{"scope":["source.java storage.type","source.haskell storage.type","source.c storage.type"],"settings":{"foreground":"#22a4e6"}},{"scope":["entity.other.inherited-class"],"settings":{"foreground":"#55b4d4"}},{"scope":["storage.type.function"],"settings":{"foreground":"#fa8532"}},{"scope":["source.java storage.type.primitive"],"settings":{"foreground":"#55b4d4"}},{"scope":["entity.name.function"],"settings":{"foreground":"#eba400"}},{"scope":["variable.parameter","meta.parameter"],"settings":{"foreground":"#a37acc"}},{"scope":["variable.function","variable.annotation","meta.function-call.generic","support.function.go"],"settings":{"foreground":"#eba400"}},{"scope":["support.function","support.macro"],"settings":{"foreground":"#f07171"}},{"scope":["entity.name.import","entity.name.package"],"settings":{"foreground":"#86b300"}},{"scope":["entity.name"],"settings":{"foreground":"#22a4e6"}},{"scope":["entity.name.tag","meta.tag.sgml"],"settings":{"foreground":"#55b4d4"}},{"scope":["support.class.component"],"settings":{"foreground":"#22a4e6"}},{"scope":["punctuation.definition.tag.end","punctuation.definition.tag.begin","punctuation.definition.tag"],"settings":{"foreground":"#55b4d480"}},{"scope":["entity.other.attribute-name"],"settings":{"foreground":"#eba400"}},{"scope":["entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#4cbf99"}},{"scope":["support.constant"],"settings":{"fontStyle":"italic","foreground":"#f2a191"}},{"scope":["support.type","support.class","source.go storage.type"],"settings":{"foreground":"#55b4d4"}},{"scope":["meta.decorator variable.other","meta.decorator punctuation.decorator","storage.type.annotation","entity.name.function.decorator"],"settings":{"foreground":"#e59645"}},{"scope":["invalid"],"settings":{"foreground":"#e65050"}},{"scope":["meta.diff","meta.diff.header"],"settings":{"foreground":"#c594c5"}},{"scope":["source.ruby variable.other.readwrite"],"settings":{"foreground":"#eba400"}},{"scope":["source.css entity.name.tag","source.sass entity.name.tag","source.scss entity.name.tag","source.less entity.name.tag","source.stylus entity.name.tag"],"settings":{"foreground":"#22a4e6"}},{"scope":["source.css support.type","source.sass support.type","source.scss support.type","source.less support.type","source.stylus support.type"],"settings":{"foreground":"#adaeb1"}},{"scope":["support.type.property-name"],"settings":{"fontStyle":"normal","foreground":"#55b4d4"}},{"scope":["constant.numeric.line-number.find-in-files - match"],"settings":{"foreground":"#adaeb1"}},{"scope":["constant.numeric.line-number.match"],"settings":{"foreground":"#fa8532"}},{"scope":["entity.name.filename.find-in-files"],"settings":{"foreground":"#86b300"}},{"scope":["message.error"],"settings":{"foreground":"#e65050"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#86b300"}},{"scope":["markup.underline.link","string.other.link"],"settings":{"foreground":"#55b4d4"}},{"scope":["markup.italic","emphasis"],"settings":{"fontStyle":"italic","foreground":"#f07171"}},{"scope":["markup.bold"],"settings":{"fontStyle":"bold","foreground":"#f07171"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.italic markup.bold","markup.bold markup.italic"],"settings":{"fontStyle":"bold italic"}},{"scope":["markup.raw"],"settings":{"background":"#5c616605"}},{"scope":["markup.raw.inline"],"settings":{"background":"#5c61660f"}},{"scope":["meta.separator"],"settings":{"background":"#5c61660f","fontStyle":"bold","foreground":"#adaeb1"}},{"scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#4cbf99"}},{"scope":["markup.list punctuation.definition.list.begin"],"settings":{"foreground":"#eba400"}},{"scope":["markup.inserted"],"settings":{"foreground":"#6cbf43"}},{"scope":["markup.changed"],"settings":{"foreground":"#478acc"}},{"scope":["markup.deleted"],"settings":{"foreground":"#ff7383"}},{"scope":["markup.strike"],"settings":{"foreground":"#e59645"}},{"scope":["markup.strong"],"settings":{"fontStyle":"bold"}},{"scope":["markup.table"],"settings":{"background":"#5c61660f","foreground":"#55b4d4"}},{"scope":["text.html.markdown markup.inline.raw"],"settings":{"foreground":"#f2a191"}},{"scope":["text.html.markdown meta.dummy.line-break"],"settings":{"background":"#adaeb1","foreground":"#adaeb1"}},{"scope":["punctuation.definition.markdown"],"settings":{"background":"#5c6166","foreground":"#adaeb1"}}],"type":"light"}'));export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze(JSON.parse('{"colors":{"actionBar.toggledBackground":"#63759926","activityBar.activeBorder":"#ffcc66","activityBar.background":"#1f2430","activityBar.border":"#171b24","activityBar.foreground":"#707a8ccc","activityBar.inactiveForeground":"#707a8c99","activityBarBadge.background":"#ffcc66","activityBarBadge.foreground":"#735923","activityBarTop.activeBorder":"#ffcc66","activityBarTop.foreground":"#808999","badge.background":"#ffcc6633","badge.foreground":"#ffcc66","button.background":"#ffcc66","button.border":"#7359231a","button.foreground":"#735923","button.hoverBackground":"#f9c55d","button.secondaryBackground":"#707a8c33","button.secondaryForeground":"#cccac2","button.secondaryHoverBackground":"#707a8c80","button.separator":"#7359234d","chat.checkpointSeparator":"#6e7c8f","chat.editedFileForeground":"#80bfff","chat.requestBackground":"#1f2430","chat.requestBorder":"#63759926","chat.requestBubbleBackground":"#69758c1f","chat.requestBubbleHoverBackground":"#63759926","chat.slashCommandBackground":"#5ccfe633","chat.slashCommandForeground":"#5ccfe6","commandCenter.activeBackground":"#63759926","commandCenter.activeBorder":"#63759900","commandCenter.activeForeground":"#707a8c","commandCenter.background":"#242936","commandCenter.border":"#171b24","commandCenter.foreground":"#707a8c","commandCenter.inactiveBorder":"#171b24","debugConsoleInputIcon.foreground":"#ffcc66","debugExceptionWidget.background":"#282e3b","debugExceptionWidget.border":"#171b24","debugIcon.breakpointDisabledForeground":"#f29e7480","debugIcon.breakpointForeground":"#f29e74","debugToolBar.background":"#282e3b","descriptionForeground":"#707a8c","diffEditor.diagonalFill":"#171b24","diffEditor.insertedTextBackground":"#87d96c1f","diffEditor.removedTextBackground":"#f279831f","disabledForeground":"#707a8c80","dropdown.background":"#282e3b","dropdown.border":"#171b24","dropdown.foreground":"#707a8c","editor.background":"#242936","editor.findMatchBackground":"#736950","editor.findMatchHighlightBackground":"#73695066","editor.foreground":"#cccac2","editor.inactiveSelectionBackground":"#409fff21","editor.lineHighlightBackground":"#1a1f29","editor.rangeHighlightBackground":"#73695033","editor.selectionBackground":"#409fff40","editor.selectionHighlightBackground":"#87d96c26","editor.selectionHighlightBorder":"#87d96c00","editor.snippetTabstopHighlightBackground":"#87d96c33","editor.wordHighlightBackground":"#80bfff14","editor.wordHighlightBorder":"#80bfff80","editor.wordHighlightStrongBackground":"#87d96c14","editor.wordHighlightStrongBorder":"#87d96c80","editorBracketMatch.background":"#707a8c4d","editorBracketMatch.border":"#707a8c4d","editorCodeLens.foreground":"#6e7c8f","editorCursor.foreground":"#ffcc66","editorError.foreground":"#ff6666","editorGroup.background":"#282e3b","editorGroup.border":"#171b24","editorGroupHeader.noTabsBackground":"#1f2430","editorGroupHeader.tabsBackground":"#1f2430","editorGroupHeader.tabsBorder":"#171b24","editorGutter.addedBackground":"#87d96c","editorGutter.deletedBackground":"#f27983","editorGutter.modifiedBackground":"#80bfff","editorHoverWidget.background":"#282e3b","editorHoverWidget.border":"#171b24","editorIndentGuide.activeBackground":"#707a8c70","editorIndentGuide.background":"#707a8c3b","editorInlayHint.foreground":"#cccac280","editorLineNumber.activeForeground":"#707a8c","editorLineNumber.foreground":"#707a8c80","editorLink.activeForeground":"#ffcc66","editorMarkerNavigation.background":"#282e3b","editorOverviewRuler.addedForeground":"#87d96c","editorOverviewRuler.border":"#171b24","editorOverviewRuler.bracketMatchForeground":"#707a8cb3","editorOverviewRuler.deletedForeground":"#f27983","editorOverviewRuler.errorForeground":"#ff6666","editorOverviewRuler.findMatchForeground":"#736950","editorOverviewRuler.modifiedForeground":"#80bfff","editorOverviewRuler.warningForeground":"#ffcc66","editorOverviewRuler.wordHighlightForeground":"#80bfff66","editorOverviewRuler.wordHighlightStrongForeground":"#87d96c66","editorRuler.foreground":"#707a8c3b","editorStickyScroll.border":"#171b24","editorStickyScroll.shadow":"#00000033","editorStickyScrollHover.background":"#69758c1f","editorSuggestWidget.background":"#282e3b","editorSuggestWidget.border":"#171b24","editorSuggestWidget.highlightForeground":"#ffcc66","editorSuggestWidget.selectedBackground":"#63759926","editorWarning.foreground":"#ffcc66","editorWhitespace.foreground":"#707a8c80","editorWidget.background":"#282e3b","editorWidget.border":"#171b24","editorWidget.resizeBorder":"#282e3b","errorForeground":"#ff6666","extensionButton.prominentBackground":"#ffcc66","extensionButton.prominentForeground":"#735923","extensionButton.prominentHoverBackground":"#fcc85f","focusBorder":"#ffcc66","foreground":"#707a8c","gitDecoration.conflictingResourceForeground":"","gitDecoration.deletedResourceForeground":"#f27983","gitDecoration.ignoredResourceForeground":"#707a8c80","gitDecoration.modifiedResourceForeground":"#80bfff","gitDecoration.submoduleResourceForeground":"#dfbfff","gitDecoration.untrackedResourceForeground":"#87d96c","icon.foreground":"#707a8c","inlineChat.background":"#282e3b","inlineChat.border":"#171b24","inlineChat.foreground":"#cccac2","inlineChat.shadow":"#00000033","inlineChatDiff.inserted":"#87d96c33","inlineChatDiff.removed":"#f2798333","inlineChatInput.background":"#242936","inlineChatInput.border":"#171b24","inlineChatInput.focusBorder":"#ffcc66b3","inlineChatInput.placeholderForeground":"#707a8c80","inlineEdit.gutterIndicator.background":"#171b24","inlineEdit.gutterIndicator.primaryBackground":"#ffcc661a","inlineEdit.gutterIndicator.primaryBorder":"#ffcc66","inlineEdit.gutterIndicator.primaryForeground":"#ffcc66","inlineEdit.gutterIndicator.secondaryBackground":"#707a8c1a","inlineEdit.gutterIndicator.secondaryBorder":"#707a8c80","inlineEdit.gutterIndicator.secondaryForeground":"#707a8c","inlineEdit.gutterIndicator.successfulBackground":"#87d96c1a","inlineEdit.gutterIndicator.successfulBorder":"#87d96c","inlineEdit.gutterIndicator.successfulForeground":"#87d96c","inlineEdit.modifiedBackground":"#87d96c1a","inlineEdit.modifiedBorder":"#87d96c80","inlineEdit.modifiedChangedLineBackground":"#87d96c26","inlineEdit.modifiedChangedTextBackground":"#87d96c40","inlineEdit.originalBackground":"#f279831a","inlineEdit.originalBorder":"#f2798380","inlineEdit.originalChangedLineBackground":"#f2798326","inlineEdit.originalChangedTextBackground":"#f2798340","input.background":"#242936","input.border":"#707a8c33","input.foreground":"#cccac2","input.placeholderForeground":"#707a8c80","inputOption.activeBackground":"#ffcc661a","inputOption.activeBorder":"#ffcc6633","inputOption.activeForeground":"#ffcc66","inputOption.hoverBackground":"#707a8c33","inputValidation.errorBackground":"#242936","inputValidation.errorBorder":"#ff6666","inputValidation.infoBackground":"#1f2430","inputValidation.infoBorder":"#5ccfe6","inputValidation.warningBackground":"#1f2430","inputValidation.warningBorder":"#ffcd66","keybindingLabel.background":"#707a8c1a","keybindingLabel.border":"#cccac21a","keybindingLabel.bottomBorder":"#cccac21a","keybindingLabel.foreground":"#cccac2","list.activeSelectionBackground":"#63759926","list.activeSelectionForeground":"#cccac2","list.deemphasizedForeground":"#ff6666","list.errorForeground":"#ff6666","list.filterMatchBackground":"#6a614966","list.filterMatchBorder":"#73695066","list.focusBackground":"#63759926","list.focusForeground":"#cccac2","list.focusOutline":"#63759926","list.highlightForeground":"#ffcc66","list.hoverBackground":"#63759926","list.inactiveSelectionBackground":"#69758c1f","list.inactiveSelectionForeground":"#707a8c","list.invalidItemForeground":"#707a8c4d","listFilterWidget.background":"#282e3b","listFilterWidget.noMatchesOutline":"#ff6666","listFilterWidget.outline":"#ffcc66","menu.background":"#1c212c","menu.border":"#171b24","menu.foreground":"#707a8c","menu.selectionBackground":"#69758c1f","menu.selectionBorder":"#63759926","menu.separatorBackground":"#171b24","minimap.background":"#242936","minimap.errorHighlight":"#ff6666","minimap.findMatchHighlight":"#736950","minimap.selectionHighlight":"#409fff40","minimapGutter.addedBackground":"#87d96c","minimapGutter.deletedBackground":"#f27983","minimapGutter.modifiedBackground":"#80bfff","multiDiffEditor.background":"#1f2430","multiDiffEditor.border":"#171b24","multiDiffEditor.headerBackground":"#282e3b","panel.background":"#1f2430","panel.border":"#171b24","panelStickyScroll.border":"#171b24","panelStickyScroll.shadow":"#00000033","panelTitle.activeBorder":"#ffcc66","panelTitle.activeForeground":"#cccac2","panelTitle.inactiveForeground":"#707a8c","peekView.border":"#63759926","peekViewEditor.background":"#282e3b","peekViewEditor.matchHighlightBackground":"#73695066","peekViewEditor.matchHighlightBorder":"#6a614966","peekViewResult.background":"#282e3b","peekViewResult.fileForeground":"#cccac2","peekViewResult.lineForeground":"#707a8c","peekViewResult.matchHighlightBackground":"#73695066","peekViewResult.selectionBackground":"#63759926","peekViewTitle.background":"#63759926","peekViewTitleDescription.foreground":"#707a8c","peekViewTitleLabel.foreground":"#cccac2","pickerGroup.border":"#171b24","pickerGroup.foreground":"#707a8c80","profileBadge.background":"#ffcc66","profileBadge.foreground":"#735923","progressBar.background":"#ffcc66","scrollbar.shadow":"#171b2400","scrollbarSlider.activeBackground":"#707a8cb3","scrollbarSlider.background":"#707a8c66","scrollbarSlider.hoverBackground":"#707a8c99","selection.background":"#409fff40","settings.headerForeground":"#cccac2","settings.modifiedItemIndicator":"#80bfff","sideBar.background":"#1f2430","sideBar.border":"#171b24","sideBarSectionHeader.background":"#1f2430","sideBarSectionHeader.border":"#171b24","sideBarSectionHeader.foreground":"#707a8c","sideBarStickyScroll.border":"#171b24","sideBarStickyScroll.shadow":"#00000033","sideBarTitle.foreground":"#707a8c","statusBar.background":"#1f2430","statusBar.border":"#171b24","statusBar.debuggingBackground":"#f29e74","statusBar.debuggingForeground":"#242936","statusBar.foreground":"#707a8c","statusBar.noFolderBackground":"#282e3b","statusBarItem.activeBackground":"#707a8c33","statusBarItem.hoverBackground":"#707a8c33","statusBarItem.prominentBackground":"#171b24","statusBarItem.prominentHoverBackground":"#00000030","statusBarItem.remoteBackground":"#ffcc66","statusBarItem.remoteForeground":"#735923","symbolIcon.arrayForeground":"#73d0ff","symbolIcon.booleanForeground":"#dfbfff","symbolIcon.classForeground":"#73d0ff","symbolIcon.colorForeground":"#d9be98","symbolIcon.constantForeground":"#dfbfff","symbolIcon.constructorForeground":"#ffcd66","symbolIcon.enumeratorForeground":"#73d0ff","symbolIcon.enumeratorMemberForeground":"#dfbfff","symbolIcon.eventForeground":"#d9be98","symbolIcon.fieldForeground":"#f28779","symbolIcon.fileForeground":"#707a8c","symbolIcon.folderForeground":"#707a8c","symbolIcon.functionForeground":"#ffcd66","symbolIcon.interfaceForeground":"#73d0ff","symbolIcon.keyForeground":"#5ccfe6","symbolIcon.keywordForeground":"#ffa659","symbolIcon.methodForeground":"#ffcd66","symbolIcon.moduleForeground":"#d5ff80","symbolIcon.namespaceForeground":"#d5ff80","symbolIcon.nullForeground":"#dfbfff","symbolIcon.numberForeground":"#dfbfff","symbolIcon.objectForeground":"#73d0ff","symbolIcon.operatorForeground":"#f29e74","symbolIcon.packageForeground":"#d5ff80","symbolIcon.propertyForeground":"#f28779","symbolIcon.referenceForeground":"#73d0ff","symbolIcon.snippetForeground":"#d9be98","symbolIcon.stringForeground":"#d5ff80","symbolIcon.structForeground":"#73d0ff","symbolIcon.textForeground":"#cccac2","symbolIcon.typeParameterForeground":"#73d0ff","symbolIcon.unitForeground":"#dfbfff","symbolIcon.variableForeground":"#cccac2","tab.activeBackground":"#242936","tab.activeBorder":"#242936","tab.activeBorderTop":"#ffcc66","tab.activeForeground":"#cccac2","tab.border":"#171b24","tab.inactiveBackground":"#1f2430","tab.inactiveForeground":"#707a8c","tab.unfocusedActiveBorderTop":"#707a8c","tab.unfocusedActiveForeground":"#707a8c","tab.unfocusedInactiveForeground":"#707a8c","terminal.ansiBlack":"#171b24","terminal.ansiBlue":"#6acdff","terminal.ansiBrightBlack":"#686868","terminal.ansiBrightBlue":"#73d0ff","terminal.ansiBrightCyan":"#95e6cb","terminal.ansiBrightGreen":"#d5ff80","terminal.ansiBrightMagenta":"#dfbfff","terminal.ansiBrightRed":"#f28779","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#ffcd66","terminal.ansiCyan":"#93e2c8","terminal.ansiGreen":"#87d96c","terminal.ansiMagenta":"#ddbbff","terminal.ansiRed":"#f28273","terminal.ansiWhite":"#c7c7c7","terminal.ansiYellow":"#fcca60","terminal.background":"#1f2430","terminal.foreground":"#cccac2","terminalCommandGuide.foreground":"#707a8c4d","terminalStickyScroll.border":"#171b24","terminalStickyScroll.shadow":"#00000033","terminalStickyScrollHover.background":"#69758c1f","textBlockQuote.background":"#282e3b","textLink.activeForeground":"#ffcc66","textLink.foreground":"#ffcc66","textPreformat.foreground":"#cccac2","titleBar.activeBackground":"#1f2430","titleBar.activeForeground":"#707a8c","titleBar.border":"#171b24","titleBar.inactiveBackground":"#1f2430","titleBar.inactiveForeground":"#707a8cb3","toolbar.hoverBackground":"#63759926","tree.indentGuidesStroke":"#707a8c70","walkThrough.embeddedEditorBackground":"#282e3b","welcomePage.buttonBackground":"#ffcc6666","welcomePage.progress.background":"#1a1f29","welcomePage.tileBackground":"#1f2430","welcomePage.tileShadow":"#00000033","widget.border":"#171b24","widget.shadow":"#00000033"},"displayName":"Ayu Mirage","name":"ayu-mirage","semanticHighlighting":true,"semanticTokenColors":{"class":"#73d0ff","class.defaultLibrary":"#5ccfe6","comment":"#6e7c8f","enum":"#73d0ff","enum.defaultLibrary":"#5ccfe6","enumMember":"#95e6cb","event":"#f29e74","function":"#ffcd66","interface":"#5ccfe6","interface.defaultLibrary":{"foreground":"#5ccfe6","italic":true},"keyword":"#ffa659","macro":"#d9be98","method":"#ffcd66","number":"#dfbfff","operator":"#f29e74","regexp":"#95e6cb","string":"#d5ff80","struct":"#73d0ff","struct.defaultLibrary":"#5ccfe6","type":"#73d0ff","type.defaultLibrary":"#5ccfe6"},"tokenColors":[{"settings":{"background":"#1f2430","foreground":"#cccac2"}},{"scope":["comment"],"settings":{"fontStyle":"italic","foreground":"#6e7c8f"}},{"scope":["string","constant.other.symbol"],"settings":{"foreground":"#d5ff80"}},{"scope":["string.regexp","constant.character","constant.other"],"settings":{"foreground":"#95e6cb"}},{"scope":["constant.numeric"],"settings":{"foreground":"#dfbfff"}},{"scope":["constant.language"],"settings":{"foreground":"#dfbfff"}},{"scope":["variable","variable.parameter.function-call"],"settings":{"foreground":"#cccac2"}},{"scope":["variable.member"],"settings":{"foreground":"#f28779"}},{"scope":["variable.language"],"settings":{"fontStyle":"italic","foreground":"#5ccfe6"}},{"scope":["storage"],"settings":{"foreground":"#ffa659"}},{"scope":["keyword"],"settings":{"foreground":"#ffa659"}},{"scope":["keyword.operator"],"settings":{"foreground":"#f29e74"}},{"scope":["punctuation.separator","punctuation.terminator"],"settings":{"foreground":"#cccac2b3"}},{"scope":["punctuation.section"],"settings":{"foreground":"#cccac2"}},{"scope":["punctuation.accessor"],"settings":{"foreground":"#f29e74"}},{"scope":["punctuation.definition.template-expression"],"settings":{"foreground":"#ffa659"}},{"scope":["punctuation.section.embedded"],"settings":{"foreground":"#ffa659"}},{"scope":["meta.embedded"],"settings":{"foreground":"#cccac2"}},{"scope":["source.java storage.type","source.haskell storage.type","source.c storage.type"],"settings":{"foreground":"#73d0ff"}},{"scope":["entity.other.inherited-class"],"settings":{"foreground":"#5ccfe6"}},{"scope":["storage.type.function"],"settings":{"foreground":"#ffa659"}},{"scope":["source.java storage.type.primitive"],"settings":{"foreground":"#5ccfe6"}},{"scope":["entity.name.function"],"settings":{"foreground":"#ffcd66"}},{"scope":["variable.parameter","meta.parameter"],"settings":{"foreground":"#dfbfff"}},{"scope":["variable.function","variable.annotation","meta.function-call.generic","support.function.go"],"settings":{"foreground":"#ffcd66"}},{"scope":["support.function","support.macro"],"settings":{"foreground":"#f28779"}},{"scope":["entity.name.import","entity.name.package"],"settings":{"foreground":"#d5ff80"}},{"scope":["entity.name"],"settings":{"foreground":"#73d0ff"}},{"scope":["entity.name.tag","meta.tag.sgml"],"settings":{"foreground":"#5ccfe6"}},{"scope":["support.class.component"],"settings":{"foreground":"#73d0ff"}},{"scope":["punctuation.definition.tag.end","punctuation.definition.tag.begin","punctuation.definition.tag"],"settings":{"foreground":"#5ccfe680"}},{"scope":["entity.other.attribute-name"],"settings":{"foreground":"#ffcd66"}},{"scope":["entity.other.attribute-name.pseudo-class"],"settings":{"foreground":"#95e6cb"}},{"scope":["support.constant"],"settings":{"fontStyle":"italic","foreground":"#f29e74"}},{"scope":["support.type","support.class","source.go storage.type"],"settings":{"foreground":"#5ccfe6"}},{"scope":["meta.decorator variable.other","meta.decorator punctuation.decorator","storage.type.annotation","entity.name.function.decorator"],"settings":{"foreground":"#d9be98"}},{"scope":["invalid"],"settings":{"foreground":"#ff6666"}},{"scope":["meta.diff","meta.diff.header"],"settings":{"foreground":"#c594c5"}},{"scope":["source.ruby variable.other.readwrite"],"settings":{"foreground":"#ffcd66"}},{"scope":["source.css entity.name.tag","source.sass entity.name.tag","source.scss entity.name.tag","source.less entity.name.tag","source.stylus entity.name.tag"],"settings":{"foreground":"#73d0ff"}},{"scope":["source.css support.type","source.sass support.type","source.scss support.type","source.less support.type","source.stylus support.type"],"settings":{"foreground":"#6e7c8f"}},{"scope":["support.type.property-name"],"settings":{"fontStyle":"normal","foreground":"#5ccfe6"}},{"scope":["constant.numeric.line-number.find-in-files - match"],"settings":{"foreground":"#6e7c8f"}},{"scope":["constant.numeric.line-number.match"],"settings":{"foreground":"#ffa659"}},{"scope":["entity.name.filename.find-in-files"],"settings":{"foreground":"#d5ff80"}},{"scope":["message.error"],"settings":{"foreground":"#ff6666"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#d5ff80"}},{"scope":["markup.underline.link","string.other.link"],"settings":{"foreground":"#5ccfe6"}},{"scope":["markup.italic","emphasis"],"settings":{"fontStyle":"italic","foreground":"#f28779"}},{"scope":["markup.bold"],"settings":{"fontStyle":"bold","foreground":"#f28779"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.italic markup.bold","markup.bold markup.italic"],"settings":{"fontStyle":"bold italic"}},{"scope":["markup.raw"],"settings":{"background":"#cccac205"}},{"scope":["markup.raw.inline"],"settings":{"background":"#cccac20f"}},{"scope":["meta.separator"],"settings":{"background":"#cccac20f","fontStyle":"bold","foreground":"#6e7c8f"}},{"scope":["markup.quote"],"settings":{"fontStyle":"italic","foreground":"#95e6cb"}},{"scope":["markup.list punctuation.definition.list.begin"],"settings":{"foreground":"#ffcd66"}},{"scope":["markup.inserted"],"settings":{"foreground":"#87d96c"}},{"scope":["markup.changed"],"settings":{"foreground":"#80bfff"}},{"scope":["markup.deleted"],"settings":{"foreground":"#f27983"}},{"scope":["markup.strike"],"settings":{"foreground":"#d9be98"}},{"scope":["markup.strong"],"settings":{"fontStyle":"bold"}},{"scope":["markup.table"],"settings":{"background":"#cccac20f","foreground":"#5ccfe6"}},{"scope":["text.html.markdown markup.inline.raw"],"settings":{"foreground":"#f29e74"}},{"scope":["text.html.markdown meta.dummy.line-break"],"settings":{"background":"#6e7c8f","foreground":"#6e7c8f"}},{"scope":["punctuation.definition.markdown"],"settings":{"background":"#cccac2","foreground":"#6e7c8f"}}],"type":"dark"}'));export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[Object.freeze(JSON.parse('{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[\\\\t ]*+(alias)[\\\\t ]*+((?:((?<!\\\\w)-\\\\w+)\\\\b[\\\\t ]*+)*)[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\t ]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[\\\\t ]++(?![\\\\n#\\\\&(\\\\[|]|$|;)","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)\\\\b(true|false)\\\\b(?!\\\\w)"}]}},"match":"[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\`|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^]\\\\[]+)(])"},"array_value":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))[\\\\t ]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$))|((?![\\"\']|\\\\\\\\\\\\n?$)[^\\\\t\\\\n\\\\r !\\"\'<>]+?))(?:(?=[\\\\t ])|(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"\\\\b(case)\\\\b[\\\\t ]*+(.+?)[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[\\\\t ]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![\\\\t ]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?=\\\\besac\\\\b)|(\\\\))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(;;)|(?=\\\\besac\\\\b)","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[\\\\t ]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^\\\\t\\\\n )*?@\\\\[|]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?=[\\\\t \\\\&;|]|$|[\\\\n)`])|(?=<)","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[.:])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|[\\"\')}])([^\\\\t\\\\n\\\\r \\"\\\\&\');->`{|]+)"},{"begin":"(?:\\\\G|(?<![\\\\t\\\\n #\\\\&;{|]))(\\\\$?)((\\")|(\'))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=\\\\2)","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[\\\\t ]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=\')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"\'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[\\\\t \\\\&;])(?:then|elif|else|done|end|do|if|fi)(?=[\\\\t \\\\&;]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"\\\\b(for)\\\\b[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))[\\\\t ]*+\\\\b(in)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"\\\\b(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[\\\\t ]*+(?:\\\\b(function)\\\\b[\\\\t ]*+([^\\\\t\\\\n\\\\r \\"\'()=]+)(?:(\\\\()[\\\\t ]*+(\\\\)))?|([^\\\\t\\\\n\\\\r \\"\'()=]+)[\\\\t ]*+(\\\\()[\\\\t ]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[)}])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t\\\\n ]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[\\\\t ]*+([\\"\'])[\\\\t ]*+([^\\"\']+?)(?=[\\"\\\\&\';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"^\\\\t*\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([\\"\'])[\\\\t ]*+([^\\"\']+?)(?=[\\"\\\\&\';<\\\\s])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"^\\\\3(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[\\\\t ]*+([^\\\\t \\"\']+)(?=[\\"\\\\&\';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"^\\\\t*\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[\\\\t ]*+([^\\\\t \\"\']+)(?=[\\"\\\\&\';<\\\\s])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"^\\\\2(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*((\'))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(\')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^)\\\\\\\\\\\\s]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[$\\\\\\\\`]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\&;\\\\s]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[\\\\&;\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\&;\\\\s]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[et]|g[et]|[GLNOSa-hknopr-uwxz])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[\\\\&;\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(while|until)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[\\\\&;\\\\s])done(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])(select)\\\\s+((?:[^\\\\\\\\\\\\s]|\\\\\\\\.)+)(?=[\\\\&;\\\\s]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[\\\\&;\\\\s])(done)(?=[\\\\&;\\\\s]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[\\\\&;\\\\s])if(?=[\\\\&;\\\\s]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[\\\\&;\\\\s])fi(?=[\\\\&;\\\\s]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[%/]|<[<=]?|>[=>]?|==|!=|^|\\\\|{1,2}|&{1,2}|[,:=?]|[-%\\\\&*+/^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[Xx]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9@-Z_a-z]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^\\\\t ])(\\\\{)(?![$\\\\w])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[\\\\t \\\\&;])(?:readonly|declare|typeset|export|local)(?=[\\\\t \\\\&;]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[\\\\t ]*+((?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w))(?:(\\\\[)((?:(?:\\\\$?(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[\\\\t ])(?![\\\\t ]|\\\\w+=)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[\\\\t ]*+$)(?:(?<=(?:^until| until|\\\\tuntil|^while| while|\\\\twhile|^elif| elif|\\\\telif|^else| else|\\\\telse|^then| then|\\\\tthen|^do| do|\\\\tdo|^if| if|\\\\tif) )|(?<=^|[!\\\\&(;`{|]))[\\\\t ]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[\\\\t =]|^|[(\\\\[{])(?:(?:(?:(?:(?:(0[Xx]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9@-Z_a-z]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[\\\\t ]|$|[);}])"},"option":{"begin":"[\\\\t ]++(-)((?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;]))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?=[\\\\t ])|(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[:=\\\\s]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([!*+?@])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])(time)(?=[\\\\&;\\\\s]|$)","name":"keyword.other.shell"},{"match":"[!|]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[\\\\t ]*+([^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\`|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[\\\\t ])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[<>]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[<>])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[\\\\t ]++(-)(\\\\w+)"}]}},"match":"(?:[\\\\t ]++-\\\\w+)*"},"simple_unquoted":{"match":"[^\\\\t\\\\n \\"$\\\\&-);<>\\\\\\\\`|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[-=?]?|[*@]|##?|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[\\\\t ]*+(?![\\\\n!#\\\\&()<>\\\\[{|]|$|[\\\\t ;])(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[\\\\n\\"$\\\\\\\\`]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\[\'\\\\\\\\abefnrtv]","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[\\\\&;\\\\s])[.:](?=[\\\\&;\\\\s]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([-!#$*0?_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[\\\\t ]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[-0-9A-Z_a-z]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"\\\\b(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[\\\\n\\\\&);`{|}]|[\\\\t ]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}'))];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[Object.freeze(JSON.parse('{"displayName":"BIRD2 Configuration","fileTypes":["conf","bird","bird2","bird3","bird.conf","bird2.conf","bird3.conf"],"foldingStartMarker":"\\\\{\\\\s*$","foldingStopMarker":"^\\\\s*}","name":"bird2","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#numbers"},{"include":"#ip-addresses"},{"include":"#vpn-rd"},{"include":"#bytestrings"},{"include":"#bgp-paths"},{"include":"#prefixes"},{"include":"#template-definitions"},{"include":"#filter-definitions"},{"include":"#function-definitions"},{"include":"#protocol-definitions"},{"include":"#next-hop-statements"},{"include":"#neighbor-statements"},{"include":"#import-export-statements"},{"include":"#structural-keywords"},{"include":"#functional-keywords"},{"include":"#semantic-modifiers"},{"include":"#builtin-functions"},{"include":"#method-properties"},{"include":"#route-attributes"},{"include":"#data-types"},{"include":"#operators"},{"include":"#constants"},{"include":"#filter-names"},{"include":"#user-variables"},{"include":"#function-calls"},{"include":"#method-calls"},{"include":"#variable-declarations"},{"include":"#symbols"},{"include":"#blocks"},{"include":"#print-statements"}],"repository":{"bgp-paths":{"patterns":[{"begin":"\\\\[=","beginCaptures":{"0":{"name":"punctuation.definition.bgp-path.begin.bird"}},"end":"=]","endCaptures":{"0":{"name":"punctuation.definition.bgp-path.end.bird"}},"name":"meta.bgp-path.bird","patterns":[{"match":"[*+?]","name":"keyword.operator.wildcard.bird"},{"match":"\\\\b[0-9]+\\\\b","name":"constant.numeric.asn.bird"},{"include":"#numbers"}]}]},"blocks":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.block.begin.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.block.bird","patterns":[{"include":"$self"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.set.begin.bird"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.set.end.bird"}},"name":"meta.set.bird","patterns":[{"include":"$self"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.tuple.begin.bird"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.tuple.end.bird"}},"name":"meta.tuple.bird","patterns":[{"include":"$self"}]},{"match":";","name":"punctuation.terminator.statement.bird"},{"match":",","name":"punctuation.separator.bird"}]},"builtin-functions":{"patterns":[{"match":"\\\\b(?:defined|unset|printn??|roa_check|aspa_check|aspa_check_downstream|aspa_check_upstream|from_hex|format|prepend|add|delete|filter|empty|reset|bt_assert|bt_test_suite|bt_test_same)\\\\b","name":"support.function.builtin.bird"}]},"bytestrings":{"patterns":[{"match":"\\\\b(?:hex:)?(?:\\\\h{2}[-.:\\\\s]*){2,}\\\\h{2}\\\\b","name":"constant.numeric.bytestring.bird"},{"match":"\\\\b\\\\h{32,}\\\\b","name":"constant.numeric.bytestring.bird"}]},"comments":{"patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.bird"}},"end":"$","name":"comment.line.number-sign.bird"},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.bird"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.bird"}},"name":"comment.block.bird"}]},"constants":{"patterns":[{"match":"\\\\b(?:on|off|yes|no|true|false)\\\\b","name":"constant.language.boolean.bird"},{"match":"\\\\b(?:empty|unknown|generic|rt|ro|one|ten)\\\\b","name":"constant.language.special.bird"},{"match":"\\\\bSCOPE_(?:HOST|LINK|SITE|ORGANIZATION|UNIVERSE)\\\\b","name":"constant.language.scope.bird"},{"match":"\\\\bRTS_(?:STATIC|INHERIT|DEVICE|RIP|OSPF|OSPF_IA|OSPF_EXT1|OSPF_EXT2|BGP|PIPE|BABEL)\\\\b","name":"constant.language.source.bird"},{"match":"\\\\bRTD_(?:ROUTER|DEVICE|MULTIPATH|BLACKHOLE|UNREACHABLE|PROHIBIT)\\\\b","name":"constant.language.dest.bird"},{"match":"\\\\bROA_(?:UNKNOWN|INVALID|VALID)\\\\b","name":"constant.language.roa.bird"},{"match":"\\\\bASPA_(?:UNKNOWN|INVALID|VALID)\\\\b","name":"constant.language.aspa.bird"},{"match":"\\\\bNET_(?:IP4|IP6|IP6_SADR|VPN4|VPN6|ROA4|ROA6|FLOW4|FLOW6|MPLS)\\\\b","name":"constant.language.net-type.bird"},{"match":"\\\\bMPLS_POLICY_(?:NONE|STATIC|PREFIX|AGGREGATE|VRF)\\\\b","name":"constant.language.mpls.bird"}]},"data-types":{"patterns":[{"match":"\\\\b(?:int|bool|ip|prefix|rd|pair|quad|ec|lc|string|bytestring|bgpmask|bgppath|clist|eclist|lclist|set|enum|route)\\\\b","name":"storage.type.bird"}]},"filter-definitions":{"patterns":[{"begin":"\\\\b(filter)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.filter.bird"},"2":{"name":"entity.name.function.filter.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.filter-definition.bird","patterns":[{"include":"$self"}]}]},"filter-names":{"patterns":[{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*_filter\\\\b","name":"entity.name.function.filter.bird"}]},"function-calls":{"patterns":[{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.call.bird"}},"end":"\\\\)","name":"meta.function-call.bird","patterns":[{"include":"$self"}]}]},"function-definitions":{"patterns":[{"begin":"\\\\b(function)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"keyword.control.function.bird"},"2":{"name":"entity.name.function.user-defined.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.function-definition.bird","patterns":[{"begin":"\\\\G(?=\\\\()","end":"\\\\)","name":"meta.function-parameters.bird","patterns":[{"include":"#data-types"},{"include":"#symbols"}]},{"begin":"->","beginCaptures":{"0":{"name":"keyword.operator.return-type.bird"}},"end":"(?=\\\\{)","name":"meta.function-return-type.bird","patterns":[{"include":"#data-types"}]},{"include":"$self"}]}]},"functional-keywords":{"patterns":[{"match":"\\\\b(?:static|rip|ospf|bgp|babel|rpki|bfd|device|direct|kernel|pipe|perf|mrt|aggregator|l3vpn|radv)\\\\b","name":"keyword.control.protocol-type.bird"},{"match":"\\\\b(?:graceful|restart|preference|disabled|hold|keepalive|connect|retry|start|delay|error|wait|forget|scan|randomize|router|id)\\\\b","name":"keyword.control.routing.bird"},{"match":"\\\\b(?:interface|type|wired|wireless|tunnel|rxcost|limit|hello|update|interval|port|tx|class|dscp|priority|rx|buffer|length|check|link|rtt|cost|min|max|decay|send|timestamps)\\\\b","name":"keyword.other.interface.bird"},{"match":"\\\\b(?:authentication|none|mac|permissive|password|generate|accept|from|to|algorithm|hmac|sha1|sha256|sha384|sha512|blake2s128|blake2s256|blake2b256|blake2b512)\\\\b","name":"keyword.other.auth.bird"},{"match":"\\\\btime\\\\b","name":"keyword.other.time.bird"},{"match":"\\\\b(?:hostname|description|debug|log|syslog|stderr|bird|protocols|tables|channels|timeouts|passwords|bfd|confederation|cluster|stub|dead|neighbors|area|md5|multihop|passive|rfc1583compat|tick|ls|retransmit|transmit|ack|state|database|summary|external|nssa|translator|always|candidate|never|role|stability|election|action|warn|block|disable|keep|filtered|receive|modify|add|delete|withdraw|unreachable|blackhole|prohibit|unreach|igp_metric|localpref|med|origin|community|large_community|ext_community|as_path|prepend|weight|gateway|scope|onlink|recursive|multipath|igp|channel|sadr|src|learn|persist|via|ng)\\\\b","name":"keyword.other.config.bird"},{"match":"\\\\b(?:flow4|flow6|dst|src|proto|header|dport|sport|icmp|code|tcp|flags|dscp|dont_fragment|is_fragment|first_fragment|last_fragment|fragment|label|offset)\\\\b","name":"keyword.other.flowspec.bird"},{"match":"\\\\b(?:vpn|mpls|aspa|roa6??)\\\\b","name":"keyword.other.address.bird"},{"match":"\\\\b(?:all|none)\\\\b","name":"keyword.other.quick-declaration.bird"}]},"import-export-statements":{"patterns":[{"captures":{"1":{"name":"keyword.control.import-export.bird"},"2":{"name":"keyword.control.filter.bird"},"3":{"name":"entity.name.function.filter.bird"}},"match":"\\\\b(import)\\\\s+(filter)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b","name":"meta.import-statement.bird"},{"begin":"\\\\b(import)\\\\s+(filter)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.import-export.bird"},"2":{"name":"keyword.control.filter.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.import-filter-inline.bird","patterns":[{"include":"$self"}]},{"begin":"\\\\b(export)\\\\s+(where)\\\\b","beginCaptures":{"1":{"name":"keyword.control.import-export.bird"},"2":{"name":"keyword.control.where.bird"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.statement.bird"}},"name":"meta.export-where-clause.bird","patterns":[{"include":"$self"}]},{"captures":{"1":{"name":"keyword.control.import-export.bird"},"2":{"name":"keyword.control.filter.bird"},"3":{"name":"entity.name.function.filter.bird"}},"match":"\\\\b(export)\\\\s+(filter)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\b","name":"meta.export-statement.bird"}]},"ip-addresses":{"patterns":[{"match":"\\\\b(?:[0-9]{1,3}\\\\.){3}[0-9]{1,3}(?:/[0-9]{1,2})?\\\\b","name":"constant.numeric.ip.ipv4.bird"},{"match":"\\\\b(?:\\\\h{0,4}:){2,7}\\\\h{0,4}(?:/[0-9]{1,3})?\\\\b","name":"constant.numeric.ip.ipv6.bird"},{"match":"::(?:\\\\h{0,4}:){0,6}\\\\h{0,4}(?:/[0-9]{1,3})?\\\\b","name":"constant.numeric.ip.ipv6.bird"},{"match":"(?:\\\\h{0,4}:){1,6}::(?:\\\\h{0,4}:){0,5}\\\\h{0,4}(?:/[0-9]{1,3})?\\\\b","name":"constant.numeric.ip.ipv6.bird"}]},"method-calls":{"patterns":[{"begin":"\\\\.\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.method.bird"}},"end":"\\\\)","name":"meta.method-call.bird","patterns":[{"include":"$self"}]},{"captures":{"1":{"name":"variable.other.property.bird"}},"match":"\\\\.\\\\s*([A-Z_a-z][0-9A-Z_a-z]*)","name":"meta.method-access.bird"}]},"method-properties":{"patterns":[{"match":"\\\\b(?:first|last|last_nonaggregated|len|asn|data1??|data2|is_v4|ip|src|dst|rd|maxlen|type|mask|min|max)\\\\b","name":"support.variable.property.bird"}]},"neighbor-statements":{"patterns":[{"captures":{"1":{"name":"keyword.control.neighbor.bird"},"2":{"name":"constant.numeric.ip-address.bird"},"3":{"name":"meta.interface-reference.bird"},"4":{"name":"string.quoted.single.interface.bird"},"5":{"name":"keyword.control.as.bird"},"6":{"name":"constant.numeric.asn.bird"}},"match":"\\\\b(neighbor)\\\\s+([.:\\\\h]+)\\\\s*(%\\\\s*\'([^\']+)\')?\\\\s+(as)\\\\s+([0-9]+)\\\\b","name":"meta.neighbor-statement.bird"},{"captures":{"1":{"name":"keyword.control.source.bird"},"2":{"name":"constant.numeric.ip-address.bird"}},"match":"\\\\b(source address)\\\\s+([.:\\\\h]+)\\\\b","name":"meta.source-address-statement.bird"}]},"next-hop-statements":{"patterns":[{"captures":{"1":{"name":"keyword.control.routing.bird"},"2":{"name":"keyword.other.ip-version.bird"},"3":{"name":"constant.numeric.ip-address.bird"}},"match":"\\\\b(next hop)\\\\s+(ipv4)\\\\s+([.0-9]+)\\\\b","name":"meta.next-hop-ipv4.bird"},{"captures":{"1":{"name":"keyword.control.routing.bird"},"2":{"name":"keyword.other.ip-version.bird"},"3":{"name":"constant.numeric.ip-address.bird"}},"match":"\\\\b(next hop)\\\\s+(ipv6)\\\\s+([:\\\\h]+)\\\\b","name":"meta.next-hop-ipv6.bird"},{"captures":{"1":{"name":"keyword.control.routing.bird"},"2":{"name":"keyword.other.semantic-modifier.bird"}},"match":"\\\\b(next hop)\\\\s+(self)\\\\b","name":"meta.next-hop-simple.bird"},{"captures":{"1":{"name":"keyword.control.routing.bird"},"2":{"name":"keyword.other.semantic-modifier.bird"}},"match":"\\\\b(extended next hop)\\\\s+(o(?:n|ff))\\\\b","name":"meta.extended-next-hop-statement.bird"}]},"numbers":{"patterns":[{"match":"\\\\b0x\\\\h+\\\\b","name":"constant.numeric.hex.bird"},{"match":"\\\\b[0-9]+\\\\b","name":"constant.numeric.decimal.bird"},{"captures":{"1":{"name":"keyword.other.unit.bird"}},"match":"\\\\b[0-9]+\\\\s*([mu]??s)\\\\b","name":"constant.numeric.time.bird"}]},"operators":{"patterns":[{"match":"==|!=|<=|>=|[<=>~]|!~","name":"keyword.operator.comparison.bird"},{"match":"&&|\\\\|\\\\||!|->","name":"keyword.operator.logical.bird"},{"match":"[-%*+/]","name":"keyword.operator.arithmetic.bird"},{"match":"\\\\.\\\\.","name":"keyword.operator.range.bird"},{"match":"=","name":"keyword.operator.assignment.bird"},{"match":"\\\\.","name":"keyword.operator.accessor.bird"}]},"prefixes":{"patterns":[{"match":"\\\\b(?:(?:[0-9]{1,3}\\\\.){3}[0-9]{1,3}|(?:\\\\h{0,4}:)+\\\\h{0,4})/[0-9]{1,3}(?:[-+]|\\\\{[0-9]+,[0-9]+})?\\\\b","name":"constant.numeric.prefix.bird"}]},"print-statements":{"patterns":[{"begin":"\\\\b(printn??)\\\\b","beginCaptures":{"1":{"name":"keyword.other.print.bird"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.statement.bird"}},"name":"meta.print-statement.bird","patterns":[{"include":"$self"}]}]},"protocol-definitions":{"patterns":[{"begin":"\\\\b(protocol)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s+(from)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.protocol.bird"},"2":{"name":"entity.name.type.protocol.bird"},"3":{"name":"entity.name.function.protocol.bird"},"4":{"name":"keyword.control.template-reference.bird"},"5":{"name":"entity.name.function.template.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.protocol-definition-with-template.bird","patterns":[{"include":"$self"}]},{"begin":"\\\\b(protocol)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.protocol.bird"},"2":{"name":"entity.name.type.protocol.bird"},"3":{"name":"entity.name.function.protocol.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.protocol-definition-with-name.bird","patterns":[{"include":"$self"}]},{"begin":"\\\\b(protocol)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.protocol.bird"},"2":{"name":"entity.name.type.protocol.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.protocol-definition-anonymous.bird","patterns":[{"include":"$self"}]}]},"route-attributes":{"patterns":[{"match":"\\\\b(?:net|scope|preference|from|gw|proto|source|dest|ifname|ifindex|weight|gw_mpls|gw_mpls_stack|onlink|igp_metric|mpls_label|mpls_policy|mpls_class|bgp_path|bgp_origin|bgp_next_hop|bgp_med|bgp_local_pref|bgp_community|bgp_ext_community|bgp_large_community|bgp_originator_id|bgp_cluster_list|ospf_metric1|ospf_metric2|ospf_tag|ospf_router_id|rip_metric|rip_tag|mypath|mylclist)\\\\b","name":"support.variable.route-attribute.bird"}]},"semantic-modifiers":{"patterns":[{"match":"\\\\b(?:self|on|off|remote|extended)\\\\b","name":"keyword.other.semantic-modifier.bird"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.bird"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.bird"}},"name":"string.quoted.double.bird","patterns":[{"match":"\\\\.","name":"constant.character.escape.bird"}]},{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.bird"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.bird"}},"name":"string.quoted.single.bird"}]},"structural-keywords":{"patterns":[{"match":"\\\\b(?:if|then|else|case|for|do|while|break|continue|return|in)\\\\b","name":"keyword.control.bird"},{"match":"\\\\belse\\\\s*:","name":"keyword.control.case.else.bird"},{"match":"\\\\b(?:accept|reject|error)\\\\b","name":"keyword.control.flow.bird"},{"match":"\\\\b(?:protocol|table|define|include|attribute|eval|ipv4|ipv6|local|as|from|where|cost|limit|action)\\\\b","name":"keyword.control.structure.bird"}]},"symbols":{"patterns":[{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.bird"}]},"template-definitions":{"patterns":[{"begin":"\\\\b(template)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.template.bird"},"2":{"name":"entity.name.type.protocol.bird"},"3":{"name":"entity.name.function.template.bird"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.block.end.bird"}},"name":"meta.template-definition.bird","patterns":[{"include":"$self"}]}]},"user-variables":{"patterns":[{"match":"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b","name":"variable.other.user-defined.bird"}]},"variable-declarations":{"patterns":[{"captures":{"1":{"name":"storage.type.bird"},"2":{"name":"variable.other.declaration.bird"}},"match":"\\\\b(int|bool|ip|prefix|rd|pair|quad|ec|lc|string|bytestring|bgpmask|bgppath|clist|eclist|lclist|set|enum|route)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)(?:\\\\s*=|;)","name":"meta.variable-declaration.bird"}]},"vpn-rd":{"match":"\\\\b(?:[0-9]+:[0-9]+|[012]:[0-9]+:[0-9]+|(?:[0-9]{1,3}\\\\.){3}[0-9]{1,3}:[0-9]+)\\\\b","name":"constant.numeric.vpn-rd.bird"}},"scopeName":"source.bird2","aliases":["bird"]}'))];export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[Object.freeze(JSON.parse('{"displayName":"C3","fileTypes":["c3","c3i","c3t"],"name":"c3","patterns":[{"include":"#top_level"},{"include":"#statements"}],"repository":{"assign_right_expression":{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#expression"}]},"attribute":{"patterns":[{"begin":"@(?:(?:align|allow_deprecated|benchmark|bigendian|builtin|callconv|cname|compact|const|deprecated|dynamic|export|extern|finalizer|format|if|inline|init|jump|link|littleendian|local|maydiscard|naked|noalias|nodiscard|noinit|noinline|nopadding|norecurse|noreturn|nosanitize|nostrip|obfuscate|operator|operator_r|operator_s|optional|overlap|packed|private|public|pure|reflect|safeinfer|safemacro|simd|section|structlike|tag|test|unused|used|wasm|weak|winmain)|\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b","beginCaptures":{"0":{"name":"keyword.annotation.c3"}},"end":"(?=[^\\\\t (])|(?<=\\\\))","name":"meta.annotation.c3","patterns":[{"include":"#parens"}]}]},"block":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.block.c3","patterns":[{"include":"#statements"}]}]},"block_comment":{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.c3"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.c3"}},"name":"comment.block.c3","patterns":[{"include":"#block_comment_body"}]},"block_comment_body":{"patterns":[{"begin":"/\\\\*","end":"\\\\*/","patterns":[{"include":"#block_comment_body"}]}]},"brackets":{"patterns":[{"begin":"\\\\[<?","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.c3"}},"end":">?]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.c3"}},"name":"meta.brackets.c3","patterns":[{"include":"#expression"}]}]},"builtin":{"patterns":[{"captures":{"1":{"name":"constant.language.c3"},"2":{"name":"entity.name.function.builtin.c3"}},"match":"(?:(\\\\$\\\\$\\\\b_*[A-Z][0-9A-Z_]*)|(\\\\$\\\\$\\\\b_*[a-z][0-9A-Z_a-z]*))\\\\b"}]},"bytes_literal":{"patterns":[{"begin":"(x)([\\"\'`])","beginCaptures":{"1":{"name":"keyword.other.c3"},"2":{"name":"punctuation.definition.string.begin.c3"}},"end":"\\\\2","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.other.c3","patterns":[{"match":"[f\\\\s\\\\h]+","name":"constant.numeric.integer.c3"}]},{"begin":"(b64)([\\"\'`])","beginCaptures":{"1":{"name":"keyword.other.c3"},"2":{"name":"punctuation.definition.string.begin.c3"}},"end":"\\\\2","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.other.c3","patterns":[{"match":"[+/-9=A-Za-z\\\\s]+","name":"constant.numeric.integer.c3"}]}]},"char_literal":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c3"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.single.c3","patterns":[{"include":"#escape_sequence"}]},"comments":{"patterns":[{"include":"#line_comment"},{"include":"#block_comment"},{"include":"#doc_comment"}]},"constants":{"patterns":[{"match":"\\\\b(true|false|null)\\\\b","name":"constant.language.c3"},{"begin":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","beginCaptures":{"0":{"name":"variable.other.constant.c3"}},"end":"(?=[^\\\\t {])|(?<=})","patterns":[{"include":"#generic_args"}]}]},"control_statements":{"patterns":[{"begin":"\\\\$for\\\\b","beginCaptures":{"0":{"name":"keyword.control.ct.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#statements"}]},{"begin":"\\\\$foreach\\\\b","beginCaptures":{"0":{"name":"keyword.control.ct.c3"}},"end":"(?<=:)","patterns":[{"include":"#comments"},{"match":"\\\\$\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.c3"},{"match":",","name":"punctuation.separator.c3"},{"begin":":","beginCaptures":{"0":{"name":"keyword.operator.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]}]},{"begin":"\\\\bfor\\\\b","beginCaptures":{"0":{"name":"keyword.control.c3"}},"end":"(?<=\\\\))","patterns":[{"include":"#comments"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"patterns":[{"include":"#statements"}]}]},{"begin":"\\\\$(?:switch|case|default|if)\\\\b","beginCaptures":{"0":{"name":"keyword.control.ct.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]},{"begin":"\\\\b(?:case|default)\\\\b","beginCaptures":{"0":{"name":"keyword.control.c3"}},"end":":","endCaptures":{"0":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]}]},"doc_comment":{"begin":"(?=<\\\\*)","end":"(\\\\*>)","endCaptures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"punctuation.definition.comment.end.c3"}},"patterns":[{"include":"#doc_comment_body"}]},"doc_comment_body":{"patterns":[{"begin":"(<\\\\*)\\\\s*(?=@)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"punctuation.definition.comment.begin.c3"}},"end":"(?=\\\\*>)","patterns":[{"captures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"variable.parameter.c3"},"2":{"name":"support.type.c3"},"3":{"name":"keyword.operator.variadic.c3"}},"match":"@param(?:\\\\s*\\\\[&?(?:in|out|inout)])?\\\\s*(?:([#$]?\\\\b_*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\.\\\\.\\\\.))"},{"begin":"@(?:require\\\\b|ensure\\\\b|return\\\\?)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"}},"end":"(?=:|\\\\*>|$)","patterns":[{"include":"#expression"}]},{"match":"@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"comment.block.documentation.c3"},{"match":":","name":"comment.block.documentation.c3"},{"begin":"([\\"`])","end":"\\\\1","name":"comment.block.documentation.c3"}]},{"begin":"(<\\\\*)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"punctuation.definition.comment.begin.c3"}},"end":"(?=^\\\\s*@|\\\\*>)","name":"comment.block.documentation.c3"},{"begin":"","end":"(?=\\\\*>)","patterns":[{"captures":{"0":{"name":"comment.block.documentation.c3"},"1":{"name":"variable.parameter.c3"},"2":{"name":"support.type.c3"},"3":{"name":"keyword.operator.variadic.c3"}},"match":"^\\\\s*@param(?:\\\\s*\\\\[&?(?:in|out|inout)])?\\\\s*(?:([#$]?\\\\b_*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b|(\\\\.\\\\.\\\\.))"},{"begin":"^\\\\s*@(?:require\\\\b|ensure\\\\b|return\\\\?)","beginCaptures":{"0":{"name":"comment.block.documentation.c3"}},"end":"(?=:|\\\\*>|$)","patterns":[{"include":"#expression"}]},{"match":"^\\\\s*@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"comment.block.documentation.c3"},{"match":":","name":"comment.block.documentation.c3"},{"begin":"([\\"`])","end":"\\\\1","name":"comment.block.documentation.c3"}]}]},"escape_sequence":{"match":"\\\\\\\\([\\"\'0\\\\\\\\abefnrtv]|x\\\\h{2}|u\\\\h{4}|U\\\\h{8})","name":"constant.character.escape.c3"},"expression":{"patterns":[{"include":"#comments"},{"include":"#function"},{"include":"#constants"},{"include":"#builtin"},{"include":"#literals"},{"include":"#operators"},{"include":"#keywords"},{"include":"#type"},{"include":"#path"},{"include":"#function_call"},{"include":"#variable"},{"include":"#parens"},{"include":"#brackets"},{"include":"#block"},{"include":"#punctuation"},{"include":"#leftover_at_ident"}]},"function":{"begin":"(?=\\\\b(fn|macro)\\\\b)","end":"(?=[;={])","patterns":[{"begin":"\\\\b(fn|macro)\\\\b","beginCaptures":{"1":{"name":"keyword.declaration.function.c3"}},"end":"(?=\\\\()","name":"meta.function.c3","patterns":[{"include":"#comments"},{"include":"#function_header"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.function.parameters.c3","patterns":[{"include":"#parameters"}]},{"begin":"(?<=\\\\))","contentName":"meta.function.c3","end":"(?=[;={])","patterns":[{"include":"#comments"},{"include":"#generic_params"},{"include":"#attribute"}]}]},"function_call":{"begin":"([#@]?\\\\b_*[a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(\\\\{.*})?\\\\s*\\\\()","beginCaptures":{"1":{"name":"entity.name.function.c3"}},"end":"(?<=\\\\))","name":"meta.function_call.c3","patterns":[{"include":"#generic_args"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#comments"},{"begin":"([#$]?\\\\b_*[a-z][0-9A-Z_a-z]*|\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b\\\\s*(:)(?!:)","beginCaptures":{"1":{"name":"variable.parameter.c3"},"2":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\))|([,;])","endCaptures":{"1":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]},{"begin":"(?=\\\\S)","end":"(?=\\\\))|([,;])","endCaptures":{"1":{"name":"punctuation.separator.c3"}},"patterns":[{"include":"#expression"}]},{"match":";","name":"punctuation.separator.c3"}]}]},"function_header":{"patterns":[{"include":"#type"},{"match":"\\\\.","name":"punctuation.accessor.c3"},{"match":"@?\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.function.c3"}]},"generic_args":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.generic.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.generic.end.c3"}},"name":"meta.generic.c3","patterns":[{"include":"#expression"}]}]},"generic_params":{"patterns":[{"begin":"<","beginCaptures":{"0":{"name":"punctuation.definition.generic.begin.c3"}},"end":">","endCaptures":{"0":{"name":"punctuation.definition.generic.end.c3"}},"name":"meta.generic.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"support.type.c3"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]}]},"integer_literal":{"match":"\\\\b(?:0[Xx]\\\\h(?:_?\\\\h)*|0[Oo][0-7](_?[0-7])*|0[Bb][01](_?[01])*|[0-9](?:_?[0-9])*)(?:[IUiu](?:8|16|32|64|128)|[Uu][Ll]{0,2}|[Ll]{1,2})?","name":"constant.numeric.integer.c3"},"keywords":{"patterns":[{"match":"\\\\$(?:alignof|assert|assignable|default|defined|echo|embed|eval|error|exec|extnameof|feature|include|is_const|kindof|nameof|offsetof|qnameof|sizeof|stringify|vacount|vaconst|vaarg|vaexpr|vasplat)\\\\b","name":"keyword.other.ct.c3"},{"match":"\\\\$(?:case|else|endfor|endforeach|endif|endswitch|for|foreach|if|switch)\\\\b","name":"keyword.control.ct.c3"},{"match":"\\\\b(?:assert|asm|catch|inline|import|module|interface|try|var)\\\\b","name":"keyword.other.c3"},{"match":"\\\\b(?:break|case|continue|default|defer|do|else|for|foreach|foreach_r|if|nextcase|return|switch|while)\\\\b","name":"keyword.control.c3"}]},"leftover_at_ident":{"patterns":[{"captures":{"0":{"name":"keyword.annotation.c3"}},"match":"@(?:pure|inline|noinline)","name":"meta.annotation.c3"},{"begin":"@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"entity.name.function.c3"}},"end":"(?=[^\\\\t {])|(?<=})","patterns":[{"include":"#generic_args"}]}]},"line_comment":{"match":"//.*$","name":"comment.line.double-slash.c3"},"literals":{"patterns":[{"include":"#string_literal"},{"include":"#char_literal"},{"include":"#raw_string_literal"},{"include":"#real_literal"},{"include":"#integer_literal"},{"include":"#bytes_literal"}]},"modifier_keywords":{"patterns":[{"match":"\\\\b(?:const|extern|static|tlocal|inline)\\\\b","name":"storage.modifier.c3"}]},"module_path":{"patterns":[{"include":"#path"},{"captures":{"1":{"name":"entity.name.scope-resolution.c3"}},"match":"\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b","name":"meta.path.c3"}]},"operators":{"patterns":[{"match":"=>","name":"keyword.declaration.function.arrow.c3"},{"match":"(?:[-%\\\\&*+/^|]|>>|<<|\\\\+\\\\+\\\\+)=","name":"keyword.operator.assignment.augmented.c3"},{"match":"<=|>=|==|[<>]|!=","name":"keyword.operator.comparison.c3"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.variadic.c3"},{"match":"\\\\.\\\\.","name":"keyword.operator.range.c3"},{"match":"\\\\+\\\\+\\\\+?|--","name":"keyword.operator.arithmetic.c3"},{"match":"<<|>>|&&&?|\\\\|\\\\|\\\\|?","name":"keyword.operator.arithmetic.c3"},{"match":"[-%+/^|~]","name":"keyword.operator.arithmetic.c3"},{"match":"=","name":"keyword.operator.assignment.c3"},{"match":"\\\\?\\\\?\\\\??|\\\\?:|[!\\\\&*:?]","name":"keyword.operator.c3"}]},"parameters":{"patterns":[{"include":"#comments"},{"begin":"\\\\$\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"support.type.c3"}},"end":"(?=[),;])","patterns":[{"include":"#comments"},{"include":"#attribute"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=[),;])","patterns":[{"include":"#expression"}]}]},{"include":"#type"},{"include":"#punctuation"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.variadic.c3"},{"match":"&","name":"keyword.operator.address.c3"},{"begin":";","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\))","patterns":[{"include":"#comments"},{"match":"@\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.function.c3"},{"include":"#parameters"}]},{"begin":"[#$]?\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"variable.parameter.c3"}},"end":"(?=[),;])","patterns":[{"include":"#comments"},{"include":"#attribute"},{"match":"\\\\.\\\\.\\\\.","name":"keyword.operator.variadic.c3"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=[),;])","patterns":[{"include":"#expression"}]}]}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#expression"}]}]},"path":{"captures":{"1":{"name":"entity.name.scope-resolution.c3"},"2":{"name":"punctuation.separator.scope-resolution.c3"}},"match":"\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b\\\\s*(::)","name":"meta.path.c3"},"punctuation":{"patterns":[{"match":",","name":"punctuation.separator.c3"},{"match":":","name":"punctuation.separator.c3"},{"match":"\\\\.(?!\\\\.\\\\.)","name":"punctuation.accessor.c3"}]},"raw_string_literal":{"begin":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c3"}},"end":"`(?!`)","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.other.c3","patterns":[{"match":"``","name":"constant.character.escape.c3"}]},"real_literal":{"patterns":[{"match":"\\\\b[0-9](?:_?[0-9])*(?:[Ff](?:16|32|64|128)?|[Dd])","name":"constant.numeric.float.c3"},{"match":"\\\\b(?:[0-9](?:_?[0-9])*[Ee][-+]?[0-9]+|[0-9](?:_?[0-9])*\\\\.(?!\\\\.)(?:[0-9](?:_?[0-9])*)?(?:[Ee][-+]?[0-9]+)?)(?:[Ff](?:16|32|64|128)?|[Dd])?","name":"constant.numeric.float.c3"},{"match":"\\\\b0[Xx]\\\\h(?:_?\\\\h)*(?:\\\\.(?:\\\\h(?:_?\\\\h)*)?)?[Pp][-+]?[0-9]+(?:[Ff](?:16|32|64|128)?|[Dd])?","name":"constant.numeric.float.c3"}]},"statements":{"patterns":[{"include":"#comments"},{"include":"#modifier_keywords"},{"match":";","name":"punctuation.terminator.c3"},{"include":"#control_statements"},{"include":"#attribute"},{"include":"#block"},{"include":"#expression"}]},"string_literal":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.c3"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.c3"}},"name":"string.quoted.double.c3","patterns":[{"include":"#escape_sequence"}]},"structlike":{"begin":"(?=\\\\b(?:((?:|bit)struct)|(union))\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\b(?:((?:|bit)struct)|(union))\\\\b","beginCaptures":{"1":{"name":"keyword.declaration.struct.c3"},"2":{"name":"keyword.declaration.union.c3"}},"end":"(?=\\\\{)","name":"meta.struct.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.struct.c3"},{"match":"\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.member.c3"},{"include":"#generic_params"},{"include":"#attribute"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\{)","patterns":[{"include":"#comments"},{"include":"#type_no_generics"},{"include":"#generic_params"},{"include":"#attribute"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#comments"},{"include":"#path"},{"include":"#type"},{"include":"#punctuation"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.struct.body.c3","patterns":[{"include":"#comments"},{"include":"#structlike"},{"include":"#modifier_keywords"},{"include":"#type"},{"match":"\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","name":"variable.other.member.c3"},{"include":"#attribute"},{"match":";","name":"punctuation.terminator.c3"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=;)","patterns":[{"include":"#attribute"},{"include":"#expression"}]}]}]},"top_level":{"patterns":[{"include":"#comments"},{"include":"#modifier_keywords"},{"begin":"\\\\$(?:assert|include|echo|exec)\\\\b","beginCaptures":{"0":{"name":"keyword.other.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"patterns":[{"include":"#comments"},{"include":"#expression"}]},{"begin":"\\\\bmodule\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.module.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.module.c3","patterns":[{"include":"#comments"},{"include":"#attribute"},{"include":"#module_path"},{"include":"#generic_args"},{"include":"#generic_params"}]},{"begin":"\\\\bimport\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.import.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.import.c3","patterns":[{"include":"#comments"},{"include":"#attribute"},{"include":"#module_path"},{"match":",","name":"punctuation.separator.c3"}]},{"include":"#function"},{"begin":"\\\\balias\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.alias.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.alias.c3","patterns":[{"include":"#comments"},{"begin":"(?=\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b\\\\s*=\\\\s*module)","end":"(?=;)","patterns":[{"begin":"\\\\b(_*[a-z][0-9A-Z_a-z]*)\\\\b","end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#attribute"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"begin":"module","beginCaptures":{"0":{"name":"keyword.declaration.module.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#module_path"}]}]}]}]},{"begin":"(?:(@\\\\b_*[a-z][0-9A-Z_a-z]*)|\\\\b(_*[a-z][0-9A-Z_a-z]*)|\\\\b(_*[A-Z][0-9A-Z_]*))\\\\b","beginCaptures":{"1":{"name":"entity.name.function.c3"},"2":{"name":"variable.global.c3"},"3":{"name":"variable.other.constant.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#generic_params"},{"include":"#attribute"},{"include":"#assign_right_expression"}]},{"begin":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"entity.name.type.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#generic_params"},{"include":"#attribute"},{"include":"#assign_right_expression"}]}]},{"begin":"\\\\btypedef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.typedef.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.typedef.c3","patterns":[{"include":"#comments"},{"begin":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"entity.name.type.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#parens"},{"include":"#generic_params"},{"include":"#attribute"},{"include":"#assign_right_expression"}]}]},{"begin":"\\\\bfaultdef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.faultdef.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.faultdef.c3","patterns":[{"include":"#comments"},{"include":"#attribute"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]},{"begin":"\\\\battrdef\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.attrdef.c3"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.c3"}},"name":"meta.attrdef.c3","patterns":[{"include":"#comments"},{"begin":"@\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"keyword.annotation.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#attribute"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"name":"meta.group.c3","patterns":[{"include":"#parameters"}]},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=;)","patterns":[{"include":"#comments"},{"include":"#attribute"},{"match":",","name":"punctuation.separator.c3"}]}]}]},{"include":"#structlike"},{"begin":"(?=\\\\benum\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\benum\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.enum.c3"}},"end":"(?=\\\\{)","name":"meta.enum.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.enum.c3"},{"include":"#generic_params"},{"include":"#attribute"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\{)","patterns":[{"include":"#comments"},{"match":"\\\\b(?:inline|const)\\\\b","name":"storage.modifier.c3"},{"include":"#type_no_generics"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.c3"}},"contentName":"meta.group.c3","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.c3"}},"patterns":[{"include":"#comments"},{"match":"\\\\b(?:inline|const)\\\\b","name":"storage.modifier.c3"},{"include":"#parameters"}]},{"include":"#generic_params"},{"include":"#attribute"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.enum.body.c3","patterns":[{"include":"#comments"},{"begin":"=","beginCaptures":{"0":{"name":"keyword.operator.assignment.c3"}},"end":"(?=,)","patterns":[{"include":"#expression"}]},{"include":"#attribute"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*\\\\b","name":"variable.other.constant.c3"},{"match":",","name":"punctuation.separator.c3"}]}]},{"begin":"(?=\\\\binterface\\\\b)","end":"(?<=})","patterns":[{"begin":"\\\\binterface\\\\b","beginCaptures":{"0":{"name":"keyword.declaration.interface.c3"}},"end":"(?=\\\\{)","name":"meta.interface.c3","patterns":[{"include":"#comments"},{"match":"\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*\\\\b","name":"entity.name.type.interface.c3"},{"include":"#generic_params"},{"include":"#attribute"},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.c3"}},"end":"(?=\\\\{)","patterns":[{"include":"#comments"},{"include":"#punctuation"},{"include":"#type_no_generics"}]}]},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.c3"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.c3"}},"name":"meta.interface.body.c3","patterns":[{"include":"#comments"},{"match":";","name":"punctuation.terminator.c3"},{"include":"#function"}]}]}]},"type":{"patterns":[{"include":"#path"},{"begin":"(?:\\\\b(void|bool|char|double|float|float16|bfloat|int128|ichar|int|iptr|isz|long|short|uint128|uint|ulong|uptr|ushort|usz|float128|any|fault|typeid)|(\\\\$?\\\\b\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b)\\\\b","beginCaptures":{"1":{"name":"storage.type.built-in.primitive.c3"},"2":{"name":"support.type.c3"}},"end":"(?=\\\\*>|[^\\\\t *?\\\\[{])","patterns":[{"include":"#comments"},{"include":"#generic_args"},{"include":"#type_suffix"}]},{"include":"#type_expr"}]},"type_expr":{"patterns":[{"begin":"\\\\$(?:typeof|typefrom|evaltype)\\\\b","beginCaptures":{"0":{"name":"storage.type.c3"}},"end":"(?<=\\\\))","patterns":[{"include":"#parens"}]},{"begin":"\\\\$vatype\\\\b","beginCaptures":{"0":{"name":"storage.type.c3"}},"end":"(?<=])","patterns":[{"include":"#brackets"}]},{"include":"#type_suffix"}]},"type_no_generics":{"patterns":[{"include":"#path"},{"begin":"(?:\\\\b(void|bool|char|double|float|float16|bfloat|int128|ichar|int|iptr|isz|long|short|uint128|uint|ulong|uptr|ushort|usz|float128|any|fault|typeid)|(\\\\$?\\\\b\\\\b_*[A-Z][0-9A-Z_]*[a-z][0-9A-Z_a-z]*)\\\\b)\\\\b","beginCaptures":{"1":{"name":"storage.type.built-in.primitive.c3"},"2":{"name":"support.type.c3"}},"end":"(?=[^\\\\t *?@\\\\[])","patterns":[{"include":"#comments"},{"include":"#type_suffix"}]},{"include":"#type_expr"}]},"type_suffix":{"patterns":[{"include":"#brackets"},{"match":"\\\\*","name":"keyword.operator.address.c3"},{"match":"\\\\?","name":"keyword.operator.c3"}]},"variable":{"begin":"(?<!#)\\\\$?\\\\b_*[a-z][0-9A-Z_a-z]*\\\\b","beginCaptures":{"0":{"name":"variable.other.c3"}},"end":"(?=[^\\\\t {])|(?<=})","patterns":[{"include":"#generic_args"}]}},"scopeName":"source.c3"}'))];export{e as default};
|