tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
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]
}