diff options
author | Abouzar Parvan <[email protected]> | 2022-04-14 23:17:06 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-14 23:17:06 +0430 |
commit | 332e974b53d8053a7102f669141cdc054d3f20d5 (patch) | |
tree | 980bd03b5ec266e09ff1d146fd2155c3ccecb9ed | |
parent | b4d5f093a5607d3f14cbf90aebfb25036c3ee272 (diff) |
feat(cmp): documentation is deprecated in favor of window.documentation (#2461)
-rw-r--r-- | lua/lvim/core/cmp.lua | 5 | ||||
-rw-r--r-- | snapshots/default.json | 2 |
2 files changed, 4 insertions, 3 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" }, diff --git a/snapshots/default.json b/snapshots/default.json index 99584487..eb242de0 100644 --- a/snapshots/default.json +++ b/snapshots/default.json @@ -51,7 +51,7 @@ "commit": "6fb0479" }, "nvim-cmp": { - "commit": "3192a0c" + "commit": "dbc7229" }, "nvim-dap": { "commit": "10b5781" |