Skip to content

Commit 5dd7713

Browse files
committed
feat: add support for nvim-cmp floating menu
1 parent 1ef702b commit 5dd7713

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

lua/doom-one/config/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ local configuration = {
1515
neorg = true,
1616
barbar = true,
1717
bufferline = false,
18+
cmp = true,
1819
gitgutter = false,
1920
gitsigns = true,
2021
telescope = false,

lua/doom-one/init.lua

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,24 @@ doom_one.load_colorscheme = function()
597597

598598
-- }}}
599599

600+
-- Cmp {{{
601+
602+
if configuration.plugins_integrations.cmp then
603+
local cmp = {
604+
CmpItemAbbrMatch = {fg=blue,bg="NONE"},
605+
CmpItemAbbrMatchFuzzy = {fg=blue,bg="NONE"},
606+
}
607+
apply_highlight(cmp)
608+
high_link('CmpDocumentation', 'TSVariable')
609+
high_link('CmpDocumentationBorder', 'TSVariable')
610+
high_link('CmpItemAbbr', 'TSVariable')
611+
high_link('CmpItemAbbrDeprecated', 'TSComment')
612+
high_link('CmpItemKind', 'TSConstMacro')
613+
high_link('CmpItemMenu', 'TSComment')
614+
end
615+
616+
-- }}}
617+
600618
-- Gitgutter {{{
601619

602620
if configuration.plugins_integrations.gitgutter then

0 commit comments

Comments
 (0)