edolphin-ydf/goimpl.nvim

github github
programming-languages-support plugin
star 5
stars
alert-circle 0
open issues
users 1
subscribers
git-branch 0
forks
CREATED

2021-08-12

UPDATED

15 days ago

packer

require('packer').startup(function()
  use 'edolphin-ydf/goimpl.nvim'
end)

paq

require "paq" { 
  'edolphin-ydf/goimpl.nvim'
}

output

Requirements

  • neovim >= 5.0
  • lsp configured corretlly
  • nvim-telescope/telescope.nvim
  • nvim-treesitter/nvim-treesitter

Install

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,
    }

Setting

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})