aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68
diff options
context:
space:
mode:
Diffstat (limited to 'lua/pml68')
-rw-r--r--lua/pml68/configs/cmp.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/lua/pml68/configs/cmp.lua b/lua/pml68/configs/cmp.lua
index 2afd88b..12383bb 100644
--- a/lua/pml68/configs/cmp.lua
+++ b/lua/pml68/configs/cmp.lua
@@ -10,11 +10,20 @@ cmp.setup({
}, {
{ name = 'buffer' },
}),
+ snippet = {
+ expand = function (args)
+ vim.snippet.expand(args.body)
+ end,
+ },
window = {
completion = {
border = "rounded",
scrollbar = false,
- }
+ },
+ documentation = {
+ border = "rounded",
+ scrollbar = false,
+ },
},
preselect = 'item',
completion = {