diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-03 00:20:52 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-01-17 22:18:07 +0100 |
| commit | d27a67fa0da6e30775588a488b184b0085b4f722 (patch) | |
| tree | b1113f1334b89a871f431ec138dc51aa9e052897 /lua/alpha/lazy.lua | |
| parent | db62852b20e9003fafb1d08f7d4bd21477d85bda (diff) | |
| download | nvim-conf-d27a67fa0da6e30775588a488b184b0085b4f722.tar.gz nvim-conf-d27a67fa0da6e30775588a488b184b0085b4f722.zip | |
test: use lazy instead of packer
Diffstat (limited to 'lua/alpha/lazy.lua')
| -rw-r--r-- | lua/alpha/lazy.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/alpha/lazy.lua b/lua/alpha/lazy.lua new file mode 100644 index 0000000..13754d4 --- /dev/null +++ b/lua/alpha/lazy.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", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +require("lazy").setup("alpha.lazy_plugins") |