Move plugins to their own files

This commit is contained in:
Gabe Farrell 2024-04-10 17:00:58 -04:00
parent 95d38fef5d
commit 892a6f6ec0
6 changed files with 94 additions and 95 deletions

15
lua/plugins/go.lua Normal file
View 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
}