summaryrefslogtreecommitdiffstats
path: root/modules/editor/neovim/init.lua
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-09-29 14:22:24 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-09-29 14:22:24 -0400
commitf819e30b03dffcf9e74af4b8552e4a8ab8f54c58 (patch)
treec05f4f1db738d6cd9d2824b5000c6afc3b1d61d1 /modules/editor/neovim/init.lua
parentd3bb6cbb4724bc8f18f72fa3fea3e65f73ae8d09 (diff)
downloadnix-config-f819e30b03dffcf9e74af4b8552e4a8ab8f54c58.tar.gz
nix-config-f819e30b03dffcf9e74af4b8552e4a8ab8f54c58.tar.bz2
nix-config-f819e30b03dffcf9e74af4b8552e4a8ab8f54c58.zip
major reorganizing to seperate modules
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")