From 72035aa4194c0f8787b4dc340d41ee770d424948 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 28 Jun 2024 23:26:54 +0300 Subject: Modified nvim config, moved lazy into it's own file so init.lua is just 4 requries --- .config/nvim/lua/plugin-manager.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .config/nvim/lua/plugin-manager.lua (limited to '.config/nvim/lua/plugin-manager.lua') diff --git a/.config/nvim/lua/plugin-manager.lua b/.config/nvim/lua/plugin-manager.lua new file mode 100644 index 0000000..4b86d13 --- /dev/null +++ b/.config/nvim/lua/plugin-manager.lua @@ -0,0 +1,14 @@ +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", + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) +require("lazy").setup("plugins") + -- cgit v1.3.1