mirror of
https://github.com/mintycube/dotfiles.git
synced 2024-10-22 14:05:41 +02:00
71 lines
1.3 KiB
Lua
71 lines
1.3 KiB
Lua
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
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require("lazy").setup(
|
|
{
|
|
import = "plugins",
|
|
},
|
|
{
|
|
defaults = {
|
|
lazy = true,
|
|
},
|
|
install = {
|
|
colorscheme = { "tokyonight", "habamax" },
|
|
},
|
|
change_detection = {
|
|
notify = false,
|
|
},
|
|
ui = {
|
|
border = "rounded",
|
|
},
|
|
performance = {
|
|
cache = {
|
|
enabled = true,
|
|
},
|
|
reset_packpath = true,
|
|
rtp = {
|
|
disabled_plugins = {
|
|
"2html_plugin",
|
|
"tohtml",
|
|
"getscript",
|
|
"getscriptPlugin",
|
|
"gzip",
|
|
"logipat",
|
|
"netrw",
|
|
"netrwPlugin",
|
|
"netrwSettings",
|
|
"netrwFileHandlers",
|
|
"matchit",
|
|
"matchparen",
|
|
"tar",
|
|
"tarPlugin",
|
|
"rrhelper",
|
|
"spellfile_plugin",
|
|
"vimball",
|
|
"vimballPlugin",
|
|
"zip",
|
|
"zipPlugin",
|
|
"tutor",
|
|
"rplugin",
|
|
"syntax",
|
|
"synmenu",
|
|
"optwin",
|
|
"compiler",
|
|
"bugreport",
|
|
"ftplugin",
|
|
},
|
|
},
|
|
},
|
|
}
|
|
)
|