|
|
@ -84,11 +84,26 @@ _G.packer_plugins = { |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/git-blame.nvim", |
|
|
|
url = "https://github.com/f-person/git-blame.nvim" |
|
|
|
}, |
|
|
|
["go.nvim"] = { |
|
|
|
loaded = true, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/go.nvim", |
|
|
|
url = "https://github.com/ray-x/go.nvim" |
|
|
|
}, |
|
|
|
gruvbox = { |
|
|
|
loaded = true, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/gruvbox", |
|
|
|
url = "https://github.com/gruvbox-community/gruvbox" |
|
|
|
}, |
|
|
|
["guihua.lua"] = { |
|
|
|
loaded = true, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/guihua.lua", |
|
|
|
url = "https://github.com/ray-x/guihua.lua" |
|
|
|
}, |
|
|
|
["nvim-treesitter"] = { |
|
|
|
loaded = true, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/nvim-treesitter", |
|
|
|
url = "https://github.com/nvim-treesitter/nvim-treesitter" |
|
|
|
}, |
|
|
|
["packer.nvim"] = { |
|
|
|
loaded = true, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/packer.nvim", |
|
|
@ -123,32 +138,10 @@ _G.packer_plugins = { |
|
|
|
loaded = true, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/start/tmux.nvim", |
|
|
|
url = "https://github.com/aserowy/tmux.nvim" |
|
|
|
}, |
|
|
|
["vim-go"] = { |
|
|
|
commands = { "GoUpdateBinaries" }, |
|
|
|
loaded = false, |
|
|
|
needs_bufread = true, |
|
|
|
only_cond = false, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/opt/vim-go", |
|
|
|
url = "https://github.com/fatih/vim-go" |
|
|
|
}, |
|
|
|
["vim-gofmt"] = { |
|
|
|
commands = { "GoUpdateBinaries" }, |
|
|
|
loaded = false, |
|
|
|
needs_bufread = true, |
|
|
|
only_cond = false, |
|
|
|
path = "/home/tovi/.local/share/nvim/site/pack/packer/opt/vim-gofmt", |
|
|
|
url = "https://github.com/darrikonn/vim-gofmt" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
time([[Defining packer_plugins]], false) |
|
|
|
|
|
|
|
-- Command lazy-loads |
|
|
|
time([[Defining lazy-load commands]], true) |
|
|
|
pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file GoUpdateBinaries lua require("packer.load")({'vim-go', 'vim-gofmt'}, { cmd = "GoUpdateBinaries", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]]) |
|
|
|
time([[Defining lazy-load commands]], false) |
|
|
|
|
|
|
|
if should_profile then save_profiles() end |
|
|
|
|
|
|
|
end) |
|
|
|