diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-04-29 22:10:40 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-04-29 22:10:40 +0200 |
| commit | cc97f02607291b4d82d48b14109acc484c0e9bd2 (patch) | |
| tree | 97ebb98932d4f39d42ae910b7e20865c792be35d /lua/pml68/configs/cmp.lua | |
| parent | feat: map Esc in normal mode to :nohl (diff) | |
| download | nvim-cc97f02607291b4d82d48b14109acc484c0e9bd2.tar.gz | |
feat: disable scrollbar for nvim-cmp, add cmp-buffer plugin and source
Diffstat (limited to 'lua/pml68/configs/cmp.lua')
| -rw-r--r-- | lua/pml68/configs/cmp.lua | 4 |
1 files changed, 3 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', |
