summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua36
1 files changed, 34 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 3465962..fb2193c 100644
--- a/init.lua
+++ b/init.lua
@@ -1,2 +1,34 @@
-require("ben.core")
-require("ben.lazy")
+-- _ _ _ _
+-- (_)_ __ (_) |_ | |_ _ __ _
+-- | | '_ \| | __| | | | | |/ _` |
+-- | | | | | | |_ _| | |_| | (_| |
+-- |_|_| |_|_|\__(_)_|\__,_|\__,_|
+--
+require("core")
+
+-- Lazy Plugins Bootstrap {{{
+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",
+ "git@github.com/folke/lazy.nvim.git",
+ "--branch=stable", -- latest stable release
+ lazypath,
+ })
+end
+vim.opt.rtp:prepend(lazypath)
+require("lazy").setup({
+ { import = "plugins" }, -- i.e. the lua/plugins directory
+ -- add more subdirectories as needed
+ }, {
+ checker = {
+ enabled = true,
+ notify = false,
+ },
+ change_detection = {
+ notify = false,
+ },
+})
+-- }}}