Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix `@layer` syntax highlighting (#637)
Signature
-----BEGIN PGP SIGNATURE----- wsBcBAABCAAQBQJjUSaRCRBK7hj4Ov3rIwAAW+cIACb+Hva4qsR1dWTh6lBuHSrn tjqHv7k7LyK2azAWHY9bwgd6wdgHrEm4fNpT9lgfw/UvkOzvIqP5EiB6oMajoXwa 9jrsbQ85zOo5UyuhuHVcMo1jqQX7bsX6wj4FVLCdPZoO//HkM9dG5eD/0eLbGFbv WAUYUT9X8+E4+u4bY+3XNaLFn04Vj/1lC8/XVBRHx/BxHglE0MVCmuOT4Y58vhTx 5B9GIBGXIN4MANFLKaNS/Nv7eAxjtAwxaXTESpKjoyPMKu7i0Z5w49nHVlOzY2M3 hbIZxv2caF2ec3Ih8tHvMAkge0JoTgWxiIQyDbNyR+LfTVu+V2/s96865WBXjyk= =Hvkr -----END PGP SIGNATURE-----
Brad Cornes <hello@bradley.dev>
2 years ago
3 changed files, 32 additions(+), 6 deletions(-)
M packages/vscode-tailwindcss/syntaxes/at-rules.postcss.tmLanguage.json -> packages/vscode-tailwindcss/syntaxes/at-rules.postcss.tmLanguage.json
diff --git a/packages/vscode-tailwindcss/syntaxes/at-rules.postcss.tmLanguage.json b/packages/vscode-tailwindcss/syntaxes/at-rules.postcss.tmLanguage.json
index 749db63bf0b1b21d41da4e6371950b5f7f10aad8..1a09a6db4b17960f2191c6d8e057755cbb500a2c 100644
--- a/packages/vscode-tailwindcss/syntaxes/at-rules.postcss.tmLanguage.json
+++ b/packages/vscode-tailwindcss/syntaxes/at-rules.postcss.tmLanguage.json
@@ -91,7 +91,7 @@         "2": {
           "name": "punctuation.definition.keyword.css"
         }
       },
-      "end": "(?<=})(?!\\G)",
+      "end": "(?<=}|;)(?!\\G)",
       "patterns": [
         {
           "include": "source.css#comment-block"
@@ -100,10 +100,19 @@         {
           "include": "source.css.postcss#double-slash"
         },
         {
+          "match": "[^\\s{;,]+?",
+          "name": "variable.parameter.layer.tailwind"
+        },
+  "scopeName": "tailwindcss.at-rules.injection",
   "fileTypes": [],
+          "match": ",",
+    {
   "injectionSelector": "L:source.css.postcss -comment",
+        },
+        {
+    {
   "name": "TailwindCSS",
-  "scopeName": "tailwindcss.at-rules.injection",
+          "name": "punctuation.terminator.rule.css"
         },
         {
           "begin": "{",
M packages/vscode-tailwindcss/syntaxes/at-rules.scss.tmLanguage.json -> packages/vscode-tailwindcss/syntaxes/at-rules.scss.tmLanguage.json
diff --git a/packages/vscode-tailwindcss/syntaxes/at-rules.scss.tmLanguage.json b/packages/vscode-tailwindcss/syntaxes/at-rules.scss.tmLanguage.json
index f29de6489aff77b82c743e48eaca3c6ddfa7865c..aede5e167864200e05a9ba9e6432fead1e13ad88 100644
--- a/packages/vscode-tailwindcss/syntaxes/at-rules.scss.tmLanguage.json
+++ b/packages/vscode-tailwindcss/syntaxes/at-rules.scss.tmLanguage.json
@@ -65,14 +65,22 @@         "2": {
           "name": "punctuation.definition.keyword.css"
         }
       },
-      "end": "\\s*(?={)",
+      "end": "\\s*(?={|;)",
       "patterns": [
         {
           "include": "source.css#comment-block"
         },
         {
-          "match": "[^\\s{]+?",
+          "match": "[^\\s{;,]+?",
           "name": "entity.name.function.scss"
+        },
+        {
+          "match": ",",
+          "name": "punctuation.separator.delimiter.scss"
+        },
+        {
+          "match": ";",
+          "name": "punctuation.terminator.rule.scss"
         }
       ]
     },
M packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json -> packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json
diff --git a/packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json b/packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json
index 5933e54ee4cca6135c9b6fab11446cb76958f923..fd1e707653d58324bb88a3659b90bc11f28a7a8f 100644
--- a/packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json
+++ b/packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json
@@ -85,16 +85,25 @@         "2": {
           "name": "punctuation.definition.keyword.css"
         }
       },
-      "end": "(?<=})(?!\\G)",
+      "end": "(?<=}|;)(?!\\G)",
       "patterns": [
         {
           "include": "source.css#comment-block"
         },
         {
+          "match": "[^\\s{;,]+?",
+          "name": "variable.parameter.layer.tailwind"
+        },
+  "scopeName": "tailwindcss.at-rules.injection",
   "fileTypes": [],
+    {
   "fileTypes": [],
+          "name": "punctuation.separator.list.comma.css"
+        },
+        {
+    {
   "name": "TailwindCSS",
-{
+          "name": "punctuation.terminator.rule.css"
         },
         {
           "begin": "{",