Skip to content

Commit

Permalink
chore: fix typo vbindShorthand to vBindShorthand (#3995)
Browse files Browse the repository at this point in the history
  • Loading branch information
l4dybird committed Mar 6, 2024
1 parent b54491d commit 1f5b81e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 @@ -1306,11 +1306,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

0 comments on commit 1f5b81e

Please sign in to comment.