with packer
use {
'edolphin-ydf/goimpl.nvim',
requires = {
{'nvim-lua/plenary.nvim'},
{'nvim-lua/popup.nvim'},
{'nvim-telescope/telescope.nvim'},
{'nvim-treesitter/nvim-treesitter'},
},
config = function()
require'telescope'.load_extension'goimpl'
end,
}
add the key mapping in your init.lua
vim.api.nvim_set_keymap('n', '<leader>im', [[<cmd>lua require'telescope'.extensions.goimpl.goimpl{}<CR>]], {noremap=true, silent=true})
It's because the gopls search implementation. See this