mirror of
https://github.com/rodneybbjr/kickstart.nvim.git
synced 2025-12-19 01:57:31 -05:00
add custom init
This commit is contained in:
14
lua/custom/plugins/cmp.toggle.lua
Normal file
14
lua/custom/plugins/cmp.toggle.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
},
|
||||
-- ...
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user