about summary refs log tree commit diff stats
path: root/.config/nvim/lua/config/plg.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/config/plg.lua')
-rw-r--r--.config/nvim/lua/config/plg.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/lua/config/plg.lua b/.config/nvim/lua/config/plg.lua
new file mode 100644
index 0000000..c08d99c
--- /dev/null
+++ b/.config/nvim/lua/config/plg.lua
@@ -0,0 +1,19 @@
+-- Initialize lazy.nvim
+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)
+
+local plugins = {
+    { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true, opts = ...}
+}
+
+require("lazy").setup(plugins, {})