[nvim] fix background colors on floats
This commit is contained in:
parent
48fd8862c7
commit
aacccb2fd0
|
@ -22,19 +22,16 @@ return {
|
|||
-- REQUIRED - you must specify a snippet engine
|
||||
expand = function(args)
|
||||
vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users.
|
||||
-- require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
|
||||
-- require('snippy').expand_snippet(args.body) -- For `snippy` users.
|
||||
-- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users.
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
completion = {
|
||||
border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
|
||||
winhighlight = "Normal:CmpNormal",
|
||||
border = "single",
|
||||
winhighlight = "Normal:Normal,FloatBorder:Normal,CursorLine:Visual,Search:None",
|
||||
},
|
||||
documentation = {
|
||||
border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
|
||||
winhighlight = "Normal:CmpNormal",
|
||||
border = "single",
|
||||
winhighlight = "Normal:Normal,FloatBorder:Normal,CursorLine:Visual,Search:None",
|
||||
},
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
|
|
|
@ -4,12 +4,10 @@ return {
|
|||
priority = 1000,
|
||||
config = function()
|
||||
local gruvbox = require("gruvbox")
|
||||
local palette = require("gruvbox.palette")
|
||||
|
||||
gruvbox.setup({
|
||||
overrides = {
|
||||
NormalFloat = { bg = palette.bg0 },
|
||||
CmpNormal = { bg = palette.bg0 },
|
||||
NormalFloat = { bg = "none" },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue