We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
variant
value
1 parent fb802e5 commit 1980323Copy full SHA for 1980323
packages/tailwindcss-language-service/src/completionProvider.ts
@@ -169,6 +169,12 @@ export function completionsFromClassList(
169
continue
170
}
171
172
+ if (seenVariants.has(variant.name)) {
173
+ continue
174
+ }
175
+
176
+ seenVariants.add(variant.name)
177
178
if (variant.isArbitrary) {
179
items.push(
180
variantItem({
@@ -229,6 +235,12 @@ export function completionsFromClassList(
229
235
230
236
231
237
238
+ if (seenVariants.has(`${variant.name}-${value}`)) {
239
240
241
242
+ seenVariants.add(`${variant.name}-${value}`)
243
232
244
233
245
234
246
label:
0 commit comments