dotfiles/home/apps/neovim/lua/config/plugins.lua

24 lines
475 B
Lua
Raw Normal View History

2023-03-12 01:04:48 +01:00
local M = {}
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",
"--branch=stable",
lazypath,
})
end
2023-06-23 20:02:03 +02:00
vim.opt.rtp:prepend(lazypath)
2023-03-12 01:04:48 +01:00
M.setup = function(plugins)
require("lazy").setup(plugins, {
2023-06-23 20:02:03 +02:00
install = { colorscheme = { "catppuccin" } },
ui = { border = vim.g.bc.style },
2023-03-12 01:04:48 +01:00
})
end
return M