From 3847cd0791517c43194c4ea114fa43b0062a634c Mon Sep 17 00:00:00 2001 From: hampus Date: Wed, 9 Nov 2022 14:40:54 +0100 Subject: [PATCH] updated with new ts --- lua/dracula/groups.lua | 46 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/lua/dracula/groups.lua b/lua/dracula/groups.lua index 439a381..e3d6b13 100644 --- a/lua/dracula/groups.lua +++ b/lua/dracula/groups.lua @@ -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" }, -- 2.30.2