Add new keymaps and plugins
This commit is contained in:
parent
da87fc4247
commit
ab0d9c600b
13 changed files with 203 additions and 38 deletions
|
|
@ -1,3 +1,17 @@
|
|||
-- return {
|
||||
-- 'fatih/vim-go',
|
||||
-- }
|
||||
return {
|
||||
'fatih/vim-go',
|
||||
"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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue