aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/configs/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/pml68/configs/cmp.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/pml68/configs/cmp.lua b/lua/pml68/configs/cmp.lua
index eb25218..1f30321 100644
--- a/lua/pml68/configs/cmp.lua
+++ b/lua/pml68/configs/cmp.lua
@@ -1,17 +1,17 @@
local cmp = require("cmp")
cmp.setup({
- sources = {
+ sources = cmp.config.sources({
{ name = 'nvim_lsp' },
- { name = 'buffer' },
- { name = 'vimtex' },
- { name = 'crates' },
{ name = 'path' },
- },
+ { name = 'vimtex' },
+ { name = 'crates' }
+ }, {
+ { name = 'buffer' },
+ }),
window = {
completion = {
border = "rounded",
- winhighlight = "Normal:Normal",
scrollbar = false,
}
},