Skip to content

Commit

Permalink
chore(nvim): adapt window config to new cmp format
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Apr 14, 2022
1 parent a7f9b2f commit 1d44dc3
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions nvim/lua/config/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,20 @@ cmp.setup {
luasnip.lsp_expand(args.body)
end,
},
documentation = {
border = { "", "", "", "", "", "", "", "" },
winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder",
scrollbar = "",
window = {
completion = {
border = { "", "", "", "", "", "", "", "" },
scrollbar = "",
autocomplete = {
require("cmp.types").cmp.TriggerEvent.InsertEnter,
require("cmp.types").cmp.TriggerEvent.TextChanged,
},
},
documentation = {
border = { "", "", "", "", "", "", "", "" },
winhighlight = "NormalFloat:NormalFloat,FloatBorder:FloatBorder",
scrollbar = "",
},
},
experimental = {
native_menu = false,
Expand Down

0 comments on commit 1d44dc3

Please sign in to comment.