mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-23 21:58:36 +02:00
feat: add my plugins
This commit is contained in:
parent
d350db2449
commit
41e7418c01
8 changed files with 1072 additions and 897 deletions
15
lua/custom/plugins/go-nvim.lua
Normal file
15
lua/custom/plugins/go-nvim.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
"ray-x/go.nvim",
|
||||
dependencies = { -- optional packages
|
||||
"ray-x/guihua.lua",
|
||||
"neovim/nvim-lspconfig",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
require("go").setup()
|
||||
end,
|
||||
event = { "CmdlineEnter" },
|
||||
ft = { "go", "gomod" },
|
||||
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
||||
-- GoGenerate - генерация моков
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue