Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
add tailwind-config.js to config file glob
Brad Cornes <bradlc41@gmail.com>
6 years ago
2 changed files, 2 additions(+), 2 deletions(-)
M package.json -> package.json
diff --git a/package.json b/package.json
index 5b0e4e3fe42ba4af1911190195384391faf3e20d..431bacea3e2c66d3726088960a097a83f4510e33 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@     "autocomplete",
     "vscode"
   ],
   "activationEvents": [
-    "workspaceContains:**/{tailwind,tailwind.config,.tailwindrc}.js"
+    "workspaceContains:**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js"
   ],
   "main": "./out/extension",
   "contributes": {},
M src/extension.ts -> src/extension.ts
diff --git a/src/extension.ts b/src/extension.ts
index e845ec5ae629398540a36924ddb152b482fcb7b9..56e88519b19ea89ad7a20539893723b31ca6742f 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -7,7 +7,7 @@ // const tailwindClassNames = require('/Users/brad/Code/tailwind-class-names/dist')
 const dlv = require('dlv')
 const Color = require('color')
 
-const CONFIG_GLOB = '{tailwind,tailwind.config,.tailwindrc}.js'
+const CONFIG_GLOB = '{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js'
 
 export async function activate(context: vscode.ExtensionContext) {
   let tw