diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-05-02 23:28:36 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-05-02 23:28:36 +0200 |
| commit | 817c412a6d73e55262456da9772d1ec60a937523 (patch) | |
| tree | d5cd88d8b468071b7311abc968028e61fadbd0f1 /lua/pml68/configs/cmp.lua | |
| parent | chore: change most lsp settings files' modes from executable(755) to normal(666) (diff) | |
| download | nvim-817c412a6d73e55262456da9772d1ec60a937523.tar.gz | |
refactor: minor things(lua_ls and cmp opts)
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/configs/cmp.lua | 12 |
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, } }, |
