refactor: move everything under lazyvim

This commit is contained in:
Folke Lemaitre 2023-01-01 14:33:56 +01:00
parent 39ccddad5f
commit 8eb8d235c9
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
17 changed files with 10 additions and 10 deletions

View file

@ -0,0 +1,33 @@
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("plugins", {
defaults = { lazy = true, version = "*" },
install = { colorscheme = { "tokyonight", "habamax" } },
checker = { enabled = true },
performance = {
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})
vim.keymap.set("n", "<leader>l", "<cmd>:Lazy<cr>")