diff --git a/docs/configuration/recipes.md b/docs/configuration/recipes.md index 80cceca794..5a00d6eeeb 100644 --- a/docs/configuration/recipes.md +++ b/docs/configuration/recipes.md @@ -25,6 +25,23 @@ override nvim-cmp and add cmp-emoji Use `` for completion and snippets (supertab). +### blink.cmp + +```lua +{ + "Saghen/blink.cmp", + opts = { + keymap = { + preset = "enter", + [""] = { "select_next", "fallback" }, + [""] = { "select_prev", "fallback" }, + }, + }, + } +``` + +### nvim-cmp + ```lua { "hrsh7th/nvim-cmp", diff --git a/lua/recipes.lua b/lua/recipes.lua index 771efff001..c95f6b356e 100644 --- a/lua/recipes.lua +++ b/lua/recipes.lua @@ -11,7 +11,7 @@ return { end, }, - -- ## Supertab + -- ## Supertab for nvim-cmp -- -- Use `` for completion and snippets (supertab). { @@ -56,6 +56,20 @@ return { end, }, + -- ## Supertab for blink.cmp + -- + -- Use `` for completion and snippets (supertab). + { + "Saghen/blink.cmp", + opts = { + keymap = { + preset = "enter", + [""] = { "select_next", "fallback" }, + [""] = { "select_prev", "fallback" }, + }, + }, + }, + -- ## Change surround mappings { "echasnovski/mini.surround",