diff --git a/nvim/init.lua b/nvim/init.lua index 14fd7d6..0655742 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -651,6 +651,12 @@ require('lazy').setup({ luasnip.config.setup {} cmp.setup { + window = { + -- Optionally add a border to the completions windows. + -- Does not affect the -k window. + -- completion = cmp.config.window.bordered(), + -- documentation = cmp.config.window.bordered(), + }, snippet = { expand = function(args) luasnip.lsp_expand(args.body) @@ -756,6 +762,14 @@ require('lazy').setup({ telescope = true, which_key = true, }, + custom_highlights = function(C) + return { + WinSeparator = { fg = C.pink }, + NormalFloat = { bg = C.crust }, + Pmenu = { bg = C.crust }, + PmenuSel = { fg = C.text, bg = C.surface0, style = { 'bold' } }, + } + end, }, init = function() vim.cmd.colorscheme 'catppuccin'