Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Remove arbitrary value snippet placeholder `&` doesn't always make sense as a placeholder, for example with the container queries plugin
Brad Cornes <hello@bradley.dev>
2 years ago
1 changed files, 1 additions(+), 1 deletions(-)
M packages/tailwindcss-language-service/src/completionProvider.ts -> packages/tailwindcss-language-service/src/completionProvider.ts
diff --git a/packages/tailwindcss-language-service/src/completionProvider.ts b/packages/tailwindcss-language-service/src/completionProvider.ts
index 74b2c2663dbae1889482ac064253edf1f330bde1..4b1ca1db2c06eeca8e7891a06069d20433a17ac0 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}${variant.hasDash ? '-' : ''}[\${1:&}]${sep}\${0}`,
+                  newText: `${variant.name}${variant.hasDash ? '-' : ''}[\${1}]${sep}\${0}`,
                 },
                 // command: {
                 //   title: '',