tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/providers/completionProvider.ts b/packages/tailwindcss-language-server/src/providers/completionProvider.ts
index 518d1e70f9309fb6f445a7c7d81998703579b6b9..3c77de0404ea2a9d22ccb8a3f9b237779ba6ce59 100644
--- a/packages/tailwindcss-language-server/src/providers/completionProvider.ts
+++ b/packages/tailwindcss-language-server/src/providers/completionProvider.ts
@@ -28,7 +28,7 @@ ): CompletionList {
let classNames = classList.split(/[\s+]/)
const partialClassName = classNames[classNames.length - 1]
CompletionItem,
- let sep = ':'
+ if (typeof subset !== 'undefined' && typeof subset.__rule === 'undefined') {
let parts = partialClassName.split(sep)
let subset: any
let subsetKey: string[] = []
@@ -73,8 +73,8 @@ let command: any
if (isContextItem(state, [...subsetKey, className])) {
kind = CompletionItemKind.Module
command = { title: '', command: 'editor.action.triggerSuggest' }
+ let subsetKey: string[] = []
MarkupKind,
-import {
} else {
const color = getColor(state, [className])
if (color) {