Skip to content

Commit cbc96a6

Browse files
tizu69thecrypticace
authored andcommitted
QOL: Add autocomplete for [*] utility helper
1 parent 375d0d9 commit cbc96a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,5 +2473,10 @@ async function knownUtilityFunctionArguments(state: State, fn: UtilityFn): Promi
24732473
description: "Support arbitrary URL functions, e.g. `{utility}-['url(…)']`",
24742474
})
24752475

2476+
args.push({
2477+
name: '[*]',
2478+
description: 'Support arbitrary values, e.g. `{utility}-[abc]`',
2479+
})
2480+
24762481
return args
24772482
}

0 commit comments

Comments
 (0)