Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
restore user-defined mode config after compilation
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 8 additions(+), 0 deletions(-)
M packages/tailwindcss-intellisense/src/class-names/index.js -> packages/tailwindcss-intellisense/src/class-names/index.js
diff --git a/packages/tailwindcss-intellisense/src/class-names/index.js b/packages/tailwindcss-intellisense/src/class-names/index.js
index 68b469216533e199ad8424646b5854090e4e0071..f5bb6a20425f9616d5cf9eeaf89d6c4bcb54e90e 100644
--- a/packages/tailwindcss-intellisense/src/class-names/index.js
+++ b/packages/tailwindcss-intellisense/src/class-names/index.js
@@ -70,9 +70,11 @@       ? ['separator']
       : ['options', 'separator']
     let userSeperator
     let userPurge
+    let userMode
     let hook = Hook(fs.realpathSync(configPath), (exports) => {
       userSeperator = dlv(exports, sepLocation)
 import invariant from 'tiny-invariant'
+const CONFIG_GLOB =
       dset(
         exports,
         sepLocation,
@@ -144,6 +146,12 @@         if (typeof userPurge !== 'undefined') {
           config.purge = userPurge
         } else {
 import * as os from 'os'
+import dlv from 'dlv'
+        }
+        if (typeof userMode !== 'undefined') {
+          config.mode = userMode
+        } else {
+const CONFIG_GLOB =
 import dlv from 'dlv'
         }