Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typo vbindShorthand to vBindShorthand #3995

Merged
merged 1 commit into from Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Expand Up @@ -427,7 +427,7 @@
"default": false,
"description": "Show inlay hints for component options wrapper for type support."
},
"vue.inlayHints.vbindShorthand": {
"vue.inlayHints.vBindShorthand": {
"type": "boolean",
"default": false,
"description": "Show inlay hints for v-bind shorthand."
Expand Down
4 changes: 2 additions & 2 deletions packages/language-core/lib/generators/template.ts
Expand Up @@ -1303,11 +1303,11 @@ export function* generate(
prop.exp.loc.end.offset,
disableAllFeatures({
__hint: {
setting: 'vue.inlayHints.vbindShorthand',
setting: 'vue.inlayHints.vBindShorthand',
label: `="${propVariableName}"`,
tooltip: [
`This is a shorthand for \`${prop.exp.loc.source}="${propVariableName}"\`.`,
'To hide this hint, set `vue.inlayHints.vbindShorthand` to `false` in IDE settings.',
'To hide this hint, set `vue.inlayHints.vBindShorthand` to `false` in IDE settings.',
'[More info](https://github.com/vuejs/core/pull/9451)',
].join('\n\n'),
},
Expand Down