Compare commits

...

8 commits

3 changed files with 37 additions and 15 deletions

View file

@ -1,3 +1,3 @@
require "options" require "options"
require "plugins" require "config.lazy"
require "config" require "config"

View file

@ -0,0 +1,34 @@
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(vim.env.LAZY or lazypath)
require("lazy").setup({
spec = {
{import = "plugins"},
},
defaults = {
lazy = false,
version = false,
},
checker = {enabled = false},
performance = {
rtp = {
disabled_plugins = {
"gzip",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})

View file

@ -1,16 +1,4 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" return {
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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
"famiu/bufdelete.nvim", "famiu/bufdelete.nvim",
@ -34,4 +22,4 @@ require("lazy").setup({
"tpope/vim-markdown", "tpope/vim-markdown",
"tpope/vim-rails", "tpope/vim-rails",
"vim-ruby/vim-ruby", "vim-ruby/vim-ruby",
}) }