mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
batman!
This commit is contained in:
commit
ae7d9bf4b6
63 changed files with 2160 additions and 0 deletions
13
lua/config/plugins/lsp/extras/gopher.lua
Normal file
13
lua/config/plugins/lsp/extras/gopher.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"olexsmir/gopher.nvim",
|
||||
ft = "go",
|
||||
config = function(_, opts)
|
||||
require("gopher").setup(opts)
|
||||
vim.keymap.set("n", "<leader>gmt", ":GoMod tidy<cr>", {
|
||||
desc = "[Go] Tidy",
|
||||
})
|
||||
end,
|
||||
build = function()
|
||||
vim.cmd([[silent! GoInstallDeps]])
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue