Files
dotfiles/vim/.vim/lua/plugin_init.lua
Christian Nieves f237b861fc ughghghghghghghg
2024-10-14 17:55:51 +00:00

23 lines
582 B
Lua

local use_google = require("utils").use_google
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
package.path = package.path .. ";" .. vim.env.HOME .. "/.vim/lua/?.lua"
local plugins = {
-- this entry tells lazy.nvim to load the list of of *.lua files from plugins/
{ import = "plugins" },
}
require("lazy").setup(plugins)
require("config.clipboard")
require("config.zip")