(nvim) add godoc.nvim
This commit is contained in:
parent
e9afc28419
commit
3a7cd2e7c3
2 changed files with 34 additions and 11 deletions
20
nvim/lua/juancwu/plugins/godoc.lua
Normal file
20
nvim/lua/juancwu/plugins/godoc.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
"fredrikaverpil/godoc.nvim",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
{ "nvim-telescope/telescope.nvim" },
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = { "go" },
|
||||
},
|
||||
},
|
||||
},
|
||||
build = "go install github.com/lotusirous/gostdsym/stdsym@latest", -- optional
|
||||
cmd = { "GoDoc" }, -- optional
|
||||
opts = {
|
||||
picker = {
|
||||
type = "telescope",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue