Skip to content

Commit

Permalink
build: fetch cache should take source config intro consideration, fix #…
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 29, 2024
1 parent fe42485 commit 4478865
Show file tree
Hide file tree
Showing 10 changed files with 943 additions and 508 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"lint-staged": "catalog:",
"octokit": "catalog:",
"ofetch": "catalog:",
"ohash": "^1.1.4",
"oniguruma-to-js": "catalog:",
"p-limit": "catalog:",
"pnpm": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-grammars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ import { grammars } from 'tm-grammars'
| `matlab` | | [mathworks/MATLAB-Language-grammar](https://github.com/mathworks/MATLAB-Language-grammar/blob/69dbf20c1eb19efd629c0438a2a493e60617e8de/Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage) | | | 18.56 kB |
| `mdc` | | [nuxtlabs/vscode-mdc](https://github.com/nuxtlabs/vscode-mdc/blob/6294dbce9706f538a521e7dccce9609e928dc3be/syntaxes/mdc.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE) | `markdown` `yaml` `html-derivative` | 18.85 kB |
| `mdx` | | [wooorm/markdown-tm-language](https://github.com/wooorm/markdown-tm-language/blob/5caa71e2bbddea59b27c6a5a346881cd10fa0f5f/source.mdx.tmLanguage) | [MIT](https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license) | `tsx` `toml` `yaml` `c` `clojure` `coffee` `cpp` `csharp` `css` `diff` `docker` `elixir` `elm` `erlang` `go` `graphql` `haskell` `html` `ini` `java` `javascript` `json` `julia` `kotlin` `less` `lua` `make` `markdown` `objective-c` `perl` `python` `r` `ruby` `rust` `scala` `scss` `shellscript` `shellsession` `sql` `xml` `swift` `typescript` | 130.88 kB |
| `mermaid` | | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.89 kB |
| `mermaid` | `mmd` | [bpruitt-goddard/vscode-mermaid-syntax-highlight](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/blob/8b62f487cb7a89afcd152febfbf47f5d4787657f/syntaxes/mermaid.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE) | | 27.89 kB |
| `mojo` | | [modularml/mojo-syntax](https://github.com/modularml/mojo-syntax/blob/46eccdaeda2b1587e9b82808cdb35670f359d16d/syntaxes/mojo.syntax.json) | [MIT](https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE) | | 68.68 kB |
| `move` | | [damirka/move-syntax](https://github.com/damirka/move-syntax/blob/4b04e9d614901097ffc0663fef40bd3e5d87779e/syntaxes/move.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/damirka/move-syntax/main/LICENSE) | | 19.27 kB |
| `narrat` | `nar` | [liana-p/narrat-syntax-highlighting-vscode](https://github.com/liana-p/narrat-syntax-highlighting-vscode/blob/00d4b410338fc50ca0ce77a1f7e873c1fb66d376/syntaxes/narrat.tmLanguage.yaml) | [MIT](https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE) | | 3.39 kB |
Expand Down
4 changes: 2 additions & 2 deletions packages/tm-grammars/grammars/sass.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"fileTypes": [
"sass"
],
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|*#?region|^\\.",
"foldingStopMarker": "\\*/|*#?endregion|^\\s*$",
"foldingStartMarker": "/\\*|^#|^\\*|^\\b|\\*#?region|^\\.",
"foldingStopMarker": "\\*/|\\*#?endregion|^\\s*$",
"name": "sass",
"patterns": [
{
Expand Down
1 change: 1 addition & 0 deletions packages/tm-grammars/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export interface GrammarInfo {
embedded?: string[]
embeddedIn?: string[]
byteSize: number
hash: string
}

const grammars: GrammarInfo[]
Expand Down
Loading

0 comments on commit 4478865

Please sign in to comment.