Skip to content

Commit a551817

Browse files
committed
VSCode: Add extension metadata to data file and install Vim extension
1 parent 13a3a8b commit a551817

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

home/.chezmoidata/vscode.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
vscode_extensions:
2-
- catppuccin.catppuccin-vsc
2+
- id: catppuccin.catppuccin-vsc
3+
name: "Catppuccin for VSCode"
4+
description: "Soothing pastel theme for VSCode"
5+
- id: vscodevim.vim
6+
name: "Vim"
7+
description: "Vim emulation for Visual Studio Code"

home/.chezmoiscripts/run_onchange_after_040-install-vscode-extensions.sh.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ if ! dot::has_command code; then
1313
fi
1414

1515
{{ range .vscode_extensions -}}
16-
code --install-extension {{ . | quote }}
16+
# {{ .name }}: {{ .description }}
17+
code --install-extension {{ .id | quote }}
1718
{{ end -}}
1819

1920
dot::step::done

0 commit comments

Comments
 (0)