updated with new ts
authorhampus <hampus.hauffman@wearelevels.com>
Wed, 9 Nov 2022 13:40:54 +0000 (14:40 +0100)
committerhampus <hampus.hauffman@wearelevels.com>
Wed, 9 Nov 2022 13:40:54 +0000 (14:40 +0100)
lua/dracula/groups.lua

index 439a381e8a94fa0a73e1b8995be5e6f1e74502fb..e3d6b137d0769b375de6ee9d0385d8131d5796d0 100644 (file)
@@ -359,31 +359,31 @@ local function setup(configs)
       -- Cmp
       CmpItemKind = { link = "Pmenu" },
       CmpItemAbbr = { link = "Pmenu" },
-      CmpItemKindMethod = { link = "TSMethod" },
-      CmpItemKindText = { link = "TSText" },
-      CmpItemKindFunction = { link = "TSFunction" },
-      CmpItemKindConstructor = { link = "TSType" },
-      CmpItemKindVariable = { link = "TSVariable" },
-      CmpItemKindClass = { link = "TSType" },
-      CmpItemKindInterface = { link = "TSType" },
-      CmpItemKindModule = { link = "TSNamespace" },
-      CmpItemKindProperty = { link = "TSProperty" },
-      CmpItemKindOperator = { link = "TSOperator" },
-      CmpItemKindReference = { link = "TSParameterReference" },
-      CmpItemKindUnit = { link = "TSField" },
-      CmpItemKindValue = { link = "TSField" },
-      CmpItemKindField = { link = "TSField" },
-      CmpItemKindEnum = { link = "TSField" },
-      CmpItemKindKeyword = { link = "TSKeyword" },
-      CmpItemKindSnippet = { link = "TSText" },
-      CmpItemKindColor = { link = "cssColor" },
+      CmpItemKindMethod = { link = "@method" },
+      CmpItemKindText = { link = "@text" },
+      CmpItemKindFunction = { link = "@function" },
+      CmpItemKindConstructor = { link = "@type" },
+      CmpItemKindVariable = { link = "@variable" },
+      CmpItemKindClass = { link = "@type" },
+      CmpItemKindInterface = { link = "@type" },
+      CmpItemKindModule = { link = "@namespace" },
+      CmpItemKindProperty = { link = "@property" },
+      CmpItemKindOperator = { link = "@operator" },
+      CmpItemKindReference = { link = "@parameter.reference" },
+      CmpItemKindUnit = { link = "@field" },
+      CmpItemKindValue = { link = "@field" },
+      CmpItemKindField = { link = "@field" },
+      CmpItemKindEnum = { link = "@field" },
+      CmpItemKindKeyword = { link = "@keyword" },
+      CmpItemKindSnippet = { link = "@text" },
+      CmpItemKindColor = { link = "DevIconCss" },
       CmpItemKindFile = { link = "TSURI" },
       CmpItemKindFolder = { link = "TSURI" },
-      CmpItemKindEvent = { link = "TSConstant" },
-      CmpItemKindEnumMember = { link = "TSField" },
-      CmpItemKindConstant = { link = "TSConstant" },
-      CmpItemKindStruct = { link = "TSStructure" },
-      CmpItemKindTypeParameter = { link = "TSParameter" },
+      CmpItemKindEvent = { link = "@constant" },
+      CmpItemKindEnumMember = { link = "@field" },
+      CmpItemKindConstant = { link = "@constant" },
+      CmpItemKindStruct = { link = "@structure" },
+      CmpItemKindTypeParameter = { link = "@parameter" },
 
       -- navic
       NavicIconsFile = { link = "CmpItemKindFile" },