Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
compare scope when determining css conflicts (#134)
Brad Cornes <bradlc41@gmail.com>
4 years ago
1 changed files, 2 additions(+), 1 deletions(-)
M src/lsp/providers/diagnostics/getCssConflictDiagnostics.ts -> src/lsp/providers/diagnostics/getCssConflictDiagnostics.ts
diff --git a/src/lsp/providers/diagnostics/getCssConflictDiagnostics.ts b/src/lsp/providers/diagnostics/getCssConflictDiagnostics.ts
index 73da4869da22efd201be30ab434b9f61a0a5b3b6..edd7618d85ce4752ac42922863c8deaf84c1b332 100644
--- a/src/lsp/providers/diagnostics/getCssConflictDiagnostics.ts
+++ b/src/lsp/providers/diagnostics/getCssConflictDiagnostics.ts
@@ -44,7 +44,8 @@           equal(properties, Object.keys(otherDecls)) &&
           !Array.isArray(meta) &&
           !Array.isArray(otherMeta) &&
           equal(meta.context, otherMeta.context) &&
-          equal(meta.pseudo, otherMeta.pseudo)
+          equal(meta.pseudo, otherMeta.pseudo) &&
+          meta.scope === otherMeta.scope
         )
       })