return { { 'windwp/nvim-autopairs', after = 'nvim-lspconfig', config = function() require('nvim-autopairs').setup{} end }, { 'nvim-lua/plenary.nvim' }, { 'tversteeg/registers.nvim' }, { 'nvim-telescope/telescope.nvim', -- requires = { 'nvim-lua/plenary.nvim' }, config = function() local keymap = vim.api.nvim_set_keymap local opts = { noremap = true, silent = true } keymap('n', 'ff', 'Telescope find_files', opts) keymap('n', 'fb', 'Telescope buffers', opts) keymap('n', 'fh', 'Telescope help_tags', opts) keymap('n', 'fg', 'Telescope live_grep', opts) end }, { 'xiyaowong/which-key.nvim', config = function() require("which-key").setup() end } }