From 4e649a844e96282bb4740aebfdbcf1ea3573c511 Mon Sep 17 00:00:00 2001 From: benjamin <32769527+benjaminjellis@users.noreply.github.com> Date: Sat, 7 Dec 2024 15:27:26 +0000 Subject: [PATCH] feat: add more nvim cmp --- .gitignore | 1 + lua/rose-pine.lua | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 9d118d2..8fa9fd6 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -565,6 +565,16 @@ local function set_highlights() CmpItemKindMethod = { link = "PreProc" }, CmpItemKindSnippet = { link = "String" }, CmpItemKindVariable = { link = "Identifier" }, + CmpItemMenu = { fg = palette.text }, + + CmpItemKindKeyword = { link = "Keyword" }, + CmpItemKindText = { fg = palette.text }, + CmpItemKindConstructor = { link = "@constructor" }, + CmpItemKindFolder = { link = "NvimTreeFolderIcon" }, + CmpItemKindModule = { link = "@module" }, + CmpItemKindConstant = { link = "Constant" }, + CmpItemKindProperty = { link = "@property" }, + CmpItemKindEnum = { link = "@lsp.type.enum" }, -- NeogitOrg/neogit -- https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/hl.lua#L109-L198