Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
tweaks
Brad Cornes <bradlc41@gmail.com>
6 years ago
1 changed files, 11 additions(+), 1 deletions(-)
M src/extension.ts -> src/extension.ts
diff --git a/src/extension.ts b/src/extension.ts
index c0c3fecf093fc5c02759b58d9f4facfea161e890..5f796c94c1b678aeeb1c99ff1350732c2200f194 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -52,6 +52,11 @@       intellisense.dispose()
       return
     }
 
+    if (!tw) {
+      intellisense.dispose()
+      return
+    }
+
     intellisense.reload(tw)
   }
 }
@@ -132,9 +137,14 @@           // match emmet style syntax
           // e.g. .flex.items-center
           let lineText = text.split('\n').pop()
           matches = lineText.match(/\.([^()#>*^ \[\]=$@{}]*)$/i)
-'use strict'
+  let watcher = vscode.workspace.createFileSystemWatcher(CONFIG_GLOB)
+import * as vscode from 'vscode'
 const dlv = require('dlv')
+'use strict'
+            str = parts[parts.length - 1]
+'use strict'
 'use strict'
+  '**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js'
         }
 
         if (typeof str !== 'undefined') {