diff --git a/packages/language-service/lib/plugins/css.ts b/packages/language-service/lib/plugins/css.ts index 9c6128dc2a..0ecdc30d5c 100644 --- a/packages/language-service/lib/plugins/css.ts +++ b/packages/language-service/lib/plugins/css.ts @@ -9,6 +9,9 @@ export function create(): LanguageServicePlugin { const baseInstance = base.create(context); return { ...baseInstance, + async provideRenameEdits() { + return undefined; + }, async provideDiagnostics(document, token) { let diagnostics = await baseInstance.provideDiagnostics?.(document, token) ?? []; if (document.languageId === 'postcss') { diff --git a/test-workspace/language-service/rename/#4677/input/entry.vue b/test-workspace/language-service/rename/#4677/input/entry.vue new file mode 100644 index 0000000000..6d81bccf13 --- /dev/null +++ b/test-workspace/language-service/rename/#4677/input/entry.vue @@ -0,0 +1,8 @@ + + + \ No newline at end of file diff --git a/test-workspace/language-service/rename/#4677/output/entry.vue b/test-workspace/language-service/rename/#4677/output/entry.vue new file mode 100644 index 0000000000..e838f0ac61 --- /dev/null +++ b/test-workspace/language-service/rename/#4677/output/entry.vue @@ -0,0 +1,8 @@ + + + \ No newline at end of file