aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-04-20 20:12:35 +0200
committerDamjan 9000 <damjan.9000@gmail.com>2024-04-20 20:12:35 +0200
commit98134335b8d33d52e8d8313058be3fa98a0fdce8 (patch)
treef045477effae4eb5aded974e5f4234f19e3385b4 /lua
parent77119da9419cb8753425e20f9d20e21783472013 (diff)
parent2e68a2c2532d1575b717721a34efa033f4d7a88e (diff)
Merge 'upstream' example of the classic complete keymaps
- Add a commented out example of the classic complete keymaps. - Minor improvements of debian install instructions.
Diffstat (limited to 'lua')
-rw-r--r--lua/kickstart/plugins/cmp.lua6
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.