aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/pml68/configs/cmp.lua4
-rw-r--r--lua/pml68/plugins.lua1
2 files changed, 4 insertions, 1 deletions
diff --git a/lua/pml68/configs/cmp.lua b/lua/pml68/configs/cmp.lua
index bffb09a..eb25218 100644
--- a/lua/pml68/configs/cmp.lua
+++ b/lua/pml68/configs/cmp.lua
@@ -3,14 +3,16 @@ local cmp = require("cmp")
cmp.setup({
sources = {
{ name = 'nvim_lsp' },
- { name = 'path' },
+ { name = 'buffer' },
{ name = 'vimtex' },
{ name = 'crates' },
+ { name = 'path' },
},
window = {
completion = {
border = "rounded",
winhighlight = "Normal:Normal",
+ scrollbar = false,
}
},
preselect = 'item',
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua
index 4c206a9..f2be37e 100644
--- a/lua/pml68/plugins.lua
+++ b/lua/pml68/plugins.lua
@@ -42,6 +42,7 @@ local plugins = {
end,
},
"hrsh7th/cmp-nvim-lsp",
+ "hrsh7th/cmp-buffer",
"hrsh7th/cmp-path"
},
config = function()