Skip to content

Commit

Permalink
fix nvim-cmp mapping (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwgrth authored Sep 14, 2024
1 parent 3ed337f commit 8ea7944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kickstart-python.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ local plugins = {
-- Define the mappings for the completion. The `fallback()` call
-- ensures that when there is no suggestion window open, the mapping
-- falls back to the default behavior (adding indentation).
mappings = cmp.mapping.preset.insert({
mapping = cmp.mapping.preset.insert({
["<CR>"] = cmp.mapping.confirm({ select = true }), -- true = autoselect first entry
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
Expand Down

0 comments on commit 8ea7944

Please sign in to comment.