From b3a829d2ba6344b5364fda71b5b7501f707d1bdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Augusto=20C=C3=A9sar=20Dias?= Date: Sat, 4 Dec 2021 14:14:58 +0100 Subject: [PATCH] Adding more cmp item kinds (#125) --- lua/tokyonight/theme.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index b9cf5b0..89d67f4 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -417,17 +417,32 @@ function M.setup(config) CmpItemKindDefault = { fg = c.fg_dark, bg = c.none }, CmpItemMenu = { fg = c.comment, bg = c.none }, + + CmpItemKindKeyword = { fg = c.cyan, bg = c.none }, CmpItemKindVariable = { fg = c.magenta, bg = c.none }, + CmpItemKindConstant = { fg = c.magenta, bg = c.none }, + CmpItemKindReference = { fg = c.magenta, bg = c.none }, + CmpItemKindValue = { fg = c.magenta, bg = c.none }, CmpItemKindFunction = { fg = c.blue, bg = c.none }, CmpItemKindMethod = { fg = c.blue, bg = c.none }, + CmpItemKindConstructor = { fg = c.blue, bg = c.none }, CmpItemKindClass = { fg = c.orange, bg = c.none }, CmpItemKindInterface = { fg = c.orange, bg = c.none }, + CmpItemKindStruct = { fg = c.orange, bg = c.none }, + CmpItemKindEvent = { fg = c.orange, bg = c.none }, + CmpItemKindEnum = { fg = c.orange, bg = c.none }, + CmpItemKindUnit = { fg = c.orange, bg = c.none }, + + CmpItemKindModule = { fg = c.yellow, bg = c.none }, CmpItemKindProperty = { fg = c.green1, bg = c.none }, CmpItemKindField = { fg = c.green1, bg = c.none }, + CmpItemKindTypeParameter = { fg = c.green1, bg = c.none }, + CmpItemKindEnumMember = { fg = c.green1, bg = c.none }, + CmpItemKindOperator = { fg = c.green1, bg = c.none }, CmpItemKindSnippet = { fg = c.dark5, bg = c.none }, }