Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix for number values in config() completion items (#9)
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 34832a3333ea8024a169da7c9fadf44a9bdc4c0a..0e7d70b9c319b92521ed2e4100c03d73653bde39 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -370,7 +370,7 @@
       item.filterText = item.insertText = `${prefix}${key}`
       item.sortText = naturalExpand(i.toString())
       if (typeof config[key] === 'string' || typeof config[key] === 'number') {
-        item.detail = config[key]
+        item.detail = config[key].toString()
 
         let color = getColorFromValue(item.detail)
         if (color) {