mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-12 17:00:29 -07:00
Move plugins to their own files
This commit is contained in:
parent
95d38fef5d
commit
892a6f6ec0
6 changed files with 94 additions and 95 deletions
15
lua/plugins/go.lua
Normal file
15
lua/plugins/go.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
"ray-x/go.nvim",
|
||||
lazy = false,
|
||||
dependencies = { -- optional packages
|
||||
"ray-x/guihua.lua",
|
||||
"neovim/nvim-lspconfig",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
require "configs.go"
|
||||
end,
|
||||
event = { "CmdlineEnter" },
|
||||
ft = { "go", "gomod", "gowork", "gotmpl" },
|
||||
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