diff --git a/lua/plugins/blink.lua b/lua/plugins/blink.lua index ea32ea1..b802cb6 100644 --- a/lua/plugins/blink.lua +++ b/lua/plugins/blink.lua @@ -13,6 +13,7 @@ return { -- `kind` is not set, so the default value is "Copilot" } }, + 'dmitmel/cmp-cmdline-history', 'folke/lazydev.nvim', 'L3MON4D3/LuaSnip', { @@ -112,6 +113,10 @@ return { module = 'blink.compat.source', async = true }, + cmdline_history = { + name = 'cmdline_history', + module = 'blink.compat.source', + } }, }, @@ -121,7 +126,7 @@ return { -- Search forward and backward if type == '/' or type == '?' then return { 'buffer' } end -- Commands - if type == ':' or type == '@' then return { 'cmdline', 'buffer' } end + if type == ':' or type == '@' then return { 'cmdline', 'buffer', 'cmdline_history' } end return {} end, completion = {