Skip to content

Commit

Permalink
chore: Reorganize plugin configurations (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamgent authored Nov 15, 2023
1 parent 1291632 commit 21dfe22
Show file tree
Hide file tree
Showing 11 changed files with 661 additions and 653 deletions.
2 changes: 1 addition & 1 deletion lua/wangleng/init.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require("wangleng.basic")
require("wangleng.plugins")
require("wangleng.lazy")
17 changes: 17 additions & 0 deletions lua/wangleng/lazy.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
----- BOOTSTRAP LAZY.NVIM -----
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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)

----- SETUP -----
require("lazy").setup("wangleng.plugins")
Loading

0 comments on commit 21dfe22

Please sign in to comment.