From 0b2a208d27b6972d339d3147ea9f988bd3bc8c2c Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Tue, 18 Oct 2022 14:04:33 +0100 Subject: [PATCH] Remove arbitrary value snippet placeholder `&` doesn't always make sense as a placeholder, for example with the container queries plugin --- 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 74b2c26..4b1ca1d 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}${variant.hasDash ? '-' : ''}[\${1:&}]${sep}\${0}`, + newText: `${variant.name}${variant.hasDash ? '-' : ''}[\${1}]${sep}\${0}`, }, // command: { // title: '',