commit d6e99c5b70c99c0168a54d7e8609c40b8ac01267
parent b922bb53bd5fc5b2dfd692e63698f9979ef919e9
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date: Wed, 1 May 2024 17:19:39 -0400
init.lua & index.lua: move lazy.nvim initialization to index.lua
Diffstat:
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/init.lua b/init.lua
@@ -1,13 +1 @@
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not (vim.uv or 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("index")
diff --git a/lua/index.lua b/lua/index.lua
@@ -1,3 +1,15 @@
+local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
+if not (vim.uv or 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("plugins")
require("options")
require("autostart")