tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/src/server.ts b/src/server.ts
index 36ecf7301138031e65f98346043fc47147587e49..86deab99d626a6d771805db871a522bb12b58c24 100644
--- a/src/server.ts
+++ b/src/server.ts
@@ -586,6 +586,9 @@ // inject JIT `matchUtilities` function
if (Array.isArray(exports.plugins)) {
userPlugins = exports.plugins
exports.plugins = exports.plugins.map((plugin) => {
+ if (plugin.__isOptionsFunction) {
+ plugin = plugin()
+ }
if (typeof plugin === 'function') {
let newPlugin = (...args) => {
if (!args[0].matchUtilities) {