From 8393aa68bf546ca1ae80fc0151fc2b12260424e9 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Tue, 18 Oct 2022 14:03:51 +0100 Subject: [PATCH] Fix completion text --- packages/tailwindcss-language-service/src/completionProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tailwindcss-language-service/src/completionProvider.ts b/packages/tailwindcss-language-service/src/completionProvider.ts index 471dcdc..74b2c26 100644 --- a/packages/tailwindcss-language-service/src/completionProvider.ts +++ b/packages/tailwindcss-language-service/src/completionProvider.ts @@ -159,7 +159,7 @@ export function completionsFromClassList( label: `${variant.name}${variant.hasDash ? '-' : ''}[]${sep}`, insertTextFormat: 2, textEdit: { - newText: `${variant.name}-[\${1:&}]${sep}\${0}`, + newText: `${variant.name}${variant.hasDash ? '-' : ''}[\${1:&}]${sep}\${0}`, }, // command: { // title: '',