Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
tweak emmet regex
Brad Cornes <bradlc41@gmail.com>
6 years ago
1 changed files, 1 additions(+), 1 deletions(-)
M src/extension.ts -> src/extension.ts
diff --git a/src/extension.ts b/src/extension.ts
index 1766ec50b831b28d4806907e5645f3bf0c1eefcd..fd552df0330b3610650c27f8cfbc485a0fb6f18f 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -130,7 +130,7 @@         } else if (languages.indexOf('html') !== -1) {
           // match emmet style syntax
           // e.g. .flex.items-center
           let lineText = text.split('\n').pop()
-          matches = lineText.match(/^\s*[a-z-]*\.(.*?)$/i)
+          matches = lineText.match(/\.([^()#>*^ \[\]=$@{}]*)$/i)
           let parts = matches[matches.length - 1].split('.')
           str = parts[parts.length - 1]
         }