Ver Fonte

feat(cmp): documentation is deprecated in favor of window.documentation (#2461)

Abouzar Parvan há 3 anos atrás
pai
commit
332e974b53
2 ficheiros alterados com 4 adições e 3 exclusões
  1. 3 2
      lua/lvim/core/cmp.lua
  2. 1 1
      snapshots/default.json

+ 3 - 2
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" },

+ 1 - 1
snapshots/default.json

@@ -51,7 +51,7 @@
     "commit": "6fb0479"
   },
   "nvim-cmp": {
-    "commit": "3192a0c"
+    "commit": "dbc7229"
   },
   "nvim-dap": {
     "commit": "10b5781"