summaryrefslogtreecommitdiffstats
path: root/modules/editor/neovim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/editor/neovim/init.lua')
-rw-r--r--modules/editor/neovim/init.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/editor/neovim/init.lua b/modules/editor/neovim/init.lua
new file mode 100644
index 0000000..4a80830
--- /dev/null
+++ b/modules/editor/neovim/init.lua
@@ -0,0 +1,14 @@
+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(lazypath)
+
+require("lazy").setup("plugins")