NIVM/lua/plugins/init.lua
Robert Morrison fb537df11b chore(init): Initial working version
Create and push an initial working version of this repo before I change
things on this machine

Signed-off-by: Robert Morrison <robert@closedless.xyz>
2023-09-10 22:22:30 +01:00

50 lines
927 B
Lua

-- Bootstrap lazy
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
print(' Bootstrapping lazy.nvim')
vim.fn.system {
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable',
lazypath,
}
end
vim.opt.runtimepath:prepend(lazypath)
require('lazy').setup({ import = 'plugins.specs' }, {
defaults = {
lazy = true,
version = false,
},
install = {
missing = true,
colorscheme = { 'gruvbox' },
},
checker = {
enabled = 'true',
},
performance = {
rtp = {
disabled_plugins = {
'tutor', -- I know all I need to know
'gzip', -- It's better to do this manually
'tarPlugin', -- "
'zipPlugin', -- "
'netrwPlugin', -- I replace this with neotree so might as well not load it.
},
},
},
dev = {
path = '~/Projects/VIM',
patterns = { 'closedless' },
fallback = false,
},
})