@openclaw/diffs 2026.8.1-beta.3 → 2026.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/viewer-runtime.js +129 -156
- package/dist/{browser.runtime-_hkQDewM.js → browser.runtime-DTKAejqd.js} +1 -1
- package/dist/index.js +18 -16
- package/dist/{viewer-assets-DKR8WLAI.js → viewer-assets-D3qrnaxI.js} +11 -23
- package/node_modules/@pierre/diffs/README.md +9 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.d.ts +94 -7
- package/node_modules/@pierre/diffs/dist/components/CodeView.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/CodeView.js +333 -47
- package/node_modules/@pierre/diffs/dist/components/CodeView.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/File.d.ts +22 -4
- package/node_modules/@pierre/diffs/dist/components/File.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/File.js +143 -23
- package/node_modules/@pierre/diffs/dist/components/File.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/FileDiff.d.ts +83 -19
- package/node_modules/@pierre/diffs/dist/components/FileDiff.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/FileDiff.js +461 -46
- package/node_modules/@pierre/diffs/dist/components/FileDiff.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/FileStream.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/FileStream.js +2 -1
- package/node_modules/@pierre/diffs/dist/components/FileStream.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.d.ts +2 -2
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.js +9 -4
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.d.ts +7 -3
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.js +87 -60
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.d.ts +30 -5
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.js +277 -56
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.d.ts +17 -3
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.js +44 -5
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/constants.d.ts +4 -1
- package/node_modules/@pierre/diffs/dist/constants.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/constants.js +4 -1
- package/node_modules/@pierre/diffs/dist/constants.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/edit/index.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/edit/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/editor/command.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/editor/command.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/command.js +128 -0
- package/node_modules/@pierre/diffs/dist/editor/command.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.d.ts +76 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.js +259 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.d.ts +118 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.js +2880 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor2.js +6 -0
- package/node_modules/@pierre/diffs/dist/editor/editor2.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.d.ts +26 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.js +363 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.js +212 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.js +245 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.js +138 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.js +706 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.js +31 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.d.ts +65 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.js +191 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.d.ts +41 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.js +318 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.d.ts +211 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.js +1626 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.d.ts +47 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.js +66 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.js +45 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.js +65 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.d.ts +67 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.js +278 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.d.ts +61 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.js +209 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.d.ts +41 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.js +596 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.d.ts +22 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.js +78 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/index.d.ts +12 -9
- package/node_modules/@pierre/diffs/dist/index.js +13 -10
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.d.ts +20 -2
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.js +155 -79
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.d.ts +10 -2
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.js +33 -13
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.d.ts +2 -1
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.js +7 -3
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/CodeView.d.ts +29 -3
- package/node_modules/@pierre/diffs/dist/react/CodeView.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/CodeView.js +111 -30
- package/node_modules/@pierre/diffs/dist/react/CodeView.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/EditContext.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.js +27 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/File.d.ts +4 -1
- package/node_modules/@pierre/diffs/dist/react/File.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/File.js +5 -2
- package/node_modules/@pierre/diffs/dist/react/File.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/FileDiff.d.ts +4 -1
- package/node_modules/@pierre/diffs/dist/react/FileDiff.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/FileDiff.js +5 -2
- package/node_modules/@pierre/diffs/dist/react/FileDiff.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.d.ts +7 -5
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.js +5 -2
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.d.ts +4 -1
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.js +5 -2
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.d.ts +2 -1
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.js +2 -1
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/index.d.ts +4 -3
- package/node_modules/@pierre/diffs/dist/react/index.js +3 -2
- package/node_modules/@pierre/diffs/dist/react/types.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/react/types.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.d.ts +2 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.js +16 -8
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.d.ts +2 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.js +16 -8
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.d.ts +6 -2
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.js +21 -6
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.d.ts +7 -2
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.js +21 -6
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.js +4 -4
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.d.ts +47 -2
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.js +361 -37
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.d.ts +26 -1
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.js +240 -55
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/ssr/index.d.ts +2 -2
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.d.ts +11 -10
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.js +17 -7
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.js +2 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/style.js +1 -1
- package/node_modules/@pierre/diffs/dist/types.d.ts +336 -5
- package/node_modules/@pierre/diffs/dist/types.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.js +29 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.js +1 -1
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.d.ts +2 -2
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.js +6 -1
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js +6 -1
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.d.ts +3 -1
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.js +8 -1
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.js +80 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.js +5 -1
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.d.ts +66 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.js +437 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.js +24 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.js +3 -1
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.js +2 -1
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.js +2 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.js +2 -1
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.js +34 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.js +141 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.js +20 -15
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.d.ts +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.js +26 -5
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.js +9 -6
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js +6 -3
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/platform.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.js +32 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.d.ts +33 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js +148 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.js +1 -1
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.js +5 -14
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.js +18 -2
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.d.ts +7 -3
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.js +1 -1
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.js +236 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.d.ts +43 -2
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.js +107 -5
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.d.ts +9 -3
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.js +86 -18
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/worker/index.d.ts +2 -2
- package/node_modules/@pierre/diffs/dist/worker/types.d.ts +11 -1
- package/node_modules/@pierre/diffs/dist/worker/types.d.ts.map +1 -1
- package/node_modules/@pierre/diffs/dist/worker/wasm-B9ZqxnKj.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.js +116 -95
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.js.map +1 -1
- package/node_modules/@pierre/diffs/dist/worker/worker.js +102 -80
- package/node_modules/@pierre/diffs/dist/worker/worker.js.map +1 -1
- package/node_modules/@pierre/diffs/node_modules/@pierre/theme/LICENSE +189 -21
- package/node_modules/@pierre/diffs/node_modules/@pierre/theme/NOTICE.md +32 -0
- package/node_modules/@pierre/diffs/node_modules/@pierre/theme/package.json +3 -2
- package/node_modules/@pierre/diffs/node_modules/@pierre/theming/LICENSE.md +189 -0
- package/node_modules/@pierre/diffs/node_modules/@pierre/theming/README.md +9 -0
- package/node_modules/@pierre/diffs/node_modules/@pierre/theming/package.json +5 -5
- package/node_modules/@pierre/diffs/node_modules/@shikijs/core/dist/index.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/core/dist/index.mjs +22 -3
- package/node_modules/@pierre/diffs/node_modules/@shikijs/core/package.json +4 -4
- package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-javascript/dist/{engine-compile-CMRQUZTL.d.mts → engine-compile-Bdn9ihA2.d.mts} +0 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-javascript/dist/engine-compile.d.mts +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-javascript/dist/engine-raw.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-javascript/dist/index.d.mts +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-javascript/package.json +2 -2
- package/node_modules/@pierre/diffs/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/node_modules/@pierre/diffs/node_modules/@shikijs/primitive/dist/index.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/primitive/package.json +3 -3
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/monokai.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/red.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/rose-pine.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/solarized-dark.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/dist/solarized-light.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/themes/package.json +3 -3
- package/node_modules/@pierre/diffs/node_modules/@shikijs/transformers/dist/index.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/transformers/dist/index.mjs +2 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/transformers/package.json +3 -3
- package/node_modules/@pierre/diffs/node_modules/@shikijs/types/dist/index.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/@shikijs/types/package.json +2 -2
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/bundle-full.d.mts +4 -7
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/bundle-full.mjs +3 -19
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/bundle-web.d.mts +5 -6
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/bundle-web.mjs +7 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/core-CaxrMD1A.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/core.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/index.d.mts +3 -9
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/index.mjs +3 -24
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/actionscript.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/actionscript.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ahk.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ahk.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ahk1.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ahk1.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ahk2.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ahk2.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/as3.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/as3.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/chapel.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/chapel.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/chpl.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/chpl.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/justfile.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/justfile.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/nsis.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/nsis.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/org.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/org.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/pwsh.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/pwsh.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/rbs.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/rbs.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ruby-signature.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/ruby-signature.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/smithy.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs/smithy.mjs +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs-B38xGbib.d.mts +1 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs-bundle-full-B4n9xYHw.d.mts +13 -0
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/{langs-bundle-full-4noeO3oH.mjs → langs-bundle-full-xQVO1Cek.mjs} +48 -5
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs.d.mts +2 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs.mjs +1 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/{themes-NeZbxnKu.d.mts → themes-BKdFAJ1v.d.mts} +0 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/themes.d.mts +1 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/types.d.mts +3 -3
- package/node_modules/@pierre/diffs/node_modules/shiki/package.json +10 -10
- package/node_modules/@pierre/diffs/package.json +13 -4
- package/node_modules/@shikijs/langs/dist/actionscript-3.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/actionscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/actionscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ahk1.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk2.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apex.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/as3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/as3.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/asciidoc.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/bat.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/bird2.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/bsl.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/c3.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/chapel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/chapel.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/chpl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/chpl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clarity.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/cmd.mjs +2 -2
- package/node_modules/@shikijs/langs/dist/coq.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/cpp-macro.mjs +1 -3
- package/node_modules/@shikijs/langs/dist/cpp.mjs +1 -3
- package/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/gdscript.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/hack.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/haxe.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/hxml.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/index.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/just.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/justfile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/justfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/llvm.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/luau.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/mdc.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/mermaid.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/mojo.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/moonbit.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/move.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/nsis.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nsis.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nushell.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/org.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/org.mjs +100 -0
- package/node_modules/@shikijs/langs/dist/powershell.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/prisma.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/pwsh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pwsh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/r.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/rbs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rbs.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/scala.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/smalltalk.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/smithy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/smithy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/solidity.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/surrealql.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/swift.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/system-verilog.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/twig.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/typst.mjs +116 -1
- package/node_modules/@shikijs/langs/dist/v.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/vb.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/verilog.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/vue.mjs +1 -1
- package/node_modules/@shikijs/langs/node_modules/@shikijs/types/dist/index.d.mts +0 -1
- package/node_modules/@shikijs/langs/node_modules/@shikijs/types/package.json +2 -2
- package/node_modules/@shikijs/langs/package.json +18 -4
- package/node_modules/typebox/build/format/date.d.mts +1 -1
- package/node_modules/typebox/build/format/date.mjs +1 -1
- package/node_modules/typebox/build/format/date_time.d.mts +2 -2
- package/node_modules/typebox/build/format/date_time.mjs +3 -3
- package/node_modules/typebox/build/format/email.d.mts +1 -1
- package/node_modules/typebox/build/format/email.mjs +2 -2
- package/node_modules/typebox/build/format/hostname.mjs +2 -10
- package/node_modules/typebox/build/format/idn_email.d.mts +1 -1
- package/node_modules/typebox/build/format/idn_email.mjs +3 -3
- package/node_modules/typebox/build/format/idn_hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
- package/node_modules/typebox/build/format/idna/format/bidi.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
- package/node_modules/typebox/build/format/idna/format/puny.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
- package/node_modules/typebox/build/format/idna/hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +41 -0
- package/node_modules/typebox/build/format/idna/index.d.mts +2 -0
- package/node_modules/typebox/build/format/idna/index.mjs +2 -0
- package/node_modules/typebox/build/format/idna/label/ascii.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
- package/node_modules/typebox/build/format/idna/label/puny.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
- package/node_modules/typebox/build/format/idna/label/unicode.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +30 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +0 -1
- package/node_modules/typebox/build/format/ipv4.mjs +2 -32
- package/node_modules/typebox/build/format/ipv6.mjs +2 -61
- package/node_modules/typebox/build/format/iri.d.mts +2 -2
- package/node_modules/typebox/build/format/iri.mjs +26 -8
- package/node_modules/typebox/build/format/iri_reference.d.mts +2 -2
- package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
- package/node_modules/typebox/build/format/regex.d.mts +1 -2
- package/node_modules/typebox/build/format/regex.mjs +2 -6
- package/node_modules/typebox/build/format/time.d.mts +2 -2
- package/node_modules/typebox/build/format/time.mjs +19 -14
- package/node_modules/typebox/build/format/uri.d.mts +1 -1
- package/node_modules/typebox/build/format/uri.mjs +3 -130
- package/node_modules/typebox/build/format/uri_reference.d.mts +1 -1
- package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
- package/node_modules/typebox/build/format/uri_template.d.mts +2 -3
- package/node_modules/typebox/build/format/uri_template.mjs +4 -5
- package/node_modules/typebox/build/format/url.d.mts +3 -3
- package/node_modules/typebox/build/format/url.mjs +4 -5
- package/node_modules/typebox/build/guard/emit.d.mts +3 -1
- package/node_modules/typebox/build/guard/emit.mjs +12 -5
- package/node_modules/typebox/build/guard/guard.d.mts +8 -2
- package/node_modules/typebox/build/guard/guard.mjs +25 -4
- package/node_modules/typebox/build/guard/string.d.mts +2 -2
- package/node_modules/typebox/build/guard/string.mjs +7 -7
- package/node_modules/typebox/build/schema/engine/_context.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -2
- package/node_modules/typebox/build/schema/engine/_regexp.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +12 -13
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
- package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
- package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +7 -6
- package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/ref.mjs +1 -7
- package/node_modules/typebox/build/schema/engine/schema.mjs +13 -4
- package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +4 -1
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +202 -1
- package/node_modules/typebox/build/schema/static/propertyNames.d.mts +5 -0
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +3 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +0 -2
- package/node_modules/typebox/build/schema/types/index.mjs +0 -2
- package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
- package/node_modules/typebox/build/system/memory/discard.mjs +6 -5
- package/node_modules/typebox/build/system/settings/settings.d.mts +9 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +6 -1
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +5 -5
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +6 -10
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +7 -4
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +4 -20
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +4 -4
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +17 -2
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
- package/node_modules/typebox/build/type/script/mapping.d.mts +32 -29
- package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
- package/node_modules/typebox/build/type/script/parser.d.mts +19 -25
- package/node_modules/typebox/build/type/script/parser.mjs +27 -23
- package/node_modules/typebox/build/value/errors/errors.d.mts +2 -2
- package/node_modules/typebox/build/value/errors/errors.mjs +1 -1
- package/node_modules/typebox/package.json +27 -27
- package/node_modules/typebox/readme.md +79 -82
- package/package.json +9 -8
- package/node_modules/@pierre/diffs/dist/utils/iterateOverFile.d.ts +0 -50
- package/node_modules/@pierre/diffs/dist/utils/iterateOverFile.d.ts.map +0 -1
- package/node_modules/@pierre/diffs/dist/utils/iterateOverFile.js +0 -49
- package/node_modules/@pierre/diffs/dist/utils/iterateOverFile.js.map +0 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/core-BVVgDSdq.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs-BVVgDSdq.d.mts +0 -1
- package/node_modules/@pierre/diffs/node_modules/shiki/dist/langs-bundle-full-WSWgUeqW.d.mts +0 -14
- package/node_modules/typebox/build/format/_idna.d.mts +0 -2
- package/node_modules/typebox/build/format/_idna.mjs +0 -246
- package/node_modules/typebox/build/format/_puny.d.mts +0 -1
- package/node_modules/typebox/build/format/_puny.mjs +0 -77
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +0 -3
- package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"MoonBit\",\"fileTypes\":[\"mbt\"],\"name\":\"moonbit\",\"patterns\":[{\"include\":\"#strings\"},{\"include\":\"#comments\"},{\"include\":\"#constants\"},{\"include\":\"#keywords\"},{\"include\":\"#functions\"},{\"include\":\"#support\"},{\"include\":\"#attribute\"},{\"include\":\"#types\"},{\"include\":\"#modules\"},{\"include\":\"#variables\"}],\"repository\":{\"attribute\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.directive\"},\"2\":{\"patterns\":[{\"include\":\"#strings\"},{\"match\":\"[ .0-9A-Z_a-z]+\",\"name\":\"entity.name.tag\"},{\"match\":\"=\",\"name\":\"keyword.operator.attribute.moonbit\"}]}},\"match\":\"(#[a-z][ .0-9A-Z_a-z]*)(.*)\"}]},\"comments\":{\"patterns\":[{\"match\":\"//[^/].*\",\"name\":\"comment.line\"},{\"begin\":\"///\",\"name\":\"comment.block.documentation.moonbit\",\"patterns\":[{\"begin\":\"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(mbt\\\\s+test|mbt\\\\s+test(async)|mbt|moonbit\\\\s+test|moonbit\\\\s+test(async)|moonbit|)(\\\\s+[^`~]*)?$)\",\"beginCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"},\"5\":{\"name\":\"fenced_code.block.language\"},\"6\":{\"name\":\"fenced_code.block.language.attributes\"}},\"end\":\"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$\",\"endCaptures\":{\"3\":{\"name\":\"punctuation.definition.markdown\"}},\"name\":\"markup.fenced_code.block.markdown\",\"patterns\":[{\"begin\":\"(^|\\\\G)(\\\\s*)(.*)\",\"contentName\":\"meta.embedded.block.moonbit\",\"patterns\":[{\"include\":\"$self\"}],\"while\":\"(^|\\\\G)(?!\\\\s*([`~]{3,})\\\\s*$)\"}]}],\"while\":\"///\"}]},\"constants\":{\"patterns\":[{\"match\":\"\\\\b\\\\d([_\\\\d])*(?!\\\\.)((U)?(L)?|N?)\\\\b\",\"name\":\"constant.numeric.moonbit\"},{\"match\":\"(?<=\\\\.)\\\\d((?=\\\\.)|\\\\b)\",\"name\":\"constant.numeric.moonbit\"},{\"match\":\"\\\\b\\\\d+(?=\\\\.\\\\.)\",\"name\":\"constant.numeric.moonbit\"},{\"match\":\"\\\\b\\\\d[_\\\\d]*\\\\.[_\\\\d]*([Ee][-+]?\\\\d[_\\\\d]*\\\\b)?\",\"name\":\"constant.numeric.moonbit\"},{\"match\":\"\\\\b0[Oo][0-7][0-7]*((U)?(L)?|N?)\\\\b\",\"name\":\"constant.numeric.moonbit\"},{\"match\":\"\\\\b0[Xx][A-Fa-f\\\\d][A-F_a-f\\\\d]*(([LU]|UL|N)\\\\b|\\\\.[A-F_a-f\\\\d]*([Pp][-+]?[A-F_a-f\\\\d]+\\\\b)?)?\",\"name\":\"constant.numeric.moonbit\"},{\"match\":\"\\\\b(true|false)\\\\b\",\"name\":\"constant.language.moonbit\"}]},\"escape\":{\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'0\\\\\\\\bnrt]\",\"name\":\"constant.character.escape.moonbit\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.moonbit\"},{\"match\":\"\\\\\\\\o[0-3][0-7]{2}\",\"name\":\"constant.character.escape.moonbit\"},{\"match\":\"\\\\\\\\u\\\\h{4}\",\"name\":\"constant.character.escape.unicode.moonbit\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h*}\",\"name\":\"constant.character.escape.unicode.moonbit\"}]},\"functions\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.moonbit\"},\"2\":{\"name\":\"entity.name.type.moonbit\"},\"3\":{\"name\":\"entity.name.function.moonbit\"}},\"match\":\"\\\\b(fn)\\\\b\\\\s*(?:([A-Z][0-9A-Z_a-z]*)::)?([0-9_a-z][0-9A-Z_a-z]*)?\\\\b\"},{\"begin\":\"(?!\\\\bfn\\\\s+)(?:\\\\.|::)?([0-9_a-z][0-9A-Z_a-z]*([!?]|!!)?)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.moonbit\"},\"2\":{\"name\":\"punctuation.brackets.round.moonbit\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.brackets.round.moonbit\"}},\"name\":\"meta.function.call.moonbit\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#constants\"},{\"include\":\"#keywords\"},{\"include\":\"#functions\"},{\"include\":\"#support\"},{\"include\":\"#types\"},{\"include\":\"#modules\"},{\"include\":\"#strings\"},{\"include\":\"#variables\"}]}]},\"interpolation\":{\"patterns\":[{\"begin\":\"\\\\\\\\\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.moonbit\"}},\"contentName\":\"source.moonbit\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.moonbit\"}},\"name\":\"meta.embedded.line.moonbit\",\"patterns\":[{\"include\":\"$self\"}]}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(async)\\\\b\",\"name\":\"keyword.control.moonbit.async\"},{\"match\":\"\\\\b(guard|if|while|break|continue|return|try|catch|except|raise|noraise|match|lexmatch|using|else|as|in|is|loop|for|async|defer)\\\\b\",\"name\":\"keyword.control.moonbit\"},{\"match\":\"\\\\b(type!|lexmatch\\\\?|(type|typealias|let|const|enum|struct|import|trait|traitalias|derive|test|impl|with|fnalias|recur|suberror|letrec|and|where|declare)\\\\b)\",\"name\":\"keyword.moonbit\"},{\"match\":\"\\\\b(mut|pub|priv|readonly|extern)\\\\b\",\"name\":\"storage.modifier.moonbit\"},{\"match\":\"->\",\"name\":\"storage.type.function.arrow.moonbit\"},{\"match\":\"=>\",\"name\":\"storage.type.function.arrow.moonbit\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.moonbit\"},{\"match\":\"\\\\|>\",\"name\":\"keyword.operator.other.moonbit\"},{\"match\":\"(===?|!=|>=|<=|(?<!-)(?<!\\\\|)>(?!>)|<(?!<))\",\"name\":\"keyword.operator.comparison.moonbit\"},{\"match\":\"(\\\\bnot\\\\b|&&|\\\\|\\\\|)\",\"name\":\"keyword.operator.logical.moonbit\"},{\"match\":\"(\\\\|(?!\\\\|)(?!>)|&(?!&)|\\\\^|<<|>>)\",\"name\":\"keyword.operator.bitwise.moonbit\"},{\"match\":\"(\\\\+|-(?!>)|[%*/])\",\"name\":\"keyword.operator.math.moonbit\"}]},\"modules\":{\"patterns\":[{\"match\":\"@[A-Za-z][/-9A-Z_a-z]*\",\"name\":\"entity.name.namespace.moonbit\"}]},\"strings\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.other.moonbit\"}},\"match\":\"(#\\\\|).*\",\"name\":\"string.line\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.other.moonbit\"},\"2\":{\"patterns\":[{\"include\":\"#escape\"},{\"include\":\"#interpolation\"}]}},\"match\":\"(\\\\$\\\\|)(.*)\",\"name\":\"string.line\"},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.moonbit\",\"patterns\":[{\"include\":\"#escape\"}]},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.moonbit\",\"patterns\":[{\"include\":\"#escape\"},{\"include\":\"#interpolation\"}]}]},\"support\":{\"patterns\":[{\"match\":\"\\\\b(Eq|Compare|Hash|Show|Default|ToJson|FromJson)\\\\b\",\"name\":\"support.class.moonbit\"}]},\"types\":{\"patterns\":[{\"match\":\"\\\\b(?<!@)[A-Z][0-9A-Z_a-z]*((\\\\?)+|\\\\b)\",\"name\":\"entity.name.type.moonbit\"}]},\"variables\":{\"patterns\":[{\"match\":\"\\\\b(?<!\\\\.|::)[_a-z][0-9A-Z_a-z]*\\\\b\",\"name\":\"variable.other.moonbit\"}]}},\"scopeName\":\"source.moonbit\",\"aliases\":[\"mbt\",\"mbti\"]}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"MoonBit\",\"fileTypes\":[\"mbt\",\"mbtx\",\"mbtp\"],\"name\":\"moonbit\",\"patterns\":[{\"include\":\"#doccomment\"},{\"include\":\"#linecomment\"},{\"include\":\"#regexliteral\"},{\"include\":\"#bytes\"},{\"include\":\"#string-double\"},{\"include\":\"#string-single\"},{\"include\":\"#multilineinterp\"},{\"include\":\"#multilinestring\"},{\"include\":\"#attributename\"},{\"include\":\"#type-annotation-var\"},{\"include\":\"#type-annotation-return\"},{\"include\":\"#object-method-key\"},{\"include\":\"#ternary-expression\"},{\"include\":\"#fn-definition\"},{\"include\":\"#let-destructure\"},{\"include\":\"#const-destructure\"},{\"include\":\"#as-typekw\"},{\"include\":\"#dotint\"},{\"include\":\"#float\"},{\"include\":\"#double\"},{\"include\":\"#int\"},{\"include\":\"#scope-keyword-operator-expression-as\"},{\"include\":\"#scope-keyword-operator-expression-is\"},{\"include\":\"#scope-keyword-operator-expression-not\"},{\"include\":\"#tryquestion\"},{\"include\":\"#trybang\"},{\"include\":\"#lexmatchquestion\"},{\"include\":\"#scope-keyword-control-flow\"},{\"include\":\"#scope-keyword-control-conditional\"},{\"include\":\"#scope-keyword-control-loop-for\"},{\"include\":\"#scope-keyword-control-loop-in\"},{\"include\":\"#scope-keyword-control-loop-loop\"},{\"include\":\"#scope-keyword-control-loop-while\"},{\"include\":\"#scope-keyword-control-loop-break\"},{\"include\":\"#scope-keyword-control-loop-continue\"},{\"include\":\"#scope-keyword-control-exception\"},{\"include\":\"#scope-keyword-control-import\"},{\"include\":\"#scope-keyword-control-proof\"},{\"include\":\"#uident\"},{\"include\":\"#prooflabel\"},{\"include\":\"#scope-keyword-other\"},{\"include\":\"#scope-storage-modifier\"},{\"include\":\"#scope-storage-modifier-accessibility\"},{\"include\":\"#scope-storage-type-function\"},{\"include\":\"#moonbit-impl-header\"},{\"include\":\"#scope-storage-type\"},{\"include\":\"#scope-storage-type-function-arrow\"},{\"include\":\"#scope-constant-language-boolean-true\"},{\"include\":\"#scope-constant-language-boolean-false\"},{\"include\":\"#method-call\"},{\"include\":\"#known-property-access\"},{\"include\":\"#property-access\"},{\"include\":\"#forall\"},{\"include\":\"#exists\"},{\"include\":\"#implies\"},{\"include\":\"#operator-overrides\"},{\"include\":\"#operators\"},{\"include\":\"#scope-punctuation-accessor\"},{\"include\":\"#scope-punctuation-separator-colon\"},{\"include\":\"#scope-punctuation-bracket-square\"},{\"include\":\"#scope-punctuation-separator-comma\"},{\"include\":\"#scope-punctuation-bracket-round\"},{\"include\":\"#scope-punctuation-bracket-curly\"},{\"include\":\"#scope-punctuation-terminator-statement\"},{\"include\":\"#punctuation\"},{\"include\":\"#function-call\"},{\"include\":\"#ident\"},{\"include\":\"#packagename\"},{\"include\":\"#byte\"},{\"include\":\"#char\"}],\"repository\":{\"as-typekw\":{\"begin\":\"\\\\b(as)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.expression.as.moonbit\"}},\"end\":\"(?=[]),;=>{}]|\\\\b(?:as|if|else|match|guard|lexmatch|for|while|loop|in|break|continue|return|raise|throw|defer|try|catch|import|using|fn|predicate|lemma|let|letrec|const|type|struct|enum|enumview|extenum|trait|impl|typealias|traitalias|fnalias|suberror|test|pub|priv|readonly|extern|mut|async|declare|noraise|nobreak|proof_assert|proof_let|is|not)\\\\b)\",\"name\":\"meta.type.as.moonbit\",\"patterns\":[{\"include\":\"#type-inner\"}]},\"attributename\":{\"match\":\"#[A-Z_a-z][0-9A-Z_a-z]*(?:\\\\.[A-Z_a-z][0-9A-Z_a-z]*)?\",\"name\":\"entity.name.function.decorator.moonbit\"},\"bind-default\":{\"begin\":\"(=)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.assignment.moonbit\"}},\"end\":\"(?=[]),}])\",\"patterns\":[{\"include\":\"$self\"}]},\"byte\":{\"match\":\"b'(?:\\\\\\\\(?:[ \\\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)|[^\\\\n'\\\\\\\\])+'\",\"name\":\"constant.character.byte.moonbit\"},\"bytes\":{\"match\":\"b\\\"(?:[^\\\\n\\\"\\\\\\\\]|\\\\\\\\(?:[ \\\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.))*\\\"\",\"name\":\"string.quoted.double.bytes.moonbit\"},\"char\":{\"match\":\"'(?:\\\\\\\\(?:[ \\\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)|[^\\\\n'\\\\\\\\])+'\",\"name\":\"constant.character.moonbit\"},\"const-bind-array\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.moonbit\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.moonbit\"}},\"patterns\":[{\"include\":\"#const-bind-elem\"}]},\"const-bind-elem\":{\"patterns\":[{\"match\":\"(\\\\.\\\\.\\\\.)\",\"name\":\"keyword.operator.rest.moonbit\"},{\"include\":\"#bind-default\"},{\"include\":\"#const-bind-object\"},{\"include\":\"#const-bind-array\"},{\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)\",\"name\":\"variable.other.constant.moonbit\"},{\"match\":\",\",\"name\":\"punctuation.separator.comma.moonbit\"}]},\"const-bind-object\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.moonbit\"}},\"patterns\":[{\"include\":\"#const-bind-prop\"}]},\"const-bind-prop\":{\"patterns\":[{\"match\":\"(\\\\.\\\\.\\\\.)\",\"name\":\"keyword.operator.rest.moonbit\"},{\"captures\":{\"1\":{\"name\":\"variable.object.property.moonbit\"},\"3\":{\"name\":\"punctuation.destructuring.moonbit\"}},\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\s*)(:)\"},{\"include\":\"#bind-default\"},{\"include\":\"#const-bind-object\"},{\"include\":\"#const-bind-array\"},{\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)\",\"name\":\"variable.other.constant.moonbit\"},{\"match\":\",\",\"name\":\"punctuation.separator.comma.moonbit\"}]},\"const-destructure\":{\"begin\":\"\\\\b(const)\\\\s+(?=[\\\\[{])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.moonbit\"}},\"end\":\"(?<=[]}])\",\"patterns\":[{\"include\":\"#mut-bind-object\"},{\"include\":\"#mut-bind-array\"}]},\"doccomment\":{\"match\":\"///[^\\\\n]*\",\"name\":\"comment.line.documentation.moonbit\"},\"dotint\":{\"match\":\"\\\\.[0-9]+\",\"name\":\"constant.numeric.integer.tuple-index.moonbit\"},\"double\":{\"match\":\"0[Xx]\\\\h[_\\\\h]*\\\\.[_\\\\h]*(?:[Pp][-+]?[0-9][0-9_]*)?(?!\\\\.)|[0-9][0-9_]*\\\\.[0-9_]*(?:[Ee][-+]?[0-9][0-9_]*)?(?!\\\\.)\",\"name\":\"constant.numeric.double.moonbit\"},\"exists\":{\"match\":\"∃\",\"name\":\"keyword.operator.quantifier.moonbit\"},\"expr-scope-keyword-control-flow\":{\"match\":\"\\\\b(raise|throw|return)\\\\b\",\"name\":\"keyword.control.flow.moonbit\"},\"expr-scope-storage-modifier\":{\"match\":\"\\\\b(async)\\\\b\",\"name\":\"storage.modifier.moonbit\"},\"expr-scope-storage-modifier-accessibility\":{\"match\":\"\\\\b(no(?:raise|break))\\\\b(?=\\\\s+(?:\\\\.\\\\.\\\\.|[\\\"#'*0-9\\\\[_{[:alpha:]]))\",\"name\":\"storage.modifier.moonbit\"},\"expression\":{\"patterns\":[{\"include\":\"#doccomment\"},{\"include\":\"#linecomment\"},{\"include\":\"#regexliteral\"},{\"include\":\"#bytes\"},{\"include\":\"#string-double\"},{\"include\":\"#string-single\"},{\"include\":\"#multilineinterp\"},{\"include\":\"#multilinestring\"},{\"include\":\"#attributename\"},{\"include\":\"#type-annotation-return\"},{\"include\":\"#object-method-key\"},{\"include\":\"#ternary-expression\"},{\"include\":\"#fn-definition\"},{\"include\":\"#as-typekw\"},{\"include\":\"#dotint\"},{\"include\":\"#float\"},{\"include\":\"#double\"},{\"include\":\"#int\"},{\"include\":\"#scope-keyword-operator-expression-as\"},{\"include\":\"#scope-keyword-operator-expression-is\"},{\"include\":\"#scope-keyword-operator-expression-not\"},{\"include\":\"#tryquestion\"},{\"include\":\"#trybang\"},{\"include\":\"#lexmatchquestion\"},{\"include\":\"#expr-scope-keyword-control-flow\"},{\"include\":\"#scope-keyword-control-conditional\"},{\"include\":\"#scope-keyword-control-loop-for\"},{\"include\":\"#scope-keyword-control-loop-in\"},{\"include\":\"#scope-keyword-control-loop-loop\"},{\"include\":\"#scope-keyword-control-loop-while\"},{\"include\":\"#scope-keyword-control-loop-break\"},{\"include\":\"#scope-keyword-control-loop-continue\"},{\"include\":\"#scope-keyword-control-exception\"},{\"include\":\"#uident\"},{\"include\":\"#prooflabel\"},{\"include\":\"#scope-keyword-other\"},{\"include\":\"#expr-scope-storage-modifier\"},{\"include\":\"#expr-scope-storage-modifier-accessibility\"},{\"include\":\"#scope-storage-type-function\"},{\"include\":\"#scope-storage-type-function-arrow\"},{\"include\":\"#scope-constant-language-boolean-true\"},{\"include\":\"#scope-constant-language-boolean-false\"},{\"include\":\"#method-call\"},{\"include\":\"#known-property-access\"},{\"include\":\"#property-access\"},{\"include\":\"#forall\"},{\"include\":\"#exists\"},{\"include\":\"#implies\"},{\"include\":\"#operator-overrides\"},{\"include\":\"#operators\"},{\"include\":\"#scope-punctuation-accessor\"},{\"include\":\"#scope-punctuation-separator-colon\"},{\"include\":\"#scope-punctuation-bracket-square\"},{\"include\":\"#scope-punctuation-separator-comma\"},{\"include\":\"#scope-punctuation-bracket-round\"},{\"include\":\"#scope-punctuation-bracket-curly\"},{\"include\":\"#scope-punctuation-terminator-statement\"},{\"include\":\"#punctuation\"},{\"include\":\"#function-call\"},{\"include\":\"#ident\"},{\"include\":\"#packagename\"},{\"include\":\"#byte\"},{\"include\":\"#char\"}]},\"float\":{\"match\":\"0[Xx]\\\\h[_\\\\h]*\\\\.[_\\\\h]*[Pp][-+]?[0-9][0-9_]*F|[0-9][0-9_]*\\\\.[0-9_]*(?:[Ee][-+]?[0-9][0-9_]*)?F\",\"name\":\"constant.numeric.float.moonbit\"},\"fn-definition\":{\"captures\":{\"1\":{\"name\":\"storage.type.function.moonbit\"},\"2\":{\"name\":\"entity.name.function.moonbit\"}},\"match\":\"\\\\b(fn)\\\\s+([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)\"},\"forall\":{\"match\":\"∀\",\"name\":\"keyword.operator.quantifier.moonbit\"},\"function-call\":{\"captures\":{\"1\":{\"name\":\"entity.name.function.moonbit\"}},\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(?=\\\\s*\\\\()\"},\"ident\":{\"match\":\"[_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*\",\"name\":\"variable.other.readwrite.moonbit\"},\"implies\":{\"match\":\"→\",\"name\":\"keyword.operator.logical.implication.moonbit\"},\"int\":{\"match\":\"(?:0[Xx]\\\\h[_\\\\h]*|0[Oo][0-7][0-7_]*|0[Bb][01][01_]*|[0-9][0-9_]*)(?:UL|[LNU])?\",\"name\":\"constant.numeric.integer.moonbit\"},\"known-property-access\":{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.moonbit\"},\"2\":{\"name\":\"keyword.operator.range.moonbit\"}},\"match\":\"(?<=[])\\\\w])(\\\\.)\\\\s*(\\\\.(?:|=|<=??|\\\\.))\\\\b\"},\"let-destructure\":{\"begin\":\"\\\\b(let)\\\\s+(?=[\\\\[{])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.moonbit\"}},\"end\":\"(?<=[]}])\",\"patterns\":[{\"include\":\"#mut-bind-object\"},{\"include\":\"#mut-bind-array\"}]},\"lexmatchquestion\":{\"match\":\"lexmatch\\\\?\",\"name\":\"keyword.control.conditional.moonbit\"},\"linecomment\":{\"match\":\"//[^\\\\n]*\",\"name\":\"comment.line.double-slash.moonbit\"},\"method-call\":{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.moonbit\"},\"2\":{\"name\":\"entity.name.function.moonbit\"}},\"match\":\"(?<=[])\\\\w])(\\\\.)\\\\s*([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(?=\\\\s*\\\\()\"},\"moonbit-impl-header\":{\"begin\":\"\\\\b(impl)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.moonbit\"}},\"end\":\"(?=\\\\bwith\\\\b|[;{]|$)\",\"name\":\"meta.impl.header.moonbit\",\"patterns\":[{\"match\":\"\\\\b(for)\\\\b\",\"name\":\"keyword.other.impl.moonbit\"},{\"include\":\"#type-inner\"},{\"include\":\"$self\"}]},\"moonbit-interpolation-braces\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.moonbit\"}},\"patterns\":[{\"include\":\"#moonbit-interpolation-braces\"},{\"include\":\"$self\"}]},\"multilineinterp\":{\"begin\":\"\\\\$\\\\|\",\"beginCaptures\":{\"0\":{\"name\":\"string.quoted.other.multiline.interpolated.moonbit punctuation.definition.string.begin.moonbit\"}},\"end\":\"$\",\"patterns\":[{\"begin\":\"\\\\\\\\\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.moonbit\"}},\"name\":\"meta.embedded.expression.moonbit\",\"patterns\":[{\"include\":\"#moonbit-interpolation-braces\"},{\"include\":\"$self\"}]},{\"match\":\"(?:\\\\\\\\(?!\\\\{)|[^\\\\n\\\\\\\\])+\",\"name\":\"string.quoted.other.multiline.interpolated.moonbit\"}]},\"multilinestring\":{\"match\":\"#\\\\|[^\\\\n]*\",\"name\":\"string.quoted.other.multiline.moonbit\"},\"mut-bind-array\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.moonbit\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.moonbit\"}},\"patterns\":[{\"include\":\"#mut-bind-elem\"}]},\"mut-bind-elem\":{\"patterns\":[{\"match\":\"(\\\\.\\\\.\\\\.)\",\"name\":\"keyword.operator.rest.moonbit\"},{\"include\":\"#bind-default\"},{\"include\":\"#mut-bind-object\"},{\"include\":\"#mut-bind-array\"},{\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)\",\"name\":\"variable.other.readwrite.moonbit\"},{\"match\":\",\",\"name\":\"punctuation.separator.comma.moonbit\"}]},\"mut-bind-object\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.moonbit\"}},\"patterns\":[{\"include\":\"#mut-bind-prop\"}]},\"mut-bind-prop\":{\"patterns\":[{\"match\":\"(\\\\.\\\\.\\\\.)\",\"name\":\"keyword.operator.rest.moonbit\"},{\"captures\":{\"1\":{\"name\":\"variable.object.property.moonbit\"},\"3\":{\"name\":\"punctuation.destructuring.moonbit\"}},\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\s*)(:)\"},{\"include\":\"#bind-default\"},{\"include\":\"#mut-bind-object\"},{\"include\":\"#mut-bind-array\"},{\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)\",\"name\":\"variable.other.readwrite.moonbit\"},{\"match\":\",\",\"name\":\"punctuation.separator.comma.moonbit\"}]},\"object-method-key\":{\"captures\":{\"1\":{\"name\":\"entity.name.function.moonbit\"}},\"match\":\"([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(?=\\\\s*:\\\\s*(?:\\\\w+\\\\s+)?\\\\()\"},\"operator-overrides\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.range.moonbit\"},\"2\":{\"name\":\"keyword.operator.range.moonbit\"},\"3\":{\"name\":\"keyword.operator.range.moonbit\"},\"4\":{\"name\":\"keyword.operator.range.moonbit\"},\"5\":{\"name\":\"keyword.operator.range.moonbit\"},\"6\":{\"name\":\"keyword.operator.range.moonbit\"},\"7\":{\"name\":\"keyword.operator.range.moonbit\"},\"8\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"9\":{\"name\":\"keyword.operator.assignment.moonbit\"},\"10\":{\"name\":\"keyword.operator.assignment.moonbit\"},\"11\":{\"name\":\"keyword.operator.assignment.moonbit\"},\"12\":{\"name\":\"keyword.operator.assignment.moonbit\"},\"13\":{\"name\":\"keyword.operator.assignment.moonbit\"},\"14\":{\"name\":\"keyword.operator.pipe.moonbit\"},\"15\":{\"name\":\"keyword.operator.pipe.moonbit\"},\"16\":{\"name\":\"keyword.operator.logical.moonbit\"},\"17\":{\"name\":\"keyword.operator.logical.moonbit\"},\"18\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"19\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"20\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"21\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"22\":{\"name\":\"keyword.operator.bitwise.moonbit\"},\"23\":{\"name\":\"keyword.operator.bitwise.moonbit\"},\"24\":{\"name\":\"keyword.operator.bitwise.moonbit\"},\"25\":{\"name\":\"keyword.operator.arithmetic.moonbit\"},\"26\":{\"name\":\"keyword.operator.assignment.moonbit\"},\"27\":{\"name\":\"keyword.operator.arithmetic.moonbit\"},\"28\":{\"name\":\"keyword.operator.bitwise.moonbit\"},\"29\":{\"name\":\"keyword.operator.bitwise.moonbit\"},\"30\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"31\":{\"name\":\"keyword.operator.comparison.moonbit\"},\"32\":{\"name\":\"keyword.operator.arithmetic.moonbit\"},\"33\":{\"name\":\"keyword.operator.arithmetic.moonbit\"},\"34\":{\"name\":\"keyword.operator.arithmetic.moonbit\"}},\"match\":\"(\\\\.\\\\.<=)|(>=\\\\.\\\\.)|(\\\\.\\\\.\\\\.)|(\\\\.\\\\.<)|(\\\\.\\\\.=)|(>\\\\.\\\\.)|(\\\\.\\\\.)|(=~)|(\\\\+=)|(-=)|(\\\\*=)|(/=)|(%=)|(\\\\|>)|(<\\\\|)|(\\\\|\\\\|)|(&&)|(==)|(!=)|(<=)|(>=)|(<<)|(>>)|(&)|(\\\\+)|(=)|(-)|(\\\\|)|(\\\\^)|(<)|(>)|(\\\\*)|(/)|(%)\"},\"operators\":{\"match\":\"!\",\"name\":\"keyword.operator.moonbit\"},\"packagename\":{\"match\":\"@[A-Z_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*(?:/[A-Z_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)*\",\"name\":\"entity.name.namespace.moonbit\"},\"prooflabel\":{\"match\":\"proof_(?:require|ensure|invariant|yield|decrease|reasoning|axiomatized)(?=\\\\s*:)\",\"name\":\"keyword.other.proof-label.moonbit\"},\"property-access\":{\"captures\":{\"1\":{\"name\":\"punctuation.accessor.moonbit\"},\"2\":{\"name\":\"variable.other.property.moonbit\"}},\"match\":\"(?<=[])\\\\w])(\\\\.)\\\\s*([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)\"},\"punctuation\":{\"match\":\"<\\\\+|<\\\\?|[?~]\",\"name\":\"punctuation.moonbit\"},\"regexliteral\":{\"begin\":\"(re)(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string.regexp.moonbit\"},\"2\":{\"name\":\"string.regexp.moonbit punctuation.definition.string.begin.moonbit\"}},\"end\":\"\\\"|$\",\"endCaptures\":{\"0\":{\"name\":\"string.regexp.moonbit punctuation.definition.string.end.moonbit\"}},\"patterns\":[{\"begin\":\"\\\\\\\\\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.moonbit\"}},\"name\":\"meta.embedded.expression.moonbit\",\"patterns\":[{\"include\":\"#moonbit-interpolation-braces\"},{\"include\":\"$self\"}]},{\"match\":\"\\\\\\\\(?:[ \\\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)\",\"name\":\"constant.character.escape.moonbit\"},{\"match\":\"(?:\\\\\\\\(?!\\\\{)|[^\\\"\\\\\\\\])+\",\"name\":\"string.regexp.moonbit\"}]},\"scope-constant-language-boolean-false\":{\"match\":\"\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.moonbit\"},\"scope-constant-language-boolean-true\":{\"match\":\"\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.moonbit\"},\"scope-keyword-control-conditional\":{\"match\":\"\\\\b(if|else|guard|match|lexmatch)\\\\b\",\"name\":\"keyword.control.conditional.moonbit\"},\"scope-keyword-control-exception\":{\"match\":\"\\\\b(try|catch)\\\\b\",\"name\":\"keyword.control.exception.moonbit\"},\"scope-keyword-control-flow\":{\"match\":\"\\\\b(raise|throw|return|defer)\\\\b\",\"name\":\"keyword.control.flow.moonbit\"},\"scope-keyword-control-import\":{\"match\":\"\\\\b(import|using)\\\\b\",\"name\":\"keyword.control.import.moonbit\"},\"scope-keyword-control-loop-break\":{\"match\":\"\\\\b(break)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\\"(\\\\[{])\",\"name\":\"keyword.control.loop.moonbit\"},\"scope-keyword-control-loop-continue\":{\"match\":\"\\\\b(continue)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\\"(\\\\[{])\",\"name\":\"keyword.control.loop.moonbit\"},\"scope-keyword-control-loop-for\":{\"match\":\"\\\\b(for)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\\"(\\\\[{])\",\"name\":\"keyword.control.loop.moonbit\"},\"scope-keyword-control-loop-in\":{\"match\":\"\\\\b(in)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\\"(\\\\[{])\",\"name\":\"keyword.control.loop.moonbit\"},\"scope-keyword-control-loop-loop\":{\"match\":\"\\\\b(loop)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\\"(\\\\[{])\",\"name\":\"keyword.control.loop.moonbit\"},\"scope-keyword-control-loop-while\":{\"match\":\"\\\\b(while)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$|\\\\s*[\\\"(\\\\[{])\",\"name\":\"keyword.control.loop.moonbit\"},\"scope-keyword-control-proof\":{\"match\":\"\\\\b(proof_(?:assert|let))\\\\b\",\"name\":\"keyword.control.proof.moonbit\"},\"scope-keyword-operator-expression-as\":{\"match\":\"\\\\b(as)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)\",\"name\":\"keyword.operator.expression.moonbit\"},\"scope-keyword-operator-expression-is\":{\"match\":\"\\\\b(is)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)\",\"name\":\"keyword.operator.expression.moonbit\"},\"scope-keyword-operator-expression-not\":{\"match\":\"\\\\b(not)\\\\b(?=\\\\s+[\\\"(@\\\\[_{[:alpha:]\\\\d]|\\\\s*$)\",\"name\":\"keyword.operator.expression.moonbit\"},\"scope-keyword-other\":{\"match\":\"\\\\b(_|Unit|Bool|Byte|Char|Int|Int64|UInt|UInt64|Float|Double|String|Bytes|Array|FixedArray|Option|Result|Json|where|with|all|open|derive|and)\\\\b\",\"name\":\"keyword.other.moonbit\"},\"scope-punctuation-accessor\":{\"match\":\"\\\\.\",\"name\":\"punctuation.accessor.moonbit\"},\"scope-punctuation-bracket-curly\":{\"match\":\"[{}]\",\"name\":\"punctuation.bracket.curly.moonbit\"},\"scope-punctuation-bracket-round\":{\"match\":\"[()]\",\"name\":\"punctuation.bracket.round.moonbit\"},\"scope-punctuation-bracket-square\":{\"match\":\"[]\\\\[]\",\"name\":\"punctuation.bracket.square.moonbit\"},\"scope-punctuation-separator-colon\":{\"match\":\":\",\"name\":\"punctuation.separator.colon.moonbit\"},\"scope-punctuation-separator-comma\":{\"match\":\",\",\"name\":\"punctuation.separator.comma.moonbit\"},\"scope-punctuation-terminator-statement\":{\"match\":\";\",\"name\":\"punctuation.terminator.statement.moonbit\"},\"scope-storage-modifier\":{\"match\":\"\\\\b(async|pub|priv|readonly|extern)\\\\b\",\"name\":\"storage.modifier.moonbit\"},\"scope-storage-modifier-accessibility\":{\"match\":\"\\\\b(noraise|mut|nobreak|declare)\\\\b(?=\\\\s+(?:\\\\.\\\\.\\\\.|[\\\"#'*0-9\\\\[_{[:alpha:]]))\",\"name\":\"storage.modifier.moonbit\"},\"scope-storage-type\":{\"match\":\"\\\\b(let|const|letrec|type|struct|enum|extenum|suberror|enumview|typealias|traitalias|fnalias|trait|impl|test)\\\\b\",\"name\":\"storage.type.moonbit\"},\"scope-storage-type-function\":{\"match\":\"\\\\b(fn|predicate|lemma)\\\\b\",\"name\":\"storage.type.function.moonbit\"},\"scope-storage-type-function-arrow\":{\"match\":\"[-=]>\",\"name\":\"storage.type.function.arrow.moonbit\"},\"simple-type\":{\"match\":\"[_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*\",\"name\":\"entity.name.type.moonbit\"},\"string-double\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"string.quoted.double.moonbit punctuation.definition.string.begin.moonbit\"}},\"end\":\"\\\"|$\",\"endCaptures\":{\"0\":{\"name\":\"string.quoted.double.moonbit punctuation.definition.string.end.moonbit\"}},\"patterns\":[{\"begin\":\"\\\\\\\\\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.moonbit\"}},\"name\":\"meta.embedded.expression.moonbit\",\"patterns\":[{\"include\":\"#moonbit-interpolation-braces\"},{\"include\":\"$self\"}]},{\"match\":\"\\\\\\\\(?:[ \\\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)\",\"name\":\"constant.character.escape.moonbit\"},{\"match\":\"[^\\\"\\\\\\\\]+\",\"name\":\"string.quoted.double.moonbit\"}]},\"string-single\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.moonbit\"}},\"end\":\"'|$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.moonbit\"}},\"name\":\"string.quoted.single.moonbit\",\"patterns\":[{\"match\":\"\\\\\\\\(?:[ \\\"'/\\\\\\\\bfnrt]|x\\\\h{2}|o[0-3][0-7]{2}|u\\\\h{4}|u\\\\{\\\\h+}|.)\",\"name\":\"constant.character.escape.moonbit\"}]},\"ternary-expression\":{\"begin\":\"(\\\\?)(?!:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.ternary.moonbit\"}},\"end\":\"(:)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.operator.ternary.moonbit\"}},\"name\":\"meta.ternary-expression.moonbit\",\"patterns\":[{\"include\":\"#ternary-expression\"},{\"include\":\"$self\"}]},\"trybang\":{\"match\":\"try!\",\"name\":\"keyword.control.exception.moonbit\"},\"tryquestion\":{\"match\":\"try\\\\?\",\"name\":\"keyword.control.exception.moonbit\"},\"type-annotation-return\":{\"begin\":\"(?<=\\\\))(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.moonbit\"}},\"end\":\"(?=[;{]|=>)\",\"name\":\"meta.type.annotation.return.moonbit\",\"patterns\":[{\"include\":\"#type-inner\"}]},\"type-annotation-var\":{\"begin\":\"\\\\b(let|const|letrec|type|struct|enum|extenum|suberror|enumview|typealias|traitalias|fnalias|trait|impl|test)\\\\s+([_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\s*:)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.moonbit\"},\"2\":{\"name\":\"variable.other.moonbit\"},\"3\":{\"name\":\"keyword.operator.type.annotation.moonbit\"}},\"end\":\"(?=[,;=])|^\\\\s*(?=if|else|match|guard|lexmatch|for|while|loop|in|break|continue|return|throw|defer|try|catch|import|using|fn|predicate|lemma|let|letrec|const|type|struct|enum|enumview|extenum|trait|impl|typealias|traitalias|fnalias|suberror|test|pub|priv|readonly|extern|mut|declare|nobreak|proof_assert|proof_let)\\\\b\",\"name\":\"meta.type.annotation.moonbit\",\"patterns\":[{\"include\":\"#type-inner\"}]},\"type-inner\":{\"patterns\":[{\"include\":\"#type-object-type\"},{\"include\":\"#type-paren\"},{\"include\":\"#uident\"},{\"include\":\"#doccomment\"},{\"include\":\"#linecomment\"},{\"include\":\"#scope-constant-language-boolean-true\"},{\"include\":\"#scope-constant-language-boolean-false\"},{\"include\":\"#scope-keyword-operator-expression-as\"},{\"include\":\"#scope-keyword-operator-expression-is\"},{\"include\":\"#scope-keyword-operator-expression-not\"},{\"include\":\"#simple-type\"},{\"match\":\"\\\\[]\",\"name\":\"keyword.operator.type.array.moonbit\"},{\"match\":\",\",\"name\":\"punctuation.separator.comma.moonbit\"}]},\"type-object-member\":{\"begin\":\"(#?[_a-z\\\\x{80}-][0-9A-Z_a-z\\\\x{80}-]*)(\\\\??)(\\\\s*:)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.object.property.moonbit\"},\"2\":{\"name\":\"keyword.operator.optional.moonbit\"},\"3\":{\"name\":\"keyword.operator.type.annotation.moonbit\"}},\"end\":\"(?=[,;}])\",\"name\":\"meta.type.annotation.member.moonbit\",\"patterns\":[{\"include\":\"#type-inner\"}]},\"type-object-type\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.moonbit\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.block.moonbit\"}},\"name\":\"meta.object-type.moonbit\",\"patterns\":[{\"include\":\"#type-object-member\"},{\"include\":\"#type-inner\"},{\"match\":\";\",\"name\":\"punctuation.separator.moonbit\"}]},\"type-paren\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#type-inner\"}]},\"uident\":{\"match\":\"[A-Z][0-9A-Z_a-z]*\\\\??\",\"name\":\"entity.name.type.moonbit\"}},\"scopeName\":\"source.moonbit\",\"aliases\":[\"mbt\",\"mbti\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Move\",\"name\":\"move\",\"patterns\":[{\"include\":\"#address\"},{\"include\":\"#comments\"},{\"include\":\"#extend_module\"},{\"include\":\"#module\"},{\"include\":\"#script\"},{\"include\":\"#annotation\"},{\"include\":\"#entry\"},{\"include\":\"#public-scope\"},{\"include\":\"#public\"},{\"include\":\"#native\"},{\"include\":\"#import\"},{\"include\":\"#friend\"},{\"include\":\"#const\"},{\"include\":\"#struct\"},{\"include\":\"#has_ability\"},{\"include\":\"#enum\"},{\"include\":\"#macro\"},{\"include\":\"#fun\"},{\"include\":\"#spec\"}],\"repository\":{\"=== DEPRECATED_BELOW ===\":{},\"abilities\":{\"match\":\"\\\\b(store|key|drop|copy)\\\\b\",\"name\":\"support.type.ability.move\"},\"address\":{\"begin\":\"\\\\b(address)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.address.keyword.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.address_block.move\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"(?<=address)\",\"end\":\"(?=\\\\{)\",\"name\":\"meta.address.definition.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#address_literal\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.type.move\"}]},{\"include\":\"#module\"}]},\"annotation\":{\"begin\":\"#\\\\[\",\"end\":\"]\",\"name\":\"support.constant.annotation.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(\\\\w+)\\\\s*(?==)\",\"name\":\"meta.annotation.name.move\"},{\"begin\":\"=\",\"end\":\"(?=[],])\",\"name\":\"meta.annotation.value.move\",\"patterns\":[{\"include\":\"#literals\"}]}]},\"as\":{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"keyword.control.as.move\"},\"as-import\":{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"meta.import.as.move\"},\"block\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.block.move\",\"patterns\":[{\"include\":\"#expr\"}]},\"block-comments\":{\"patterns\":[{\"begin\":\"/\\\\*[!*](?![*/])\",\"end\":\"\\\\*/\",\"name\":\"comment.block.documentation.move\"},{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.move\"}]},\"capitalized\":{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.use.move\"},\"comments\":{\"name\":\"meta.comments.move\",\"patterns\":[{\"include\":\"#doc-comments\"},{\"include\":\"#line-comments\"},{\"include\":\"#block-comments\"}]},\"const\":{\"begin\":\"\\\\b(const)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.const.move\"}},\"end\":\";\",\"name\":\"meta.const.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#primitives\"},{\"include\":\"#literals\"},{\"include\":\"#types\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_]+)\\\\b\",\"name\":\"constant.other.move\"},{\"include\":\"#error_const\"}]},\"control\":{\"match\":\"\\\\b(return|while|loop|if|else|break|continue|abort)\\\\b\",\"name\":\"keyword.control.move\"},\"doc-comments\":{\"begin\":\"///\",\"end\":\"$\",\"name\":\"comment.block.documentation.move\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"markup.underline.link.move\"}},\"match\":\"`(\\\\w+)`\"}]},\"entry\":{\"match\":\"\\\\b(entry)\\\\b\",\"name\":\"storage.modifier.visibility.entry.move\"},\"enum\":{\"begin\":\"\\\\b(enum)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.enum.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.enum.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#type_param\"},{\"match\":\"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b\",\"name\":\"entity.name.type.enum.move\"},{\"include\":\"#has\"},{\"include\":\"#abilities\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.enum.definition.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*\\\\()\",\"name\":\"entity.name.function.enum.move\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.enum.move\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.enum.tuple.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#expr_generic\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.enum.struct.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#expr_generic\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]}]}]},\"error_const\":{\"match\":\"\\\\b(E[A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.error.const.move\"},\"escaped_identifier\":{\"begin\":\"`\",\"end\":\"`\",\"name\":\"variable.language.escaped.move\"},\"expr\":{\"name\":\"meta.expression.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#expr_generic\"},{\"include\":\"#packed_field\"},{\"include\":\"#import\"},{\"include\":\"#as\"},{\"include\":\"#mut\"},{\"include\":\"#let\"},{\"include\":\"#types\"},{\"include\":\"#literals\"},{\"include\":\"#control\"},{\"include\":\"#move_copy\"},{\"include\":\"#resource_methods\"},{\"include\":\"#self_access\"},{\"include\":\"#module_access\"},{\"include\":\"#label\"},{\"include\":\"#macro_call\"},{\"include\":\"#local_call\"},{\"include\":\"#method_call\"},{\"include\":\"#path_access\"},{\"include\":\"#match_expression\"},{\"match\":\"\\\\$(?=[a-z])\",\"name\":\"keyword.operator.macro.dollar.move\"},{\"match\":\"(?<=\\\\$)[a-z][0-9A-Z_a-z]*\",\"name\":\"variable.other.meta.move\"},{\"match\":\"\\\\b([A-Z][A-Z_]+)\\\\b\",\"name\":\"constant.other.move\"},{\"include\":\"#error_const\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.move\"},{\"include\":\"#paren\"},{\"include\":\"#block\"}]},\"expr_generic\":{\"begin\":\"<(?=([,0-9<>A-Z_a-z\\\\s]+>))\",\"end\":\">\",\"name\":\"meta.expression.generic.type.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#types\"},{\"include\":\"#capitalized\"},{\"include\":\"#expr_generic\"}]},\"extend_module\":{\"begin\":\"\\\\b(extend)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.extend.move\"}},\"end\":\"(?<=[;}])\",\"name\":\"meta.extend_module.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#module\"}]},\"friend\":{\"begin\":\"\\\\b(friend)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\";\",\"name\":\"meta.friend.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#address_literal\"},{\"match\":\"\\\\b([A-Za-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.module.move\"}]},\"fun\":{\"patterns\":[{\"include\":\"#fun_signature\"},{\"include\":\"#block\"}]},\"fun_body\":{\"begin\":\"\\\\{\",\"end\":\"(?<=})\",\"name\":\"meta.fun_body.move\",\"patterns\":[{\"include\":\"#expr\"}]},\"fun_call\":{\"begin\":\"\\\\b(\\\\w+)\\\\s*(?:<[,\\\\w\\\\s]+>)?\\\\s*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.call.move\"}},\"end\":\"\\\\)\",\"name\":\"meta.fun_call.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#resource_methods\"},{\"include\":\"#self_access\"},{\"include\":\"#module_access\"},{\"include\":\"#move_copy\"},{\"include\":\"#literals\"},{\"include\":\"#fun_call\"},{\"include\":\"#block\"},{\"include\":\"#mut\"},{\"include\":\"#as\"}]},\"fun_signature\":{\"begin\":\"\\\\b(fun)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.fun.move\"}},\"end\":\"(?=[;{])\",\"name\":\"meta.fun_signature.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#module_access\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"},{\"include\":\"#mut\"},{\"begin\":\"(?<=\\\\bfun)\",\"end\":\"(?=[(<])\",\"name\":\"meta.function_name.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.function.move\"}]},{\"include\":\"#fun_type_param\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.parentheses.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#self_access\"},{\"include\":\"#expr_generic\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#module_access\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"},{\"include\":\"#mut\"}]},{\"match\":\"\\\\b(acquires)\\\\b\",\"name\":\"storage.modifier\"}]},\"fun_type_param\":{\"begin\":\"<\",\"end\":\">\",\"name\":\"meta.fun_generic_param.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#types\"},{\"include\":\"#phantom\"},{\"include\":\"#capitalized\"},{\"include\":\"#module_access\"},{\"include\":\"#abilities\"}]},\"has\":{\"match\":\"\\\\b(has)\\\\b\",\"name\":\"keyword.control.ability.has.move\"},\"has_ability\":{\"begin\":\"(?<=[)}])\\\\s+(has)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\";\",\"name\":\"meta.has.ability.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#abilities\"}]},\"ident\":{\"match\":\"\\\\b([A-Za-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"meta.identifier.move\"},\"import\":{\"begin\":\"\\\\b(use)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\";\",\"name\":\"meta.import.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#use_fun\"},{\"include\":\"#address_literal\"},{\"include\":\"#as-import\"},{\"match\":\"\\\\b([A-Z]\\\\w*)\\\\b\",\"name\":\"entity.name.type.move\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#as-import\"},{\"match\":\"\\\\b([A-Z]\\\\w*)\\\\b\",\"name\":\"entity.name.type.move\"}]},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"meta.entity.name.type.module.move\"}]},\"inline\":{\"match\":\"\\\\b(inline)\\\\b\",\"name\":\"storage.modifier.visibility.inline.move\"},\"label\":{\"match\":\"'[a-z][0-9_a-z]*\",\"name\":\"string.quoted.single.label.move\"},\"let\":{\"match\":\"\\\\b(let)\\\\b\",\"name\":\"keyword.control.move\"},\"line-comments\":{\"begin\":\"//\",\"end\":\"$\",\"name\":\"comment.line.double-slash.move\"},\"literals\":{\"name\":\"meta.literal.move\",\"patterns\":[{\"match\":\"@0x\\\\h+\",\"name\":\"support.constant.address.base16.move\"},{\"match\":\"@[A-Za-z][0-9A-Z_a-z]*\",\"name\":\"support.constant.address.name.move\"},{\"match\":\"0x[_\\\\h]+(?:u(?:8|16|32|64|128|256))?\",\"name\":\"constant.numeric.hex.move\"},{\"match\":\"(?<!\\\\w|(?<!\\\\.)\\\\.)[0-9][0-9_]*(?:\\\\.(?!\\\\.)(?:[0-9][0-9_]*)?)?(?:[Ee][-+]?[0-9_]+)?(?:u(?:8|16|32|64|128|256))?\",\"name\":\"constant.numeric.move\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"meta.string.literal.move\",\"patterns\":[{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.hex.move\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.move\"},{\"match\":\".\",\"name\":\"string.quoted.double.raw.move\"}]},{\"begin\":\"\\\\bb\\\"\",\"end\":\"\\\"\",\"name\":\"meta.vector.literal.ascii.move\",\"patterns\":[{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.hex.move\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.move\"},{\"match\":\".\",\"name\":\"string.quoted.double.raw.move\"}]},{\"begin\":\"x\\\"\",\"end\":\"\\\"\",\"name\":\"meta.vector.literal.hex.move\",\"patterns\":[{\"match\":\"\\\\h+\",\"name\":\"constant.character.move\"}]},{\"match\":\"\\\\b(?:true|false)\\\\b\",\"name\":\"constant.language.boolean.move\"},{\"begin\":\"\\\\b(vector)\\\\b\\\\[\",\"captures\":{\"1\":{\"name\":\"support.type.vector.move\"}},\"end\":\"]\",\"name\":\"meta.vector.literal.move\",\"patterns\":[{\"include\":\"#expr\"}]}]},\"local_call\":{\"match\":\"\\\\b([a-z][0-9_a-z]*)(?=[(<])\",\"name\":\"entity.name.function.call.local.move\"},\"macro\":{\"begin\":\"\\\\b(macro)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.macro.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.macro.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#fun\"}]},\"macro_call\":{\"captures\":{\"2\":{\"name\":\"support.function.macro.move\"},\"3\":{\"name\":\"support.function.operator.macro.move\"}},\"match\":\"(\\\\b|\\\\.)([a-z][0-9A-Z_a-z]*)(!)\",\"name\":\"meta.macro.call\"},\"match_expression\":{\"begin\":\"\\\\b(match)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.match.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.match.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#types\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.match.block.move\",\"patterns\":[{\"match\":\"\\\\b(=>)\\\\b\",\"name\":\"operator.match.move\"},{\"include\":\"#expr\"}]},{\"include\":\"#expr\"}]},\"method_call\":{\"captures\":{\"1\":{\"name\":\"entity.name.function.call.path.move\"}},\"match\":\"\\\\.([a-z][0-9_a-z]*)(?=[(<])\",\"name\":\"meta.path.call.move\"},\"module\":{\"begin\":\"\\\\b(module)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\"(?<=[;}])\",\"name\":\"meta.module.move\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"(?<=\\\\b(module)\\\\b)\",\"end\":\"(?=[;{])\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"begin\":\"(?<=\\\\b(module))\",\"end\":\"(?=[():{])\",\"name\":\"constant.other.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"}]},{\"begin\":\"(?<=::)\",\"end\":\"(?=[;{\\\\s])\",\"name\":\"entity.name.type.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"}]}]},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.module_scope.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#annotation\"},{\"include\":\"#entry\"},{\"include\":\"#public-scope\"},{\"include\":\"#public\"},{\"include\":\"#native\"},{\"include\":\"#import\"},{\"include\":\"#friend\"},{\"include\":\"#const\"},{\"include\":\"#struct\"},{\"include\":\"#has_ability\"},{\"include\":\"#enum\"},{\"include\":\"#macro\"},{\"include\":\"#fun\"},{\"include\":\"#spec\"}]}]},\"module_access\":{\"captures\":{\"1\":{\"name\":\"meta.entity.name.type.accessed.module.move\"},\"2\":{\"name\":\"entity.name.function.call.move\"}},\"match\":\"\\\\b(\\\\w+)::(\\\\w+)\\\\b\",\"name\":\"meta.module_access.move\"},\"move_copy\":{\"match\":\"\\\\b(move|copy)\\\\b\",\"name\":\"variable.language.move\"},\"mut\":{\"match\":\"\\\\b(mut)\\\\b\",\"name\":\"storage.modifier.mut.move\"},\"native\":{\"match\":\"\\\\b(native)\\\\b\",\"name\":\"storage.modifier.visibility.native.move\"},\"packed_field\":{\"match\":\"[a-z][0-9_a-z]+\\\\s*:\\\\s*(?=\\\\s)\",\"name\":\"meta.struct.field.move\"},\"paren\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.paren.move\",\"patterns\":[{\"include\":\"#expr\"}]},\"path_access\":{\"match\":\"\\\\.[a-z][0-9_a-z]*\\\\b\",\"name\":\"meta.path.access.move\"},\"phantom\":{\"match\":\"\\\\b(phantom)\\\\b\",\"name\":\"keyword.control.phantom.move\"},\"primitives\":{\"match\":\"\\\\b(u8|u16|u32|u64|u128|u256|address|bool|signer)\\\\b\",\"name\":\"support.type.primitives.move\"},\"public\":{\"match\":\"\\\\b(public)\\\\b\",\"name\":\"storage.modifier.visibility.public.move\"},\"public-scope\":{\"begin\":\"(?<=\\\\b(public))\\\\s*\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.public.scoped.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(friend|script|package)\\\\b\",\"name\":\"keyword.control.public.scope.move\"}]},\"resource_methods\":{\"match\":\"\\\\b(borrow_global|borrow_global_mut|exists|move_from|move_to_sender|move_to)\\\\b\",\"name\":\"support.function.typed.move\"},\"script\":{\"begin\":\"\\\\b(script)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.script.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.script.move\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.script_scope.move\",\"patterns\":[{\"include\":\"#const\"},{\"include\":\"#comments\"},{\"include\":\"#import\"},{\"include\":\"#fun\"}]}]},\"self_access\":{\"captures\":{\"1\":{\"name\":\"variable.language.self.move\"},\"2\":{\"name\":\"entity.name.function.call.move\"}},\"match\":\"\\\\b(Self)::(\\\\w+)\\\\b\",\"name\":\"meta.self_access.move\"},\"spec\":{\"begin\":\"\\\\b(spec)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.spec.move\"}},\"end\":\"(?<=[;}])\",\"name\":\"meta.spec.move\",\"patterns\":[{\"match\":\"\\\\b(module|schema|struct|fun)\",\"name\":\"storage.modifier.spec.target.move\"},{\"match\":\"\\\\b(define)\",\"name\":\"storage.modifier.spec.define.move\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.function.move\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#spec_block\"},{\"include\":\"#spec_types\"},{\"include\":\"#spec_define\"},{\"include\":\"#spec_keywords\"},{\"include\":\"#control\"},{\"include\":\"#fun_call\"},{\"include\":\"#literals\"},{\"include\":\"#types\"},{\"include\":\"#let\"}]}]},\"spec_block\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.spec_block.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#spec_block\"},{\"include\":\"#spec_types\"},{\"include\":\"#fun_call\"},{\"include\":\"#literals\"},{\"include\":\"#control\"},{\"include\":\"#types\"},{\"include\":\"#let\"}]},\"spec_define\":{\"begin\":\"\\\\b(define)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.move.spec\"}},\"end\":\"(?=[;{])\",\"name\":\"meta.spec_define.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#spec_types\"},{\"include\":\"#types\"},{\"begin\":\"(?<=\\\\bdefine)\",\"end\":\"(?=\\\\()\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.function.move\"}]}]},\"spec_keywords\":{\"match\":\"\\\\b(global|pack|unpack|pragma|native|include|ensures|requires|invariant|apply|aborts_if|modifies)\\\\b\",\"name\":\"keyword.control.move.spec\"},\"spec_types\":{\"match\":\"\\\\b(range|num|vector|bool|u8|u16|u32|u64|u128|u256|address)\\\\b\",\"name\":\"support.type.vector.move\"},\"struct\":{\"begin\":\"\\\\b(struct)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\"(?<=[);}])\",\"name\":\"meta.struct.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#has\"},{\"include\":\"#abilities\"},{\"match\":\"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b\",\"name\":\"entity.name.type.struct.move\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.struct.paren.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]},{\"include\":\"#type_param\"},{\"begin\":\"\\\\(\",\"end\":\"(?<=\\\\))\",\"name\":\"meta.struct.paren.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#types\"}]},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.struct.body.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#self_access\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#module_access\"},{\"include\":\"#expr_generic\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]},{\"include\":\"#has_ability\"}]},\"struct_pack\":{\"begin\":\"(?<=[0-9>A-Z_a-z])\\\\s*\\\\{\",\"end\":\"}\",\"name\":\"meta.struct.pack.move\",\"patterns\":[{\"include\":\"#comments\"}]},\"type_param\":{\"begin\":\"<\",\"end\":\">\",\"name\":\"meta.generic_param.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#phantom\"},{\"include\":\"#capitalized\"},{\"include\":\"#module_access\"},{\"include\":\"#abilities\"}]},\"types\":{\"name\":\"meta.types.move\",\"patterns\":[{\"include\":\"#primitives\"},{\"include\":\"#vector\"}]},\"use_fun\":{\"begin\":\"\\\\b(fun)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.fun.move\"}},\"end\":\"(?=;)\",\"name\":\"meta.import.fun.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"keyword.control.as.move\"},{\"match\":\"\\\\b(Self)\\\\b\",\"name\":\"variable.language.self.use.fun.move\"},{\"match\":\"\\\\b(_______[a-z][0-9_a-z]+)\\\\b\",\"name\":\"entity.name.function.use.move\"},{\"include\":\"#types\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#capitalized\"}]},\"vector\":{\"match\":\"\\\\b(vector)\\\\b\",\"name\":\"support.type.vector.move\"}},\"scopeName\":\"source.move\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Move\",\"name\":\"move\",\"patterns\":[{\"include\":\"#address\"},{\"include\":\"#comments\"},{\"include\":\"#extend_module\"},{\"include\":\"#module\"},{\"include\":\"#script\"},{\"include\":\"#annotation\"},{\"include\":\"#entry\"},{\"include\":\"#public-scope\"},{\"include\":\"#public\"},{\"include\":\"#native\"},{\"include\":\"#import\"},{\"include\":\"#friend\"},{\"include\":\"#const\"},{\"include\":\"#struct\"},{\"include\":\"#has_ability\"},{\"include\":\"#enum\"},{\"include\":\"#macro\"},{\"include\":\"#fun\"},{\"include\":\"#spec\"}],\"repository\":{\"=== DEPRECATED_BELOW ===\":{},\"abilities\":{\"match\":\"\\\\b(store|key|drop|copy)\\\\b\",\"name\":\"support.type.ability.move\"},\"address\":{\"begin\":\"\\\\b(address)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.address.keyword.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.address_block.move\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"(?<=address)\",\"end\":\"(?=\\\\{)\",\"name\":\"meta.address.definition.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#address_literal\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.type.move\"}]},{\"include\":\"#module\"}]},\"address_literal\":{\"match\":\"\\\\b0x\\\\h+\\\\b\",\"name\":\"support.constant.address.base16.move\"},\"annotation\":{\"begin\":\"#\\\\[\",\"end\":\"]\",\"name\":\"support.constant.annotation.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(\\\\w+)\\\\s*(?==)\",\"name\":\"meta.annotation.name.move\"},{\"begin\":\"=\",\"end\":\"(?=[],])\",\"name\":\"meta.annotation.value.move\",\"patterns\":[{\"include\":\"#literals\"}]}]},\"as\":{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"keyword.control.as.move\"},\"as-import\":{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"meta.import.as.move\"},\"block\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.block.move\",\"patterns\":[{\"include\":\"#expr\"}]},\"block-comments\":{\"patterns\":[{\"begin\":\"/\\\\*[!*](?![*/])\",\"end\":\"\\\\*/\",\"name\":\"comment.block.documentation.move\"},{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.move\"}]},\"capitalized\":{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.use.move\"},\"comments\":{\"name\":\"meta.comments.move\",\"patterns\":[{\"include\":\"#doc-comments\"},{\"include\":\"#line-comments\"},{\"include\":\"#block-comments\"}]},\"const\":{\"begin\":\"\\\\b(const)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.const.move\"}},\"end\":\";\",\"name\":\"meta.const.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#primitives\"},{\"include\":\"#literals\"},{\"include\":\"#types\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_]+)\\\\b\",\"name\":\"constant.other.move\"},{\"include\":\"#error_const\"}]},\"control\":{\"match\":\"\\\\b(return|while|loop|if|else|break|continue|abort)\\\\b\",\"name\":\"keyword.control.move\"},\"doc-comments\":{\"begin\":\"///\",\"end\":\"$\",\"name\":\"comment.block.documentation.move\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"markup.underline.link.move\"}},\"match\":\"`(\\\\w+)`\"}]},\"entry\":{\"match\":\"\\\\b(entry)\\\\b\",\"name\":\"storage.modifier.visibility.entry.move\"},\"enum\":{\"begin\":\"\\\\b(enum)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.enum.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.enum.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#type_param\"},{\"match\":\"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b\",\"name\":\"entity.name.type.enum.move\"},{\"include\":\"#has\"},{\"include\":\"#abilities\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.enum.definition.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*\\\\()\",\"name\":\"entity.name.function.enum.move\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.enum.move\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.enum.tuple.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#expr_generic\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.enum.struct.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#expr_generic\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]}]}]},\"error_const\":{\"match\":\"\\\\b(E[A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.error.const.move\"},\"escaped_identifier\":{\"begin\":\"`\",\"end\":\"`\",\"name\":\"variable.language.escaped.move\"},\"expr\":{\"name\":\"meta.expression.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#expr_generic\"},{\"include\":\"#packed_field\"},{\"include\":\"#import\"},{\"include\":\"#as\"},{\"include\":\"#mut\"},{\"include\":\"#let\"},{\"include\":\"#types\"},{\"include\":\"#literals\"},{\"include\":\"#control\"},{\"include\":\"#move_copy\"},{\"include\":\"#self_access\"},{\"include\":\"#module_access\"},{\"include\":\"#label\"},{\"include\":\"#macro_call\"},{\"include\":\"#local_call\"},{\"include\":\"#method_call\"},{\"include\":\"#path_access\"},{\"include\":\"#match_expression\"},{\"match\":\"\\\\$(?=[a-z])\",\"name\":\"keyword.operator.macro.dollar.move\"},{\"match\":\"(?<=\\\\$)[a-z][0-9A-Z_a-z]*\",\"name\":\"variable.other.meta.move\"},{\"match\":\"\\\\b([A-Z][A-Z_]+)\\\\b\",\"name\":\"constant.other.move\"},{\"include\":\"#error_const\"},{\"match\":\"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.move\"},{\"include\":\"#paren\"},{\"include\":\"#block\"}]},\"expr_generic\":{\"begin\":\"<(?=([,0-9<>A-Z_a-z\\\\s]+>))\",\"end\":\">\",\"name\":\"meta.expression.generic.type.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#types\"},{\"include\":\"#capitalized\"},{\"include\":\"#expr_generic\"}]},\"extend_module\":{\"begin\":\"\\\\b(extend)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.extend.move\"}},\"end\":\"(?<=[;}])\",\"name\":\"meta.extend_module.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#module\"}]},\"friend\":{\"begin\":\"\\\\b(friend)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\";\",\"name\":\"meta.friend.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#address_literal\"},{\"match\":\"\\\\b([A-Za-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.module.move\"}]},\"fun\":{\"patterns\":[{\"include\":\"#fun_signature\"},{\"include\":\"#block\"}]},\"fun_body\":{\"begin\":\"\\\\{\",\"end\":\"(?<=})\",\"name\":\"meta.fun_body.move\",\"patterns\":[{\"include\":\"#expr\"}]},\"fun_call\":{\"begin\":\"\\\\b(\\\\w+)\\\\s*(?:<[,\\\\w\\\\s]+>)?\\\\s*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.call.move\"}},\"end\":\"\\\\)\",\"name\":\"meta.fun_call.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#self_access\"},{\"include\":\"#module_access\"},{\"include\":\"#move_copy\"},{\"include\":\"#literals\"},{\"include\":\"#fun_call\"},{\"include\":\"#block\"},{\"include\":\"#mut\"},{\"include\":\"#as\"}]},\"fun_signature\":{\"begin\":\"\\\\b(fun)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.fun.move\"}},\"end\":\"(?=[;{])\",\"name\":\"meta.fun_signature.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#module_access\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"},{\"include\":\"#mut\"},{\"begin\":\"(?<=\\\\bfun)\",\"end\":\"(?=[(<])\",\"name\":\"meta.function_name.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.function.move\"}]},{\"include\":\"#fun_type_param\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.parentheses.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#self_access\"},{\"include\":\"#expr_generic\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#module_access\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"},{\"include\":\"#mut\"}]},{\"match\":\"\\\\b(acquires)\\\\b\",\"name\":\"storage.modifier\"}]},\"fun_type_param\":{\"begin\":\"<\",\"end\":\">\",\"name\":\"meta.fun_generic_param.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#types\"},{\"include\":\"#phantom\"},{\"include\":\"#capitalized\"},{\"include\":\"#module_access\"},{\"include\":\"#abilities\"}]},\"has\":{\"match\":\"\\\\b(has)\\\\b\",\"name\":\"keyword.control.ability.has.move\"},\"has_ability\":{\"begin\":\"(?<=[)}])\\\\s+(has)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\";\",\"name\":\"meta.has.ability.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#abilities\"}]},\"ident\":{\"match\":\"\\\\b([A-Za-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"meta.identifier.move\"},\"import\":{\"begin\":\"\\\\b(use)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\";\",\"name\":\"meta.import.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#use_fun\"},{\"include\":\"#address_literal\"},{\"include\":\"#as-import\"},{\"match\":\"\\\\b([A-Z]\\\\w*)\\\\b\",\"name\":\"entity.name.type.move\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#as-import\"},{\"match\":\"\\\\b([A-Z]\\\\w*)\\\\b\",\"name\":\"entity.name.type.move\"}]},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"meta.entity.name.type.module.move\"}]},\"label\":{\"match\":\"'[a-z][0-9_a-z]*\",\"name\":\"string.quoted.single.label.move\"},\"let\":{\"match\":\"\\\\b(let)\\\\b\",\"name\":\"keyword.control.move\"},\"line-comments\":{\"begin\":\"//\",\"end\":\"$\",\"name\":\"comment.line.double-slash.move\"},\"literals\":{\"name\":\"meta.literal.move\",\"patterns\":[{\"match\":\"@[0-9][0-9_]*\",\"name\":\"support.constant.address.decimal.move\"},{\"match\":\"@0x\\\\h+\",\"name\":\"support.constant.address.base16.move\"},{\"match\":\"@[A-Za-z][0-9A-Z_a-z]*\",\"name\":\"support.constant.address.name.move\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.hex.move\"},\"2\":{\"name\":\"entity.name.type.integer.move\"}},\"match\":\"\\\\b(0x[_\\\\h]+)([iu](8|16|32|64|128|256))?\\\\b\",\"name\":\"meta.constant.numeric.hex.move\"},{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.move\"},\"2\":{\"name\":\"entity.name.type.integer.move\"}},\"match\":\"\\\\b([0-9][0-9_]*)([iu](8|16|32|64|128|256))?\\\\b\",\"name\":\"meta.constant.numeric.move\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"meta.string.literal.move\",\"patterns\":[{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.hex.move\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.move\"},{\"match\":\".\",\"name\":\"string.quoted.double.raw.move\"}]},{\"begin\":\"\\\\bb\\\"\",\"end\":\"\\\"\",\"name\":\"meta.vector.literal.ascii.move\",\"patterns\":[{\"match\":\"\\\\\\\\x\\\\h\\\\h\",\"name\":\"constant.character.escape.hex.move\"},{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.move\"},{\"match\":\".\",\"name\":\"string.quoted.double.raw.move\"}]},{\"begin\":\"x\\\"\",\"end\":\"\\\"\",\"name\":\"meta.vector.literal.hex.move\",\"patterns\":[{\"match\":\"\\\\h+\",\"name\":\"constant.character.move\"}]},{\"match\":\"\\\\b(?:true|false)\\\\b\",\"name\":\"constant.language.boolean.move\"},{\"begin\":\"\\\\b(vector)\\\\b\\\\[\",\"captures\":{\"1\":{\"name\":\"support.type.vector.move\"}},\"end\":\"]\",\"name\":\"meta.vector.literal.move\",\"patterns\":[{\"include\":\"#expr\"}]}]},\"local_call\":{\"match\":\"\\\\b([a-z][0-9_a-z]*)(?=[(<])\",\"name\":\"entity.name.function.call.local.move\"},\"macro\":{\"begin\":\"\\\\b(macro)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.macro.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.macro.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#fun\"}]},\"macro_call\":{\"captures\":{\"2\":{\"name\":\"support.function.macro.move\"},\"3\":{\"name\":\"support.function.operator.macro.move\"}},\"match\":\"(\\\\b|\\\\.)([a-z][0-9A-Z_a-z]*)(!)\",\"name\":\"meta.macro.call\"},\"match_expression\":{\"begin\":\"\\\\b(match)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.match.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.match.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#types\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.match.block.move\",\"patterns\":[{\"match\":\"=>\",\"name\":\"operator.match.move\"},{\"include\":\"#expr\"}]},{\"include\":\"#expr\"}]},\"method_call\":{\"captures\":{\"1\":{\"name\":\"entity.name.function.call.path.move\"}},\"match\":\"\\\\.([a-z][0-9_a-z]*)(?=[(<])\",\"name\":\"meta.path.call.move\"},\"module\":{\"begin\":\"\\\\b(module)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\"(?<=[;}])\",\"name\":\"meta.module.move\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"(?<=\\\\b(module)\\\\b)\",\"end\":\"(?=[;{])\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"begin\":\"(?<=\\\\b(module))\",\"end\":\"(?=[():{])\",\"name\":\"constant.other.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"}]},{\"begin\":\"(?<=::)\",\"end\":\"(?=[;{\\\\s])\",\"name\":\"entity.name.type.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"}]}]},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.module_scope.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#annotation\"},{\"include\":\"#entry\"},{\"include\":\"#public-scope\"},{\"include\":\"#public\"},{\"include\":\"#native\"},{\"include\":\"#import\"},{\"include\":\"#friend\"},{\"include\":\"#const\"},{\"include\":\"#struct\"},{\"include\":\"#has_ability\"},{\"include\":\"#enum\"},{\"include\":\"#macro\"},{\"include\":\"#fun\"},{\"include\":\"#spec\"}]}]},\"module_access\":{\"captures\":{\"1\":{\"name\":\"meta.entity.name.type.accessed.module.move\"},\"2\":{\"name\":\"entity.name.function.call.move\"}},\"match\":\"\\\\b(\\\\w+)::(\\\\w+)\\\\b\",\"name\":\"meta.module_access.move\"},\"move_copy\":{\"match\":\"\\\\b(move|copy)\\\\b\",\"name\":\"variable.language.move\"},\"mut\":{\"match\":\"\\\\b(mut)\\\\b\",\"name\":\"storage.modifier.mut.move\"},\"native\":{\"match\":\"\\\\b(native)\\\\b\",\"name\":\"storage.modifier.visibility.native.move\"},\"packed_field\":{\"match\":\"[a-z][0-9_a-z]+\\\\s*:\\\\s*(?=\\\\s)\",\"name\":\"meta.struct.field.move\"},\"paren\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.paren.move\",\"patterns\":[{\"include\":\"#expr\"}]},\"path_access\":{\"match\":\"\\\\.[a-z][0-9_a-z]*\\\\b\",\"name\":\"meta.path.access.move\"},\"phantom\":{\"match\":\"\\\\b(phantom)\\\\b\",\"name\":\"keyword.control.phantom.move\"},\"primitives\":{\"match\":\"\\\\b([iu](8|16|32|64|128|256)|address|bool|signer)\\\\b\",\"name\":\"support.type.primitives.move\"},\"public\":{\"match\":\"\\\\b(public)\\\\b\",\"name\":\"storage.modifier.visibility.public.move\"},\"public-scope\":{\"begin\":\"(?<=\\\\b(public))\\\\s*\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.public.scoped.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(friend|script|package)\\\\b\",\"name\":\"keyword.control.public.scope.move\"}]},\"resource_methods\":{\"match\":\"\\\\b(borrow_global|borrow_global_mut|exists|move_from|move_to_sender|move_to)\\\\b\",\"name\":\"support.function.typed.move\"},\"script\":{\"begin\":\"\\\\b(script)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.script.move\"}},\"end\":\"(?<=})\",\"name\":\"meta.script.move\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.script_scope.move\",\"patterns\":[{\"include\":\"#const\"},{\"include\":\"#comments\"},{\"include\":\"#import\"},{\"include\":\"#fun\"}]}]},\"self_access\":{\"captures\":{\"1\":{\"name\":\"variable.language.self.move\"},\"2\":{\"name\":\"entity.name.function.call.move\"}},\"match\":\"\\\\b(Self)::(\\\\w+)\\\\b\",\"name\":\"meta.self_access.move\"},\"spec\":{\"begin\":\"\\\\b(spec)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.spec.move\"}},\"end\":\"(?<=[;}])\",\"name\":\"meta.spec.move\",\"patterns\":[{\"match\":\"\\\\b(module|schema|struct|fun)\",\"name\":\"storage.modifier.spec.target.move\"},{\"match\":\"\\\\b(define)\",\"name\":\"storage.modifier.spec.define.move\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.function.move\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#spec_block\"},{\"include\":\"#spec_types\"},{\"include\":\"#spec_define\"},{\"include\":\"#spec_keywords\"},{\"include\":\"#control\"},{\"include\":\"#fun_call\"},{\"include\":\"#literals\"},{\"include\":\"#types\"},{\"include\":\"#let\"}]}]},\"spec_block\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.spec_block.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#spec_block\"},{\"include\":\"#spec_types\"},{\"include\":\"#fun_call\"},{\"include\":\"#literals\"},{\"include\":\"#control\"},{\"include\":\"#types\"},{\"include\":\"#let\"}]},\"spec_define\":{\"begin\":\"\\\\b(define)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.move.spec\"}},\"end\":\"(?=[;{])\",\"name\":\"meta.spec_define.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#spec_types\"},{\"include\":\"#types\"},{\"begin\":\"(?<=\\\\bdefine)\",\"end\":\"(?=\\\\()\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.function.move\"}]}]},\"spec_keywords\":{\"match\":\"\\\\b(global|pack|unpack|pragma|native|include|ensures|requires|invariant|apply|aborts_if|modifies)\\\\b\",\"name\":\"keyword.control.move.spec\"},\"spec_types\":{\"match\":\"\\\\b(range|num|vector|bool|u8|u16|u32|u64|u128|u256|address)\\\\b\",\"name\":\"support.type.vector.move\"},\"struct\":{\"begin\":\"\\\\b(struct)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.type.move\"}},\"end\":\"(?<=[);}])\",\"name\":\"meta.struct.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#has\"},{\"include\":\"#abilities\"},{\"match\":\"\\\\b[A-Z][0-9A-Z_a-z]*\\\\b\",\"name\":\"entity.name.type.struct.move\"},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"name\":\"meta.struct.paren.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]},{\"include\":\"#type_param\"},{\"begin\":\"\\\\(\",\"end\":\"(?<=\\\\))\",\"name\":\"meta.struct.paren.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#types\"}]},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.struct.body.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#self_access\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#module_access\"},{\"include\":\"#expr_generic\"},{\"include\":\"#capitalized\"},{\"include\":\"#types\"}]},{\"include\":\"#has_ability\"}]},\"struct_pack\":{\"begin\":\"(?<=[0-9>A-Z_a-z])\\\\s*\\\\{\",\"end\":\"}\",\"name\":\"meta.struct.pack.move\",\"patterns\":[{\"include\":\"#comments\"}]},\"type_param\":{\"begin\":\"<\",\"end\":\">\",\"name\":\"meta.generic_param.move\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#phantom\"},{\"include\":\"#capitalized\"},{\"include\":\"#module_access\"},{\"include\":\"#abilities\"}]},\"types\":{\"name\":\"meta.types.move\",\"patterns\":[{\"include\":\"#primitives\"},{\"include\":\"#vector\"}]},\"use_fun\":{\"begin\":\"\\\\b(fun)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.fun.move\"}},\"end\":\"(?=;)\",\"name\":\"meta.import.fun.move\",\"patterns\":[{\"include\":\"#comments\"},{\"match\":\"\\\\b(as)\\\\b\",\"name\":\"keyword.control.as.move\"},{\"match\":\"\\\\b(Self)\\\\b\",\"name\":\"variable.language.self.use.fun.move\"},{\"match\":\"\\\\b([a-z][0-9_a-z]*)\\\\b\",\"name\":\"meta.entity.name.function.use.move\"},{\"include\":\"#types\"},{\"include\":\"#escaped_identifier\"},{\"include\":\"#capitalized\"}]},\"vector\":{\"match\":\"\\\\b(vector)\\\\b\",\"name\":\"support.type.vector.move\"}},\"scopeName\":\"source.move\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"NSIS\",\"fileTypes\":[\"nsi\",\"nsh\",\"bnsi\",\"bnsh\",\"nsdinc\"],\"name\":\"nsis\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.nsis\"},\"2\":{\"name\":\"entity.name.function.nsis\"}},\"match\":\"^\\\\s*(?i)(Function)\\\\s+(\\\\.?\\\\w+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.nsis\"},\"2\":{\"name\":\"entity.name.function.macro.nsis\"}},\"match\":\"^\\\\s*(?i)(!macro)\\\\s+(\\\\w+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.nsis\"},\"2\":{\"name\":\"entity.name.constant.define.nsis\"}},\"match\":\"^\\\\s*(?i)(!define)\\\\s+(?:/\\\\w+\\\\s+)*(\\\\w+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.nsis\"},\"2\":{\"name\":\"entity.name.variable.nsis\"}},\"match\":\"^\\\\s*(?i)(Var)\\\\s+(?:/GLOBAL\\\\s+)?\\\"?(\\\\w+)\\\"?\"},{\"captures\":{\"1\":{\"name\":\"keyword.nsis\"},\"2\":{\"name\":\"string.quoted.double.nsis\"},\"3\":{\"name\":\"string.quoted.single.nsis\"},\"4\":{\"name\":\"string.quoted.back.nsis\"},\"5\":{\"name\":\"entity.name.section.nsis\"}},\"match\":\"^\\\\s*(?i)(Section(?:Group)?)\\\\s+(?:/[eo]\\\\s+)?(?:(\\\"[^\\\"]*\\\")|('[^']*')|(`[^`]*`))\\\\s+(\\\\w+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.nsis\"},\"2\":{\"name\":\"entity.name.section.nsis string.quoted.double.nsis\"},\"3\":{\"name\":\"entity.name.section.nsis string.quoted.single.nsis\"},\"4\":{\"name\":\"entity.name.section.nsis string.quoted.back.nsis\"},\"5\":{\"name\":\"entity.name.section.nsis\"}},\"match\":\"^\\\\s*(?i)(Section(?:Group)?)\\\\s+(?:/[eo]\\\\s+)?(?:\\\"([^\\\"]+)\\\"|'([^']+)'|`([^`]+)`|([-.\\\\w]+))\\\\s*$\"},{\"match\":\"^\\\\s*(?i)(Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CPU|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|Function(End)?|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetRegView|GetShellVarContext|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfAltRegView|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64CmpU??|Int64Fmt|IntCmpU??|IntFmt|IntOp|IntPtrCmpU??|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestAppendCustomString|ManifestDisableWindowFiltering|ManifestDPIAware|ManifestGdiScaling|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PageEx(End)?|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadMemory|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|Section(End)?|SectionGroup(End)?|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressionLevel|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmpS??|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|UnsafeStrCpy|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\\\\b\",\"name\":\"keyword.nsis\"},{\"match\":\"^\\\\s*(?i)(CompareDLLVersions|CompareFileTimes|DirShow|DisabledBitmap|EnabledBitmap|GetFullDLLPath|GetParent|GetWinampInstPath|LangStringUP|PackEXEHeader|SectionDivider|SetPluginUnload|SubSection(End)?|UninstallExeName)\\\\b\",\"name\":\"invalid.deprecated.nsis\"},{\"match\":\"^\\\\s*(?i)!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning)\\\\b\",\"name\":\"keyword.other.nsis\"},{\"match\":\"^\\\\s*(?i)!(ifdef|ifndef|if|ifmacrodef|ifmacrondef|else|endif)\\\\b\",\"name\":\"keyword.control.nsis\"},{\"match\":\"^\\\\s*(?i)\\\\w+::\\\\w+\",\"name\":\"support.class.nsis\"},{\"match\":\"[!<>]?=|<>|[<>]\",\"name\":\"keyword.operator.comparison.nsis\"},{\"match\":\"\\\\b(?i)(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\\\\b\",\"name\":\"entity.other.attribute-name.nsis\"},{\"match\":\"\\\\b(?i)(true|on)\\\\b\",\"name\":\"constant.language.boolean.true.nsis\"},{\"match\":\"\\\\b(?i)(false|off)\\\\b\",\"name\":\"constant.language.boolean.false.nsis\"},{\"match\":\"\\\\b(?i)((un\\\\.)?components|(un\\\\.)?custom|(un\\\\.)?directory|(un\\\\.)?instfiles|(un\\\\.)?license|uninstConfirm|admin|all|amd64-unicode|auto|both|bottom|bzip2|current|force|hide|highest|ifdiff|ifnewer|lastused|leave|left|listonly|lzma|nevershow|none|normal|notset|right|show|silent|silentlog|textonly|top|try|user|Win10|Win7|Win8|WinVista|x86-(ansi|unicode)|zlib)\\\\b\",\"name\":\"entity.other.attribute-name.nsis\"},{\"match\":\"\\\\s+/(?i)(BRANDING|CENTER|COMPONENTSONLYONCUSTOM|CUSTOMSTRING=|ENABLECANCEL|EXERESOURCE|FILESONLY|FINAL|GLOBAL|IMGID=|ITALIC|LANG=|NOCUSTOM|NONFATAL|OVERWRITE|REBOOTOK|REPLACE|RESIZETOFIT|SHORT|SILENT|SOLID|STRIKE|STRINGID|TRIM|UNDERLINE|a|date|e|file|gray|ifempty|ifndef|ignorecase|noerrors|nonfatal|o|oname=|r|redef|utcdate|windows|x)\\\\b\",\"name\":\"constant.language.slash-option.nsis\"},{\"match\":\"\\\\b((0([Xx])\\\\h+)|([0-9]+(\\\\.[0-9]+)?))\\\\b\",\"name\":\"constant.numeric.nsis\"},{\"match\":\"(?i)\\\\$\\\\{(BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|OptionsS??|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"(?i)\\\\$\\\\{(And(If(Not)?|Unless)|Break|Case([2-5]|Else)?|Continue|Default|Do(Until|While)?|Else(If(Not)?|Unless)?|End(If|Select|Switch)|Exit(Do|For|While)|For(Each)?|If(Cmd|Not(Then)?|Then)?|Loop(Until|While)?|Next|Or(If(Not)?|Unless)|Select|Switch|Unless|While)}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"(?i)\\\\$\\\\{(Memento(Section(Done|End|Restore|Save)?|UnselectedSection))}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"(?i)\\\\$\\\\{(Config(ReadS??|WriteS??)|File(Join|ReadFromEnd|Recode)|Line(Find|Read|Sum)|Text(CompareS??)|TrimNewLines)}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"(?i)\\\\$\\\\{((At(Least|Most)|Is)(ServicePack|Win(7|8\\\\.1|8|10|11|95|98|20(00|03|08(R2)?|12(R2)?)|ME|NT4|Vista|XP))|Is(NT|Server))}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"(?i)\\\\$\\\\{(StrFilterS?|Version(Co(?:mpare|nvert))|Word(AddS?|Find(([23])X)?S?|InsertS?|ReplaceS?))}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"(?i)\\\\$\\\\{(((?:Dis|En)able)X64FSRedirection|RunningX64)}(?=\\\\s|$)\",\"name\":\"constant.language.nsis\"},{\"match\":\"\\\\$\\\\{[-!.:^\\\\w]+}\",\"name\":\"constant.other.nsis\"},{\"match\":\"\\\\$\\\\([-!.:^\\\\w]+\\\\)\",\"name\":\"constant.other.nsis\"},{\"match\":\"(?i)\\\\$(\\\\{__DATE__}|\\\\{__FILE__}|\\\\{__FILEDIR__}|\\\\{__LINE__}|\\\\{__TIME__}|\\\\{__TIMESTAMP__}|ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|NSIS_MAX_STRLEN|NSIS_VERSION|NSISDIR|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES(32|64)?|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)\\\\b\",\"name\":\"variable.language.nsis\"},{\"match\":\"\\\\$\\\\w[.\\\\w]*\",\"name\":\"variable.other.nsis\"},{\"match\":\"\\\\\\\\(?=\\\\n)\",\"name\":\"constant.character.escape.line-continuation.nsis\"},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nsis\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nsis\"}},\"name\":\"string.quoted.double.nsis\",\"patterns\":[{\"match\":\"\\\\${2}\\\\w*\",\"name\":\"constant.character.escape.nsis\"},{\"match\":\"\\\\$\\\\\\\\.\",\"name\":\"constant.character.escape.nsis\"},{\"match\":\"\\\\$\\\\{[-!.:^\\\\w]+}\",\"name\":\"constant.other.nsis\"},{\"match\":\"\\\\$\\\\([-!.:^\\\\w]+\\\\)\",\"name\":\"constant.other.nsis\"},{\"match\":\"(?i)\\\\$(\\\\{__DATE__}|\\\\{__FILE__}|\\\\{__FILEDIR__}|\\\\{__LINE__}|\\\\{__TIME__}|\\\\{__TIMESTAMP__}|ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|NSIS_MAX_STRLEN|NSIS_VERSION|NSISDIR|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES(32|64)?|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)\\\\b\",\"name\":\"variable.language.nsis\"},{\"match\":\"\\\\$\\\\w[.\\\\w]*\",\"name\":\"variable.other.nsis\"}]},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nsis\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nsis\"}},\"name\":\"string.quoted.single.nsis\",\"patterns\":[{\"match\":\"\\\\${2}\\\\w*\",\"name\":\"constant.character.escape.nsis\"},{\"match\":\"\\\\$\\\\\\\\.\",\"name\":\"constant.character.escape.nsis\"},{\"match\":\"\\\\$\\\\{[-!.:^\\\\w]+}\",\"name\":\"constant.other.nsis\"},{\"match\":\"\\\\$\\\\([-!.:^\\\\w]+\\\\)\",\"name\":\"constant.other.nsis\"},{\"match\":\"(?i)\\\\$(\\\\{__DATE__}|\\\\{__FILE__}|\\\\{__FILEDIR__}|\\\\{__LINE__}|\\\\{__TIME__}|\\\\{__TIMESTAMP__}|ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|NSIS_MAX_STRLEN|NSIS_VERSION|NSISDIR|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES(32|64)?|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)\\\\b\",\"name\":\"variable.language.nsis\"},{\"match\":\"\\\\$\\\\w[.\\\\w]*\",\"name\":\"variable.other.nsis\"}]},{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nsis\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nsis\"}},\"name\":\"string.quoted.back.nsis\",\"patterns\":[{\"match\":\"\\\\${2}\\\\w*\",\"name\":\"constant.character.escape.nsis\"},{\"match\":\"\\\\$\\\\\\\\.\",\"name\":\"constant.character.escape.nsis\"},{\"match\":\"\\\\$\\\\{[-!.:^\\\\w]+}\",\"name\":\"constant.other.nsis\"},{\"match\":\"\\\\$\\\\([-!.:^\\\\w]+\\\\)\",\"name\":\"constant.other.nsis\"},{\"match\":\"(?i)\\\\$(\\\\{__DATE__}|\\\\{__FILE__}|\\\\{__FILEDIR__}|\\\\{__LINE__}|\\\\{__TIME__}|\\\\{__TIMESTAMP__}|ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|NSIS_MAX_STRLEN|NSIS_VERSION|NSISDIR|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES(32|64)?|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)\\\\b\",\"name\":\"variable.language.nsis\"},{\"match\":\"\\\\$\\\\w[.\\\\w]*\",\"name\":\"variable.other.nsis\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.nsis\"}},\"match\":\"([#;]).*$\\\\n?\",\"name\":\"comment.line.nsis\"},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.nsis\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block.nsis\"}],\"scopeName\":\"source.nsis\"}"))
|
|
2
|
+
|
|
3
|
+
export default [
|
|
4
|
+
lang
|
|
5
|
+
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"nushell\",\"name\":\"nushell\",\"patterns\":[{\"include\":\"#define-variable\"},{\"include\":\"#define-alias\"},{\"include\":\"#function\"},{\"include\":\"#extern\"},{\"include\":\"#module\"},{\"include\":\"#use-module\"},{\"include\":\"#expression\"},{\"include\":\"#comment\"}],\"repository\":{\"binary\":{\"begin\":\"\\\\b(0x)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.nushell\"},\"2\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"name\":\"constant.binary.nushell\",\"patterns\":[{\"match\":\"\\\\h{2}\",\"name\":\"constant.numeric.nushell\"}]},\"braced-expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.block.begin.bracket.curly.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.bracket.curly.nushell\"}},\"name\":\"meta.expression.braced.nushell\",\"patterns\":[{\"begin\":\"(?<=\\\\{)\\\\s*\\\\|\",\"end\":\"\\\\|\",\"name\":\"meta.closure.parameters.nushell\",\"patterns\":[{\"include\":\"#function-parameter\"}]},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\\w+)\\\\s*(:)\\\\s*\"},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\",\"patterns\":[{\"include\":\"#paren-expression\"}]},\"3\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\\$\\\"((?:[^\\\"\\\\\\\\]|\\\\\\\\.)*)\\\")\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\",\"patterns\":[{\"include\":\"#paren-expression\"}]},\"3\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\\$'([^']*)')\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"('[^']*')\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"include\":\"#spread\"},{\"include\":\"source.nushell\"}]},\"command\":{\"begin\":\"(?<!\\\\w)(?:(\\\\^)|(?![$0-9]))([!.\\\\w]+(?: (?!-)[-!.\\\\w]+(?:(?=[ )])|$)|[-!.\\\\w]+)*|(?<=\\\\^)\\\\$?(?:\\\"[^\\\"]+\\\"|'[^']+'))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#control-keywords\"},{\"captures\":{\"0\":{\"name\":\"keyword.other.builtin.nushell\"}},\"match\":\"(?:ansi|char) \\\\w+\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.builtin.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#value\"}]}},\"match\":\"(a(?:l(?:ias|l)|n(?:si(?: (?:gradient|link|strip))?|y)|ppend|st|ttr(?: (?:category|deprecated|example|search-terms))?)|b(?:its(?: (?:and|not|or|ro[lr]|sh[lr]|xor))?|reak|ytes(?: (?:a(?:dd|t)|build|collect|ends-with|index-of|length|re(?:move|place|verse)|s(?:plit|tarts-with)))?)|c(?:al|d|h(?:ar|unk(?:-by|s))|lear|o(?:l(?:lect|umns)|m(?:mandline(?: (?:edit|get-cursor|set-cursor))?|p(?:act|lete))|n(?:fig(?: (?:env|flatten|nu|reset|use-colors))?|st|tinue))|p)|d(?:ate(?: (?:f(?:ormat|rom-human)|humanize|list-timezone|now|to-timezone))?|e(?:bug(?: (?:e(?:nv|xperimental-options)|info|profile))?|code(?: (?:base(?:32(?:hex)?|64)|hex))?|f(?:ault)?|scribe|tect(?: columns)?)|o|rop(?: (?:column|nth))?|t(?: (?:add|diff|format|now|part|to|utcnow))?|u)|e(?:ach(?: while)?|cho|moji|n(?:code(?: (?:base(?:32(?:hex)?|64)|hex))?|umerate)|rror(?: make)?|very|x(?:ec|it|p(?:l(?:ain|ore)|ort(?: (?:alias|const|def|extern|module|use)|-env)?)|tern))|f(?:i(?:l(?:[el]|ter)|nd|rst)|latten|or(?:mat(?: (?:bits|d(?:ate|uration)|filesize|number|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|msgpackz?|nuon|ods|p(?:arquet|list)|ssv|t(?:oml|sv)|url|vcf|x(?:lsx|ml)|ya?ml))?)|g(?:e(?:nerate|t)|lob|r(?:id|oup-by)|stat)|h(?:ash(?: (?:md5|sha256))?|e(?:aders|lp(?: (?:aliases|commands|e(?:scapes|xterns)|modules|operators|pipe-and-redirect))?)|i(?:de(?:-env)?|sto(?:gram|ry(?: (?:import|session))?))|ttp(?: (?:delete|get|head|options|p(?:atch|ost|ut)))?)|i(?:f|gnore|n(?:c|put(?: list(?:en)?)?|s(?:ert|pect)|t(?:erleave|o(?: (?:b(?:inary|ool)|cell-path|d(?:atetime|uration)|f(?:ilesize|loat)|glob|int|record|s(?:qlite|tring)|value))?))|s-(?:admin|empty|not-empty|terminal)|tems)|j(?:o(?:b(?: (?:flush|id|kill|list|recv|s(?:end|pawn)|tag|unfreeze))?|in)|son path|walk)|k(?:eybindings(?: (?:default|list(?:en)?))?|ill)|l(?:ast|e(?:ngth|t(?:-env)?)|ines|o(?:ad-env|op)|s)|m(?:at(?:ch|h(?: (?:a(?:bs|rc(?:cosh?|sinh?|tanh?)|vg)|c(?:eil|osh?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:inh?|qrt|tddev|um)|tanh?|variance))?)|e(?:rge(?: deep)?|tadata(?: (?:access|set))?)|k(?:dir|temp)|o(?:dule|ve)|ut|v)|nu-(?:check|highlight)|o(?:pen|verlay(?: (?:hide|list|new|use))?)|p(?:a(?:nic|r(?:-each|se)|th(?: (?:basename|dirname|ex(?:ists|pand)|join|parse|relative-to|s(?:elf|plit)|type))?)|lugin(?: (?:add|list|rm|stop|use))?|o(?:lars(?: (?:a(?:gg(?:-groups)?|ll-(?:false|true)|ppend|rg-(?:m(?:ax|in)|sort|true|unique|where)|s(?:-date(?:time)?)?)|c(?:a(?:che|st)|o(?:l(?:lect|umns)?|n(?:cat(?:-str)?|tains|vert-time-zone)|unt(?:-null)?)|u(?:mulative|t))|d(?:atepart|ecimal|rop(?:-(?:duplicates|nulls))?|ummies)|exp(?:lode|r-not)|f(?:etch|i(?:l(?:l-n(?:an|ull)|ter(?:-with)?)|rst)|latten)|g(?:et(?:-(?:day|hour|m(?:inute|onth)|nanosecond|ordinal|second|week(?:day)?|year))?|roup-by)|horizontal|i(?:mplode|nt(?:eger|o-(?:d(?:f|type)|lazy|nu|repr|schema))|s-(?:duplicated|in|n(?:ot-n|)ull|unique))|join(?:-where)?|l(?:ast|en|i(?:st-contains|t)|owercase)|m(?:a(?:th|x)|e(?:an|dian)|in)|n(?:-unique|ot)|o(?:pen|therwise|ver)|p(?:ivot|rofile)|q(?:cut|u(?:antile|ery))|r(?:e(?:name|place(?:-time-zone)?|verse)|olling)|s(?:a(?:mple|ve)|chema|e(?:lect|t(?:-with-idx)?)|h(?:ape|ift)|lice|ort-by|t(?:d|ore-(?:get|ls|rm)|r(?:-(?:join|lengths|replace(?:-all)?|s(?:lice|plit|trip-chars))|ftime|uct-json-encode))|um(?:mary)?)|t(?:ake|runcate)|u(?:n(?:ique|nest|pivot)|ppercase)|va(?:lue-counts|r)|w(?:hen|ith-column)))?|rt)|r(?:epend|int)|s)|query(?: (?:db|git|json|web(?:page-info)?|xml))?|r(?:andom(?: (?:b(?:inary|ool)|chars|dice|float|int|uuid))?|e(?:duce|g(?:ex|istry(?: query)?)|ject|name|turn|verse)|m|o(?:ll(?: (?:down|left|right|up))?|tate)|un-(?:ex|in)ternal)|s(?:ave|c(?:hema|ope(?: (?:aliases|commands|e(?:ngine-stats|xterns)|modules|variables))?)|e(?:lect|q(?: (?:char|date))?)|huffle|kip(?: (?:until|while))?|l(?:eep|ice)|o(?:rt(?:-by)?|urce(?:-env)?)|plit(?: (?:c(?:ell-path|hars|olumn)|list|row|words))?|t(?:art|or(?: (?:create|delete|export|i(?:mport|nsert)|open|reset|update))?|r(?: (?:c(?:a(?:mel-case|pitalize)|o(?:mpress|ntains))|d(?:e(?:compress|dent|unicode)|istance|owncase)|e(?:nds-with|xpand)|inde(?:nt|x-of)|join|kebab-case|length|pascal-case|re(?:place|verse)|s(?:creaming-snake-case|hl-(?:quote|split)|imilarity|lug|nake-case|ta(?:rts-with|ts)|ubstring)|t(?:itle-case|rim)|upcase|wrap)|ess_internals)?)|ys(?: (?:cpu|disks|host|mem|net|temp|users))?)|t(?:a(?:ble|ke(?: (?:until|while))?)|e(?:e|rm(?: (?:query|size))?)|imeit|o(?: (?:csv|html|json|m(?:d|sgpackz?)|nuon|p(?:arquet|list)|t(?:ext|oml|sv)|xml|ya?ml)|uch)?|r(?:anspose|y)|utor)|u(?:limit|n(?:ame|iq(?:-by)?)|p(?:date(?: cells)?|sert)|rl(?: (?:build-query|decode|encode|join|parse|split-query))?|se)|v(?:alues|ersion(?: check)?|iew(?: (?:blocks|files|ir|s(?:ource|pan)))?)|w(?:atch|h(?:ere|i(?:ch|le)|oami)|i(?:ndow|th-env)|rap)|zip)(?![-\\\\w])( (.*))?\"},{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#paren-expression\"}]}},\"match\":\"(?<=\\\\^)(?:\\\\$(\\\"[^\\\"]+\\\"|'[^']+')|\\\"[^\\\"]+\\\"|'[^']+')\",\"name\":\"entity.name.type.external.nushell\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.external.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#value\"}]}},\"match\":\"([.\\\\w]+(?:-[!.\\\\w]+)*)(?: (.*))?\"},{\"include\":\"#value\"}]}},\"end\":\"(?=[);|}])|$\",\"name\":\"meta.command.nushell\",\"patterns\":[{\"include\":\"#parameters\"},{\"include\":\"#spread\"},{\"include\":\"#value\"}]},\"comment\":{\"match\":\"(#.*)$\",\"name\":\"comment.nushell\"},\"constant-keywords\":{\"match\":\"\\\\b(?:true|false|null)\\\\b\",\"name\":\"constant.language.nushell\"},\"constant-value\":{\"patterns\":[{\"include\":\"#constant-keywords\"},{\"include\":\"#datetime\"},{\"include\":\"#numbers\"},{\"include\":\"#numbers-hexa\"},{\"include\":\"#numbers-octal\"},{\"include\":\"#numbers-binary\"},{\"include\":\"#binary\"}]},\"control-keywords\":{\"match\":\"(?<![\\\\--:A-Z\\\\\\\\_a-z])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![\\\\--:A-Z\\\\\\\\_a-z])\",\"name\":\"keyword.control.nushell\"},\"datetime\":{\"match\":\"\\\\b\\\\d{4}-\\\\d{2}-\\\\d{2}(?:T\\\\d{2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d+)?(?:\\\\+\\\\d{2}:?\\\\d{2}|Z)?)?\\\\b\",\"name\":\"constant.numeric.nushell\"},\"define-alias\":{\"captures\":{\"1\":{\"name\":\"storage.type.alias.nushell\"},\"2\":{\"name\":\"entity.name.function.nushell\"},\"3\":{\"patterns\":[{\"include\":\"#operators\"}]}},\"match\":\"((?:export )?alias)\\\\s+([-!\\\\w]+)\\\\s*(=)\"},\"define-variable\":{\"captures\":{\"1\":{\"name\":\"keyword.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\"},\"3\":{\"patterns\":[{\"include\":\"#operators\"}]}},\"match\":\"(let|mut|(?:export\\\\s+)?const)\\\\s+(\\\\w+)\\\\s+(=)\"},\"expression\":{\"patterns\":[{\"include\":\"#pre-command\"},{\"include\":\"#for-loop\"},{\"include\":\"#operators\"},{\"match\":\"\\\\|\",\"name\":\"keyword.control.nushell\"},{\"include\":\"#control-keywords\"},{\"include\":\"#constant-value\"},{\"include\":\"#string-raw\"},{\"include\":\"#command\"},{\"include\":\"#value\"}]},\"extern\":{\"begin\":\"((?:export\\\\s+)?extern)\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.nushell\"},\"2\":{\"name\":\"entity.name.function.nushell\"}},\"end\":\"(?<=])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.function.end.nushell\"}},\"patterns\":[{\"include\":\"#function-parameters\"}]},\"for-loop\":{\"begin\":\"(for)\\\\s+(\\\\$?\\\\w+)\\\\s+(in)\\\\s+(.+)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\"},\"3\":{\"name\":\"keyword.other.nushell\"},\"4\":{\"patterns\":[{\"include\":\"#value\"}]},\"5\":{\"name\":\"punctuation.section.block.begin.bracket.curly.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.bracket.curly.nushell\"}},\"name\":\"meta.for-loop.nushell\",\"patterns\":[{\"include\":\"source.nushell\"}]},\"function\":{\"begin\":\"((?:export\\\\s+)?def)(?:\\\\s+(--\\\\w+(?:\\\\s+--\\\\w+)*))?\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|`[- \\\\w]+`)(?:\\\\s+(--\\\\w+(?:\\\\s+--\\\\w+)*))?\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.nushell\"},\"2\":{\"name\":\"storage.modifier.nushell\"},\"3\":{\"name\":\"entity.name.function.nushell\"},\"4\":{\"name\":\"storage.modifier.nushell\"}},\"end\":\"(?<=})\",\"patterns\":[{\"include\":\"#function-parameters\"},{\"include\":\"#function-body\"},{\"include\":\"#function-inout\"}]},\"function-body\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.function.begin.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.function.end.nushell\"}},\"name\":\"meta.function.body.nushell\",\"patterns\":[{\"include\":\"source.nushell\"}]},\"function-inout\":{\"patterns\":[{\"include\":\"#types\"},{\"match\":\"->\",\"name\":\"keyword.operator.nushell\"},{\"include\":\"#function-multiple-inout\"}]},\"function-multiple-inout\":{\"begin\":\"(?<=]\\\\s*)(:)\\\\s+(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.in-out.nushell\"},\"2\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.end.nushell\"}},\"patterns\":[{\"include\":\"#types\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.nushell\"}},\"match\":\"\\\\s*(,)\\\\s*\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.nushell\"}},\"match\":\"\\\\s+(->)\\\\s+\"}]},\"function-parameter\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(-{0,2}|\\\\.{3})[-\\\\w]+(?:\\\\((-[?\\\\w])\\\\))?\",\"name\":\"variable.parameter.nushell\"},{\"begin\":\"\\\\??:\\\\s*\",\"end\":\"(?=\\\\s+(?:-{0,2}|\\\\.{3})[-\\\\w]+|\\\\s*(?:[]#,=@|]|$))\",\"patterns\":[{\"include\":\"#types\"}]},{\"begin\":\"@(?=[\\\"'])\",\"end\":\"(?<=[\\\"'])\",\"patterns\":[{\"include\":\"#string\"}]},{\"begin\":\"=\\\\s*\",\"end\":\"(?=\\\\s+-{0,2}[-\\\\w]+|\\\\s*(?:[]#,|]|$))\",\"name\":\"default.value.nushell\",\"patterns\":[{\"include\":\"#value\"}]}]},\"function-parameters\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.end.nushell\"}},\"name\":\"meta.function.parameters.nushell\",\"patterns\":[{\"include\":\"#function-parameter\"},{\"include\":\"#comment\"}]},\"internal-variables\":{\"match\":\"\\\\$(?:nu|env)\\\\b\",\"name\":\"variable.language.nushell\"},\"keyword\":{\"match\":\"def(?:-env)?\",\"name\":\"keyword.other.nushell\"},\"module\":{\"begin\":\"((?:export\\\\s+)?module)\\\\s+([-\\\\w]+)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.module.nushell\"},\"2\":{\"name\":\"entity.name.namespace.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.module.end.nushell\"}},\"name\":\"meta.module.nushell\",\"patterns\":[{\"include\":\"source.nushell\"}]},\"numbers\":{\"match\":\"(?<![-\\\\w])_*+[-+]?_*+(?:(?i:NaN|infinity|inf)_*+|(?:\\\\d[_\\\\d]*+\\\\.?|\\\\._*+\\\\d)[_\\\\d]*+(?i:E_*+[-+]?_*+\\\\d[_\\\\d]*+)?)(?i:ns|us|µs|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![.\\\\w])|(?=\\\\.\\\\.))\",\"name\":\"constant.numeric.nushell\"},\"numbers-binary\":{\"match\":\"(?<![-\\\\w])_*+0_*+b_*+[01][01_]*+(?![.\\\\w])\",\"name\":\"constant.numeric.nushell\"},\"numbers-hexa\":{\"match\":\"(?<![-\\\\w])_*+0_*+x_*+\\\\h[_\\\\h]*+(?![.\\\\w])\",\"name\":\"constant.numeric.nushell\"},\"numbers-octal\":{\"match\":\"(?<![-\\\\w])_*+0_*+o_*+[0-7][0-7_]*+(?![.\\\\w])\",\"name\":\"constant.numeric.nushell\"},\"operators\":{\"patterns\":[{\"include\":\"#operators-word\"},{\"include\":\"#operators-symbols\"},{\"include\":\"#ranges\"}]},\"operators-symbols\":{\"match\":\"(?<= )(?:[-*+/]=?|//|\\\\*\\\\*|!=|[<=>]=?|[!=]~|\\\\+\\\\+=?)(?= |$)\",\"name\":\"keyword.control.nushell\"},\"operators-word\":{\"match\":\"(?<=[ (])(?:mod|in|not-(?:in|like|has)|not|and|or|xor|bit-(?:or|and|xor|shl|shr)|starts-with|ends-with|like|has)(?=[ )]|$)\",\"name\":\"keyword.control.nushell\"},\"parameters\":{\"captures\":{\"1\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(?<=\\\\s)(-{1,2})[-\\\\w]+\",\"name\":\"variable.parameter.nushell\"},\"paren-expression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.round.begin.nushell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.end.nushell\"}},\"name\":\"meta.expression.parenthesis.nushell\",\"patterns\":[{\"include\":\"#expression\"}]},\"pre-command\":{\"begin\":\"(\\\\w+)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#operators\"}]}},\"end\":\"(?=\\\\s+)\",\"patterns\":[{\"include\":\"#value\"}]},\"ranges\":{\"match\":\"\\\\.\\\\.<?\",\"name\":\"keyword.control.nushell\"},\"spread\":{\"match\":\"\\\\.\\\\.\\\\.(?=[^]}\\\\s])\",\"name\":\"keyword.control.nushell\"},\"string\":{\"patterns\":[{\"include\":\"#string-single-quote\"},{\"include\":\"#string-backtick\"},{\"include\":\"#string-double-quote\"},{\"include\":\"#string-interpolated-double\"},{\"include\":\"#string-interpolated-single\"},{\"include\":\"#string-raw\"},{\"include\":\"#string-bare\"}]},\"string-backtick\":{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.quoted.single.nushell\"},\"string-bare\":{\"match\":\"[^\\\"#$'(,;\\\\[{|\\\\s][^]\\\"'(),;\\\\[{|}\\\\s]*\",\"name\":\"string.bare.nushell\"},\"string-double-quote\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.quoted.double.nushell\",\"patterns\":[{\"match\":\"\\\\w+\"},{\"include\":\"#string-escape\"}]},\"string-escape\":{\"match\":\"\\\\\\\\(?:[\\\"'/\\\\\\\\bfnrt]|u\\\\h{4})\",\"name\":\"constant.character.escape.nushell\"},\"string-interpolated-double\":{\"begin\":\"\\\\$\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.interpolated.double.nushell\",\"patterns\":[{\"match\":\"\\\\\\\\[()]\",\"name\":\"constant.character.escape.nushell\"},{\"include\":\"#string-escape\"},{\"include\":\"#paren-expression\"}]},\"string-interpolated-single\":{\"begin\":\"\\\\$'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.interpolated.single.nushell\",\"patterns\":[{\"include\":\"#paren-expression\"}]},\"string-raw\":{\"begin\":\"r(#+)'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"'\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.raw.nushell\"},\"string-single-quote\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.quoted.single.nushell\"},\"table\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.end.nushell\"}},\"name\":\"meta.table.nushell\",\"patterns\":[{\"include\":\"#spread\"},{\"include\":\"#value\"},{\"match\":\",\",\"name\":\"punctuation.separator.nushell\"}]},\"types\":{\"patterns\":[{\"begin\":\"\\\\b(list)\\\\s*<\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.nushell\"}},\"end\":\">\",\"name\":\"meta.list.nushell\",\"patterns\":[{\"include\":\"#types\"}]},{\"begin\":\"\\\\b(record)\\\\s*<\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.nushell\"}},\"end\":\">\",\"name\":\"meta.record.nushell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.nushell\"}},\"match\":\"([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[^']+')\\\\s*:\\\\s*\"},{\"include\":\"#types\"}]},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.type.nushell\"}]},\"use-module\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.import.nushell\"},\"2\":{\"name\":\"entity.name.namespace.nushell\"},\"3\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"^\\\\s*((?:export )?use)\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+')(?:\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|\\\\*))?\\\\s*;?$\"},{\"begin\":\"^\\\\s*((?:export )?use)\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+')\\\\s*\\\\[\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.import.nushell\"},\"2\":{\"name\":\"entity.name.namespace.nushell\"}},\"end\":\"(])\\\\s*;?\\\\s*$\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.square.end.nushell\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|\\\\*),?\"},{\"include\":\"#comment\"}]},{\"captures\":{\"2\":{\"name\":\"keyword.control.import.nushell\"},\"3\":{\"name\":\"string.bare.nushell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.namespace.nushell\"}},\"match\":\"([- \\\\w]+)(?:\\\\.nu)?(?=$|[\\\"'])\"}]},\"4\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"(?<path>(?:[/\\\\\\\\]|~[/\\\\\\\\]|\\\\.\\\\.?[/\\\\\\\\])?(?:[^/\\\\\\\\]+[/\\\\\\\\])*[- \\\\w]+(?:\\\\.nu)?){0}^\\\\s*((?:export )?use)\\\\s+(\\\"\\\\g<path>\\\"|'\\\\g<path>'|(?![\\\"'])\\\\g<path>)(?:\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[^']+'|\\\\*))?\\\\s*;?$\"},{\"begin\":\"(?<path>(?:[/\\\\\\\\]|~[/\\\\\\\\]|\\\\.\\\\.?[/\\\\\\\\])?(?:[^/\\\\\\\\]+[/\\\\\\\\])*[- \\\\w]+(?:\\\\.nu)?){0}^\\\\s*((?:export )?use)\\\\s+(\\\"\\\\g<path>\\\"|'\\\\g<path>'|(?![\\\"'])\\\\g<path>)\\\\s+\\\\[\",\"beginCaptures\":{\"2\":{\"name\":\"keyword.control.import.nushell\"},\"3\":{\"name\":\"string.bare.nushell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.namespace.nushell\"}},\"match\":\"([- \\\\w]+)(?:\\\\.nu)?(?=$|[\\\"'])\"}]}},\"end\":\"(])\\\\s*;?\\\\s*$\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.square.end.nushell\"}},\"patterns\":[{\"captures\":{\"0\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|\\\\*),?\"},{\"include\":\"#comment\"}]},{\"captures\":{\"0\":{\"name\":\"keyword.control.import.nushell\"}},\"match\":\"^\\\\s*(?:export )?use\\\\b\"}]},\"value\":{\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#variable-fields\"},{\"include\":\"#control-keywords\"},{\"include\":\"#constant-value\"},{\"include\":\"#table\"},{\"include\":\"#operators\"},{\"include\":\"#paren-expression\"},{\"include\":\"#braced-expression\"},{\"include\":\"#string\"},{\"include\":\"#comment\"}]},\"variable-fields\":{\"match\":\"(?<=[])}])(?:\\\\.(?:[-\\\\w]+|\\\"[- \\\\w]+\\\"))+\",\"name\":\"variable.other.nushell\"},\"variables\":{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#internal-variables\"},{\"match\":\"\\\\$.+\",\"name\":\"variable.other.nushell\"}]},\"2\":{\"name\":\"variable.other.nushell\"}},\"match\":\"(\\\\$[0-9A-Z_a-z]+)((?:\\\\.(?:[-\\\\w]+|\\\"[- \\\\w]+\\\"))*)\"}},\"scopeName\":\"source.nushell\",\"aliases\":[\"nu\"]}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"nushell\",\"name\":\"nushell\",\"patterns\":[{\"include\":\"#define-variable\"},{\"include\":\"#define-alias\"},{\"include\":\"#function\"},{\"include\":\"#extern\"},{\"include\":\"#module\"},{\"include\":\"#use-module\"},{\"include\":\"#expression\"},{\"include\":\"#comment\"}],\"repository\":{\"binary\":{\"begin\":\"\\\\b(0x)(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.nushell\"},\"2\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"name\":\"constant.binary.nushell\",\"patterns\":[{\"match\":\"\\\\h{2}\",\"name\":\"constant.numeric.nushell\"}]},\"braced-expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.block.begin.bracket.curly.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.bracket.curly.nushell\"}},\"name\":\"meta.expression.braced.nushell\",\"patterns\":[{\"begin\":\"(?<=\\\\{)\\\\s*\\\\|\",\"end\":\"\\\\|\",\"name\":\"meta.closure.parameters.nushell\",\"patterns\":[{\"include\":\"#function-parameter\"}]},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\\w+)\\\\s*(:)\\\\s*\"},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\",\"patterns\":[{\"include\":\"#paren-expression\"}]},\"3\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\\$\\\"((?:[^\\\"\\\\\\\\]|\\\\\\\\.)*)\\\")\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"captures\":{\"1\":{\"name\":\"string.quoted.double.nushell variable.other.nushell\"},\"2\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"captures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\",\"patterns\":[{\"include\":\"#paren-expression\"}]},\"3\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(\\\\$'([^']*)')\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"captures\":{\"1\":{\"name\":\"string.quoted.single.nushell variable.other.nushell\"},\"2\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"('[^']*')\\\\s*(:)\\\\s*\",\"name\":\"meta.record-entry.nushell\"},{\"include\":\"#spread\"},{\"include\":\"source.nushell\"}]},\"command\":{\"begin\":\"(?<!\\\\w)(?:(\\\\^)|(?![$0-9]))([!.\\\\w]+(?: (?!-)[-!.\\\\w]+(?:(?=[ )])|$)|[-!.\\\\w]+)*|(?<=\\\\^)\\\\$?(?:\\\"[^\\\"]+\\\"|'[^']+'))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#control-keywords\"},{\"captures\":{\"0\":{\"name\":\"keyword.other.builtin.nushell\"}},\"match\":\"(?:ansi|char) \\\\w+\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.builtin.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#value\"}]}},\"match\":\"(a(?:l(?:ias|l)|n(?:si(?: (?:gradient|link|strip))?|y)|ppend|st|ttr(?: (?:c(?:ategory|omplete(?: external)?)|deprecated|example|search-terms))?)|b(?:its(?: (?:and|not|or|ro[lr]|sh[lr]|xor))?|reak|ytes(?: (?:a(?:dd|t)|build|collect|ends-with|index-of|length|re(?:move|place|verse)|s(?:plit|tarts-with)))?)|c(?:al|d|h(?:ar|unk(?:-by|s))|l(?:ear|ip(?: (?:copy|paste))?)|o(?:l(?:lect|umns)|m(?:mandline(?: (?:edit|get-cursor|set-cursor))?|p(?:act|lete))|n(?:fig(?: (?:env|flatten|nu|reset|use-colors))?|st|tinue))|p)|d(?:ate(?: (?:f(?:ormat|rom-human)|humanize|list-timezone|now|to-timezone))?|e(?:bug(?: (?:e(?:nv|xperimental-options)|info|profile))?|code(?: (?:base(?:32(?:hex)?|64)|hex))?|f(?:ault)?|scribe|tect(?: (?:columns|type))?)|o|rop(?: (?:column|nth))?|t(?: (?:add|diff|format|now|part|to|utcnow))?|u)|e(?:ach(?: while)?|cho|moji|n(?:code(?: (?:base(?:32(?:hex)?|64)|hex))?|umerate)|rror(?: make)?|very|x(?:ec|it|p(?:l(?:ain|ore(?: (?:config|regex))?)|ort(?: (?:alias|const|def|extern|module|use)|-env)?)|tern))|f(?:i(?:l(?:[el]|ter)|nd|rst)|latten|or(?:mat(?: (?:bits|d(?:ate|uration)|filesize|number|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|m(?:d|sgpackz?)|nuon|ods|p(?:arquet|list)|ssv|t(?:o(?:ml|on)|sv)|url|vcf|x(?:lsx|ml)|ya?ml))?)|g(?:e(?:nerate|t)|lob|r(?:id|oup-by)|stat)|h(?:ash(?: (?:md5|sha256))?|e(?:aders|lp(?: (?:aliases|commands|e(?:scapes|xterns)|modules|operators|pipe-and-redirect))?)|i(?:de(?:-env)?|sto(?:gram|ry(?: (?:import|session))?))|ttp(?: (?:delete|get|head|options|p(?:atch|o(?:ol|st)|ut)))?)|i(?:f|gnore|n(?:c|put(?: list(?:en)?)?|s(?:ert|pect)|t(?:erleave|o(?: (?:b(?:inary|ool)|cell-path|d(?:atetime|uration)|f(?:ilesize|loat)|glob|int|record|s(?:qlite|tring)|value))?))|s-(?:admin|empty|not-empty|terminal)|tems)|j(?:o(?:b(?: (?:describe|flush|id|kill|list|recv|s(?:end|pawn)|unfreeze))?|in)|s(?:on path|p)|walk)|k(?:eybindings(?: (?:default|list(?:en)?))?|ill)|l(?:ast|e(?:ngth|t(?:-env)?)|ines|o(?:ad-env|op))|m(?:at(?:ch|h(?: (?:a(?:bs|rc(?:cosh?|sinh?|tanh?)|vg)|c(?:eil|osh?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:inh?|qrt|tddev|um)|tanh?|variance))?)|e(?:rge(?: deep)?|tadata(?: (?:access|set))?)|k(?:dir|temp)|o(?:dule|ve)|ut|v)|nu-(?:check|highlight)|o(?:pen|verlay(?: (?:hide|list|new|use))?)|p(?:a(?:nic|r(?:-each|se)|th(?: (?:basename|dirname|ex(?:ists|pand)|join|parse|relative-to|s(?:elf|plit)|type))?)|lugin(?: (?:add|list|rm|stop|use))?|o(?:lars(?: (?:a(?:gg(?:-groups)?|ll-(?:false|true)|ppend|rg-(?:m(?:ax|in)|sort|true|unique|where)|s(?:-date(?:time)?)?)|c(?:a(?:che|st)|o(?:l(?:lect|umns)?|n(?:cat(?:-str)?|tains|vert-time-zone)|unt(?:-null)?)|u(?:mulative|t))|d(?:atepart|ecimal|rop(?:-(?:duplicates|nulls))?|ummies)|e(?:ntropy|xp(?:lode|r-not))|f(?:i(?:l(?:l-n(?:an|ull)|ter(?:-with)?)|rst)|latten)|g(?:et(?:-(?:day|hour|m(?:inute|onth)|nanosecond|ordinal|second|week(?:day)?|year))?|roup-by)|horizontal|i(?:mplode|nt(?:eger|o-(?:d(?:f|type)|lazy|nu|repr|schema))|s-(?:duplicated|in|n(?:ot-n|)ull|unique))|join(?:-where)?|l(?:ast|en|i(?:st-contains|t)|owercase)|m(?:a(?:th|x)|e(?:an|dian)|in)|n(?:-unique|ot)|o(?:pen|therwise|ver)|p(?:ivot|rofile)|q(?:cut|u(?:antile|ery))|r(?:e(?:name|place(?:-time-zone)?|verse)|olling)|s(?:a(?:mple|ve)|chema|e(?:lect(?:or(?: (?:all|by-(?:dtype|name)|ends-with|f(?:irst|loat)|integer|last|matches|n(?:ot|umeric)|s(?:igned-integer|tarts-with)|unsigned-integer))?)?|t(?:-with-idx)?)|h(?:ape|ift)|lice|ort-by|t(?:d|ore-(?:get|ls|rm)|r(?:-(?:join|lengths|replace(?:-all)?|s(?:lice|plit|trip-chars))|ftime|uct-json-encode))|um(?:mary)?)|t(?:ake|runcate)|u(?:n(?:ique|nest|pivot)|ppercase)|va(?:lue-counts|r)|w(?:hen|ith-column)))?|rt)|r(?:epend|int)|s)|query(?: (?:db|git|json|web(?:page-info)?|xml))?|r(?:andom(?: (?:b(?:inary|ool)|chars|float|int|uuid))?|e(?:duce|g(?:ex|istry(?: query)?)|ject|name|turn|verse)|[gm]|o(?:ll(?: (?:down|left|right|up))?|tate)|un-(?:ex|in)ternal)|s(?:ave|c(?:hema|ope(?: (?:aliases|commands|e(?:ngine-stats|xterns)|modules|variables))?)|e(?:lect|q(?: (?:char|date))?)|huffle|kip(?: (?:until|while))?|l(?:eep|ice)|o(?:rt(?:-by)?|urce(?:-env)?)|plit(?: (?:c(?:ell-path|hars|olumn)|list|row|words))?|t(?:art|or(?: (?:create|delete|export|i(?:mport|nsert)|open|reset|update))?|r(?: (?:c(?:a(?:mel-case|pitalize)|o(?:mpress|ntains))|d(?:e(?:compress|dent|unicode)|istance|owncase)|e(?:nds-with|scape-regex|xpand)|inde(?:nt|x-of)|join|kebab-case|length|pascal-case|re(?:place|verse)|s(?:creaming-snake-case|hl-(?:quote|split)|imilarity|lug|nake-case|ta(?:rts-with|ts)|ubstring)|t(?:itle-case|rim)|upcase|wrap)|ess_internals)?)|ys(?: (?:cpu|disks|host|mem|net|temp|users))?)|t(?:a(?:ble|ke(?: (?:until|while))?)|e(?:e|rm(?: (?:query|size))?)|imeit|o(?: (?:csv|gui|html|json|m(?:d|sgpackz?)|nuon|p(?:arquet|list)|t(?:ext|o(?:ml|on)|sv)|xml|ya?ml)|uch)?|r(?:anspose|ee|y)|utor)|u(?:limit|mask|n(?:ame|iq(?:-by)?|let)|p(?:date(?: cells)?|sert)|rl(?: (?:build-query|decode|encode|join|parse|split-query))?|se)|v(?:alues|ersion(?: check)?|iew(?: (?:blocks|files|ir|s(?:ource|pan)))?)|w(?:atch|h(?:ere|i(?:ch|le)|oami)|i(?:ndow|th-env)|rap)|zip)(?![-\\\\w])( (.*))?\"},{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#paren-expression\"}]}},\"match\":\"(?<=\\\\^)(?:\\\\$(\\\"[^\\\"]+\\\"|'[^']+')|\\\"[^\\\"]+\\\"|'[^']+')\",\"name\":\"entity.name.type.external.nushell\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.external.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#value\"}]}},\"match\":\"([.\\\\w]+(?:-[!.\\\\w]+)*)(?: (.*))?\"},{\"include\":\"#value\"}]}},\"end\":\"(?=[);|}])|$\",\"name\":\"meta.command.nushell\",\"patterns\":[{\"include\":\"#parameters\"},{\"include\":\"#spread\"},{\"include\":\"#value\"}]},\"comment\":{\"match\":\"(#.*)$\",\"name\":\"comment.nushell\"},\"constant-keywords\":{\"match\":\"\\\\b(?:true|false|null)\\\\b\",\"name\":\"constant.language.nushell\"},\"constant-value\":{\"patterns\":[{\"include\":\"#constant-keywords\"},{\"include\":\"#datetime\"},{\"include\":\"#numbers\"},{\"include\":\"#numbers-hexa\"},{\"include\":\"#numbers-octal\"},{\"include\":\"#numbers-binary\"},{\"include\":\"#binary\"}]},\"control-keywords\":{\"match\":\"(?<![\\\\--:A-Z\\\\\\\\_a-z])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![\\\\--:A-Z\\\\\\\\_a-z])\",\"name\":\"keyword.control.nushell\"},\"datetime\":{\"match\":\"\\\\b\\\\d{4}-\\\\d{2}-\\\\d{2}(?:T\\\\d{2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d+)?(?:\\\\+\\\\d{2}:?\\\\d{2}|Z)?)?\\\\b\",\"name\":\"constant.numeric.nushell\"},\"define-alias\":{\"captures\":{\"1\":{\"name\":\"storage.type.alias.nushell\"},\"2\":{\"name\":\"entity.name.function.nushell\"},\"3\":{\"patterns\":[{\"include\":\"#operators\"}]}},\"match\":\"((?:export )?alias)\\\\s+([-!\\\\w]+)\\\\s*(=)\"},\"define-variable\":{\"captures\":{\"1\":{\"name\":\"keyword.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\"},\"3\":{\"name\":\"punctuation.separator.nushell\"},\"4\":{\"patterns\":[{\"include\":\"#types\"}]},\"5\":{\"patterns\":[{\"include\":\"#operators\"}]}},\"match\":\"(let|mut|(?:export\\\\s+)?const)\\\\s+(\\\\w+)(?:\\\\s*(:)\\\\s*([^=]+?))?\\\\s+(=)\"},\"expression\":{\"patterns\":[{\"include\":\"#pre-command\"},{\"include\":\"#for-loop\"},{\"include\":\"#operators\"},{\"match\":\"\\\\|\",\"name\":\"keyword.control.nushell\"},{\"include\":\"#control-keywords\"},{\"include\":\"#constant-value\"},{\"include\":\"#string-raw\"},{\"include\":\"#command\"},{\"include\":\"#value\"}]},\"extern\":{\"begin\":\"((?:export\\\\s+)?extern)\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.nushell\"},\"2\":{\"name\":\"entity.name.function.nushell\"}},\"end\":\"(?<=])\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.function.end.nushell\"}},\"patterns\":[{\"include\":\"#function-parameters\"}]},\"for-loop\":{\"begin\":\"(for)\\\\s+(\\\\$?\\\\w+)\\\\s+(in)\\\\s+(.+)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.nushell\"},\"2\":{\"name\":\"variable.other.nushell\"},\"3\":{\"name\":\"keyword.other.nushell\"},\"4\":{\"patterns\":[{\"include\":\"#value\"}]},\"5\":{\"name\":\"punctuation.section.block.begin.bracket.curly.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.block.end.bracket.curly.nushell\"}},\"name\":\"meta.for-loop.nushell\",\"patterns\":[{\"include\":\"source.nushell\"}]},\"function\":{\"begin\":\"((?:export\\\\s+)?def)(?:\\\\s+(--\\\\w+(?:\\\\s+--\\\\w+)*))?\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|`[- \\\\w]+`)(?:\\\\s+(--\\\\w+(?:\\\\s+--\\\\w+)*))?\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.function.nushell\"},\"2\":{\"name\":\"storage.modifier.nushell\"},\"3\":{\"name\":\"entity.name.function.nushell\"},\"4\":{\"name\":\"storage.modifier.nushell\"}},\"end\":\"(?<=})\",\"patterns\":[{\"include\":\"#function-parameters\"},{\"include\":\"#function-body\"},{\"include\":\"#function-inout\"}]},\"function-body\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.function.begin.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.function.end.nushell\"}},\"name\":\"meta.function.body.nushell\",\"patterns\":[{\"include\":\"source.nushell\"}]},\"function-inout\":{\"patterns\":[{\"include\":\"#types\"},{\"match\":\"->\",\"name\":\"keyword.operator.nushell\"},{\"include\":\"#function-multiple-inout\"}]},\"function-multiple-inout\":{\"begin\":\"(?<=]\\\\s*)(:)\\\\s+(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.in-out.nushell\"},\"2\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.end.nushell\"}},\"patterns\":[{\"include\":\"#types\"},{\"captures\":{\"1\":{\"name\":\"punctuation.separator.nushell\"}},\"match\":\"\\\\s*(,)\\\\s*\"},{\"captures\":{\"1\":{\"name\":\"keyword.operator.nushell\"}},\"match\":\"\\\\s+(->)\\\\s+\"}]},\"function-parameter\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(-{0,2}|\\\\.{3})[-\\\\w]+(?:\\\\((-[?\\\\w])\\\\))?\",\"name\":\"variable.parameter.nushell\"},{\"begin\":\"\\\\??:\\\\s*\",\"end\":\"(?=\\\\s+(?:-{0,2}|\\\\.{3})[-\\\\w]+|\\\\s*(?:[]#,=@|]|$))\",\"patterns\":[{\"include\":\"#types\"}]},{\"begin\":\"@(?=[\\\"'])\",\"end\":\"(?<=[\\\"'])\",\"patterns\":[{\"include\":\"#string\"}]},{\"begin\":\"=\\\\s*\",\"end\":\"(?=\\\\s+-{0,2}[-\\\\w]+|\\\\s*(?:[]#,|]|$))\",\"name\":\"default.value.nushell\",\"patterns\":[{\"include\":\"#value\"}]}]},\"function-parameters\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.end.nushell\"}},\"name\":\"meta.function.parameters.nushell\",\"patterns\":[{\"include\":\"#function-parameter\"},{\"include\":\"#comment\"}]},\"internal-variables\":{\"match\":\"\\\\$(?:nu|env)\\\\b\",\"name\":\"variable.language.nushell\"},\"keyword\":{\"match\":\"def(?:-env)?\",\"name\":\"keyword.other.nushell\"},\"module\":{\"begin\":\"((?:export\\\\s+)?module)\\\\s+([-\\\\w]+)\\\\s*\\\\{\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.module.nushell\"},\"2\":{\"name\":\"entity.name.namespace.nushell\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.module.end.nushell\"}},\"name\":\"meta.module.nushell\",\"patterns\":[{\"include\":\"source.nushell\"}]},\"numbers\":{\"match\":\"(?<![-\\\\w])_*+[-+]?_*+(?:(?i:NaN|infinity|inf)_*+|(?:\\\\d[_\\\\d]*+\\\\.?|\\\\._*+\\\\d)[_\\\\d]*+(?i:E_*+[-+]?_*+\\\\d[_\\\\d]*+)?)(?i:ns|us|µs|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![.\\\\w])|(?=\\\\.\\\\.))\",\"name\":\"constant.numeric.nushell\"},\"numbers-binary\":{\"match\":\"(?<![-\\\\w])_*+0_*+b_*+[01][01_]*+(?![.\\\\w])\",\"name\":\"constant.numeric.nushell\"},\"numbers-hexa\":{\"match\":\"(?<![-\\\\w])_*+0_*+x_*+\\\\h[_\\\\h]*+(?![.\\\\w])\",\"name\":\"constant.numeric.nushell\"},\"numbers-octal\":{\"match\":\"(?<![-\\\\w])_*+0_*+o_*+[0-7][0-7_]*+(?![.\\\\w])\",\"name\":\"constant.numeric.nushell\"},\"operators\":{\"patterns\":[{\"include\":\"#operators-word\"},{\"include\":\"#operators-symbols\"},{\"include\":\"#ranges\"}]},\"operators-symbols\":{\"match\":\"(?<= )(?:[-*+/]=?|//|\\\\*\\\\*|!=|[<=>]=?|[!=]~|\\\\+\\\\+=?)(?= |$)\",\"name\":\"keyword.control.nushell\"},\"operators-word\":{\"match\":\"(?<=[ (])(?:mod|in|not-(?:in|like|has)|not|and|or|xor|bit-(?:or|and|xor|shl|shr)|starts-with|ends-with|like|has)(?=[ )]|$)\",\"name\":\"keyword.control.nushell\"},\"parameters\":{\"captures\":{\"1\":{\"name\":\"keyword.control.nushell\"}},\"match\":\"(?<=\\\\s)(-{1,2})[-\\\\w]+\",\"name\":\"variable.parameter.nushell\"},\"paren-expression\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.round.begin.nushell\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.round.end.nushell\"}},\"name\":\"meta.expression.parenthesis.nushell\",\"patterns\":[{\"include\":\"#expression\"}]},\"pre-command\":{\"begin\":\"(\\\\w+)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.nushell\"},\"2\":{\"patterns\":[{\"include\":\"#operators\"}]}},\"end\":\"(?=\\\\s+)\",\"patterns\":[{\"include\":\"#value\"}]},\"ranges\":{\"match\":\"\\\\.\\\\.<?\",\"name\":\"keyword.control.nushell\"},\"spread\":{\"match\":\"\\\\.\\\\.\\\\.(?=[^]}\\\\s])\",\"name\":\"keyword.control.nushell\"},\"string\":{\"patterns\":[{\"include\":\"#string-single-quote\"},{\"include\":\"#string-backtick\"},{\"include\":\"#string-double-quote\"},{\"include\":\"#string-interpolated-double\"},{\"include\":\"#string-interpolated-single\"},{\"include\":\"#string-raw\"},{\"include\":\"#string-bare\"}]},\"string-backtick\":{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.quoted.single.nushell\"},\"string-bare\":{\"match\":\"[^\\\"#$'(,;\\\\[{|\\\\s][^]\\\"'(),;\\\\[{|}\\\\s]*\",\"name\":\"string.bare.nushell\"},\"string-double-quote\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.quoted.double.nushell\",\"patterns\":[{\"match\":\"\\\\w+\"},{\"include\":\"#string-escape\"}]},\"string-escape\":{\"match\":\"\\\\\\\\(?:[\\\"'/\\\\\\\\bfnrt]|u\\\\h{4})\",\"name\":\"constant.character.escape.nushell\"},\"string-interpolated-double\":{\"begin\":\"\\\\$\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.interpolated.double.nushell\",\"patterns\":[{\"match\":\"\\\\\\\\[()]\",\"name\":\"constant.character.escape.nushell\"},{\"include\":\"#string-escape\"},{\"include\":\"#paren-expression\"}]},\"string-interpolated-single\":{\"begin\":\"\\\\$'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.interpolated.single.nushell\",\"patterns\":[{\"include\":\"#paren-expression\"}]},\"string-raw\":{\"begin\":\"r(#+)'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"'\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.raw.nushell\"},\"string-single-quote\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.nushell\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.nushell\"}},\"name\":\"string.quoted.single.nushell\"},\"table\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"meta.brace.square.begin.nushell\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"meta.brace.square.end.nushell\"}},\"name\":\"meta.table.nushell\",\"patterns\":[{\"include\":\"#spread\"},{\"include\":\"#value\"},{\"match\":\",\",\"name\":\"punctuation.separator.nushell\"}]},\"types\":{\"patterns\":[{\"begin\":\"\\\\b(list)\\\\s*<\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.nushell\"}},\"end\":\">\",\"name\":\"meta.list.nushell\",\"patterns\":[{\"include\":\"#types\"}]},{\"begin\":\"\\\\b(record)\\\\s*<\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.type.nushell\"}},\"end\":\">\",\"name\":\"meta.record.nushell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.nushell\"}},\"match\":\"([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[^']+')\\\\s*:\\\\s*\"},{\"include\":\"#types\"}]},{\"match\":\"\\\\b(\\\\w+)\\\\b\",\"name\":\"entity.name.type.nushell\"}]},\"use-module\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.import.nushell\"},\"2\":{\"name\":\"entity.name.namespace.nushell\"},\"3\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"^\\\\s*((?:export )?use)\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+')(?:\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|\\\\*))?\\\\s*;?$\"},{\"begin\":\"^\\\\s*((?:export )?use)\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+')\\\\s*\\\\[\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.import.nushell\"},\"2\":{\"name\":\"entity.name.namespace.nushell\"}},\"end\":\"(])\\\\s*;?\\\\s*$\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.square.end.nushell\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|\\\\*),?\"},{\"include\":\"#comment\"}]},{\"captures\":{\"2\":{\"name\":\"keyword.control.import.nushell\"},\"3\":{\"name\":\"string.bare.nushell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.namespace.nushell\"}},\"match\":\"([- \\\\w]+)(?:\\\\.nu)?(?=$|[\\\"'])\"}]},\"4\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"(?<path>(?:[/\\\\\\\\]|~[/\\\\\\\\]|\\\\.\\\\.?[/\\\\\\\\])?(?:[^/\\\\\\\\]+[/\\\\\\\\])*[- \\\\w]+(?:\\\\.nu)?){0}^\\\\s*((?:export )?use)\\\\s+(\\\"\\\\g<path>\\\"|'\\\\g<path>'|(?![\\\"'])\\\\g<path>)(?:\\\\s+([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[^']+'|\\\\*))?\\\\s*;?$\"},{\"begin\":\"(?<path>(?:[/\\\\\\\\]|~[/\\\\\\\\]|\\\\.\\\\.?[/\\\\\\\\])?(?:[^/\\\\\\\\]+[/\\\\\\\\])*[- \\\\w]+(?:\\\\.nu)?){0}^\\\\s*((?:export )?use)\\\\s+(\\\"\\\\g<path>\\\"|'\\\\g<path>'|(?![\\\"'])\\\\g<path>)\\\\s+\\\\[\",\"beginCaptures\":{\"2\":{\"name\":\"keyword.control.import.nushell\"},\"3\":{\"name\":\"string.bare.nushell\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.namespace.nushell\"}},\"match\":\"([- \\\\w]+)(?:\\\\.nu)?(?=$|[\\\"'])\"}]}},\"end\":\"(])\\\\s*;?\\\\s*$\",\"endCaptures\":{\"1\":{\"name\":\"meta.brace.square.end.nushell\"}},\"patterns\":[{\"captures\":{\"0\":{\"name\":\"keyword.other.nushell\"}},\"match\":\"([-\\\\w]+|\\\"[- \\\\w]+\\\"|'[- \\\\w]+'|\\\\*),?\"},{\"include\":\"#comment\"}]},{\"captures\":{\"0\":{\"name\":\"keyword.control.import.nushell\"}},\"match\":\"^\\\\s*(?:export )?use\\\\b\"}]},\"value\":{\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#variable-fields\"},{\"include\":\"#control-keywords\"},{\"include\":\"#constant-value\"},{\"include\":\"#table\"},{\"include\":\"#operators\"},{\"include\":\"#paren-expression\"},{\"include\":\"#braced-expression\"},{\"include\":\"#string\"},{\"include\":\"#comment\"}]},\"variable-fields\":{\"match\":\"(?<=[])}])(?:\\\\.(?:[-\\\\w]+|\\\"[- \\\\w]+\\\"))+\",\"name\":\"variable.other.nushell\"},\"variables\":{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"#internal-variables\"},{\"match\":\"\\\\$.+\",\"name\":\"variable.other.nushell\"}]},\"2\":{\"name\":\"variable.other.nushell\"}},\"match\":\"(\\\\$[0-9A-Z_a-z]+)((?:\\\\.(?:[-\\\\w]+|\\\"[- \\\\w]+\\\"))*)\"}},\"scopeName\":\"source.nushell\",\"aliases\":[\"nu\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|