From 979d549f6fb7f2c11e0e12dd4716ff8163ea3cfb Mon Sep 17 00:00:00 2001 From: Arsen Kitov Date: Thu, 16 Nov 2023 20:24:42 +0100 Subject: [PATCH] feat: add special kind to allow view configuration --- lua/cmp_copilot/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/cmp_copilot/init.lua b/lua/cmp_copilot/init.lua index d5fdc51..aa9feb6 100644 --- a/lua/cmp_copilot/init.lua +++ b/lua/cmp_copilot/init.lua @@ -22,6 +22,10 @@ source.complete = function(self, params, callback) range = item.range, newText = item.text, }, + cmp = { + kind_hl_group = "CmpItemKindCopilot", + kind_text = 'Copilot', + }, documentation = { kind = 'markdown', value = table.concat({