diff options
| author | pml68 <tutorialmester@gmail.com> | 2024-04-28 23:20:18 +0200 |
|---|---|---|
| committer | pml68 <tutorialmester@gmail.com> | 2024-04-28 23:20:18 +0200 |
| commit | 690a4cab3d440478eba70b48d073970a579e30b8 (patch) | |
| tree | c75beeea10eea6bde78e028747e82e7b4fdbe8b1 /lua/pml68/configs/cmp.lua | |
| parent | feat: add git related things to nvim-treesitter's "ensure_installed" array (diff) | |
| download | nvim-690a4cab3d440478eba70b48d073970a579e30b8.tar.gz | |
style: formatting
Diffstat (limited to 'lua/pml68/configs/cmp.lua')
| -rw-r--r-- | lua/pml68/configs/cmp.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lua/pml68/configs/cmp.lua b/lua/pml68/configs/cmp.lua index 91d1b5e..bffb09a 100644 --- a/lua/pml68/configs/cmp.lua +++ b/lua/pml68/configs/cmp.lua @@ -2,10 +2,10 @@ local cmp = require("cmp") cmp.setup({ sources = { - {name = 'nvim_lsp'}, - {name = 'path'}, - {name = 'vimtex'}, - {name = 'crates'}, + { name = 'nvim_lsp' }, + { name = 'path' }, + { name = 'vimtex' }, + { name = 'crates' }, }, window = { completion = { @@ -18,9 +18,9 @@ cmp.setup({ completeopt = 'menu,menuone,noinsert' }, mapping = cmp.mapping.preset.insert({ - ['<CR>'] = cmp.mapping.confirm({select = true}), - ['<S-Tab>'] = cmp.mapping.select_prev_item({behavior = 'select'}), - ['<Tab>'] = cmp.mapping.select_next_item({behavior = 'select'}), + ['<CR>'] = cmp.mapping.confirm({ select = true }), + ['<S-Tab>'] = cmp.mapping.select_prev_item({ behavior = 'select' }), + ['<Tab>'] = cmp.mapping.select_next_item({ behavior = 'select' }), }), snippet = { expand = function(args) |
