From 9cf5dd46d293912693fca8c3f9f21fa578d39044 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Mon, 27 Nov 2023 19:04:46 +0800 Subject: [PATCH] fix prop completion [ckip ci] --- packages/language-core/src/generators/template.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/language-core/src/generators/template.ts b/packages/language-core/src/generators/template.ts index 481d4e4c6b..b4799643c3 100644 --- a/packages/language-core/src/generators/template.ts +++ b/packages/language-core/src/generators/template.ts @@ -1314,18 +1314,18 @@ export function generate( let caps_attr: VueCodeInformation = presetInfos.attr; if (mode === 'extraReferences') { - caps_all = { + caps_all = withAllDisabled({ references: caps_all.references, renameEdits: caps_all.renameEdits, - }; - caps_diagnosticOnly = { + }); + caps_diagnosticOnly = withAllDisabled({ references: caps_diagnosticOnly.references, renameEdits: caps_diagnosticOnly.renameEdits, - }; - caps_attr = { + }); + caps_attr = withAllDisabled({ references: caps_attr.references, renameEdits: caps_attr.renameEdits, - }; + }); } codes.push(`...{ `);