diff options
Diffstat (limited to 'lua/kickstart')
-rw-r--r-- | lua/kickstart/plugins/cmp.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/kickstart/plugins/cmp.lua b/lua/kickstart/plugins/cmp.lua index 6d893aa..de63086 100644 --- a/lua/kickstart/plugins/cmp.lua +++ b/lua/kickstart/plugins/cmp.lua @@ -68,6 +68,12 @@ return { -- This will expand snippets if the LSP sent a snippet. ['<C-y>'] = cmp.mapping.confirm { select = true }, + -- If you prefer more traditional completion keymaps, + -- you can uncomment the following lines + --['<CR>'] = cmp.mapping.confirm { select = true }, + --['<Tab>'] = cmp.mapping.select_next_item(), + --['<S-Tab>'] = cmp.mapping.select_prev_item(), + -- Manually trigger a completion from nvim-cmp. -- Generally you don't need this, because nvim-cmp will display -- completions whenever it has completion options available. |