Files
kickstart.nvim/lua/custom/plugins/cmp.toggle.lua
2025-01-02 02:50:24 -05:00

15 lines
421 B
Lua

return {
'hrsh7th/nvim-cmp',
dependencies = {
-- ...
-- This allows you to enable and disable the autocomplete popup:
{
'gitaarik/nvim-cmp-toggle',
config = function()
vim.api.nvim_set_keymap('n', '<leader>tc', ':NvimCmpToggle<CR>', { desc = '[T]oggle [C]ompletions', noremap = true, silent = true })
end,
},
-- ...
},
}