Skip to content

Commit

Permalink
feat: markdown capture files with same prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 3, 2024
1 parent 9483b7a commit b497837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Open your VS Code, bring up your `settings.json`, copy-n-paste the snippet below
<!-- eslint-skip -->

```jsonc
// updated 2024-04-21 11:40
// updated 2024-05-03 13:20
// https://github.com/antfu/vscode-file-nesting-config
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
Expand Down Expand Up @@ -55,6 +55,7 @@ Open your VS Code, bring up your `settings.json`, copy-n-paste the snippet below
"*.js": "$(capture).js.map, $(capture).*.js, $(capture)_*.js",
"*.jsx": "$(capture).js, $(capture).*.jsx, $(capture)_*.js, $(capture)_*.jsx, $(capture).less, $(capture).module.less",
"*.master": "$(capture).*.cs, $(capture).*.vb",
"*.md": "$(capture).*",
"*.mjs": "$(capture).mjs.map, $(capture).*.mjs, $(capture)_*.mjs",
"*.module.ts": "$(capture).resolver.ts, $(capture).controller.ts, $(capture).service.ts",
"*.mts": "$(capture).mts.map, $(capture).*.mts, $(capture)_*.mts",
Expand Down
1 change: 1 addition & 0 deletions update.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ const base = {
'*.component.ts': '$(capture).component.html, $(capture).component.spec.ts, $(capture).component.css, $(capture).component.scss, $(capture).component.sass, $(capture).component.less',
'*.tsx': '$(capture).ts, $(capture).*.tsx, $(capture)_*.ts, $(capture)_*.tsx, $(capture).less, $(capture).module.less, $(capture).scss, $(capture).module.scss',
'*.vue': '$(capture).*.ts, $(capture).*.js, $(capture).story.vue',
'*.md': '$(capture).*',
'shims.d.ts': '*.d.ts',
'*.cpp': '$(capture).hpp, $(capture).h, $(capture).hxx, $(capture).hh',
'*.cxx': '$(capture).hpp, $(capture).h, $(capture).hxx, $(capture).hh',
Expand Down

0 comments on commit b497837

Please sign in to comment.