Skip to content

Commit 0b2a208

Browse files
committed
Remove arbitrary value snippet placeholder
`&` doesn't always make sense as a placeholder, for example with the container queries plugin
1 parent 8393aa6 commit 0b2a208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tailwindcss-language-service/src/completionProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export function completionsFromClassList(
159159
label: `${variant.name}${variant.hasDash ? '-' : ''}[]${sep}`,
160160
insertTextFormat: 2,
161161
textEdit: {
162-
newText: `${variant.name}${variant.hasDash ? '-' : ''}[\${1:&}]${sep}\${0}`,
162+
newText: `${variant.name}${variant.hasDash ? '-' : ''}[\${1}]${sep}\${0}`,
163163
},
164164
// command: {
165165
// title: '',

0 commit comments

Comments
 (0)