summaryrefslogtreecommitdiff
path: root/lua/lvim/core
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2022-04-14 23:17:06 +0430
committerGitHub <[email protected]>2022-04-14 23:17:06 +0430
commit332e974b53d8053a7102f669141cdc054d3f20d5 (patch)
tree980bd03b5ec266e09ff1d146fd2155c3ccecb9ed /lua/lvim/core
parentb4d5f093a5607d3f14cbf90aebfb25036c3ee272 (diff)
feat(cmp): documentation is deprecated in favor of window.documentation (#2461)
Diffstat (limited to 'lua/lvim/core')
-rw-r--r--lua/lvim/core/cmp.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/lvim/core/cmp.lua b/lua/lvim/core/cmp.lua
index 621e2b6d..8fb18c5f 100644
--- a/lua/lvim/core/cmp.lua
+++ b/lua/lvim/core/cmp.lua
@@ -232,8 +232,9 @@ M.config = function()
require("luasnip").lsp_expand(args.body)
end,
},
- documentation = {
- border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
+ window = {
+ completion = cmp.config.window.bordered(),
+ documentation = cmp.config.window.bordered(),
},
sources = {
{ name = "nvim_lsp" },