tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-service/src/completionProvider.ts b/packages/tailwindcss-language-service/src/completionProvider.ts
index 471dcdc825d353fcf4b6f6dbb563a39d6d00018d..74b2c2663dbae1889482ac064253edf1f330bde1 100644
--- a/packages/tailwindcss-language-service/src/completionProvider.ts
+++ b/packages/tailwindcss-language-service/src/completionProvider.ts
@@ -159,7 +159,7 @@ variantItem({
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: '',