aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-01 07:55:12 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-01 10:11:06 +0530
commit1f7b1559e41b62a6ddef67bedf52dfe3b6cafd18 (patch)
tree5a93ad01bc45d3f33884ba6a6194cb18249d7e27 /lua
parent573066d74e9ac58377863e215abd061ba10ed6ab (diff)
pacman: lazy_init -> lazy_dl
Diffstat (limited to 'lua')
-rw-r--r--lua/pacman.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/pacman.lua b/lua/pacman.lua
index b494ae5..ec4b7f0 100644
--- a/lua/pacman.lua
+++ b/lua/pacman.lua
@@ -1,7 +1,7 @@
local path = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
local repo = "https://github.com/folke/lazy.nvim.git"
-local lazy_init = function()
+local lazy_dl = function()
vim.print " 󰦗 downloading lazy.nvim"
vim.fn.system({
@@ -18,6 +18,6 @@ local lazy_init = function()
end
if not vim.loop.fs_stat(path) then
- lazy_init()
+ lazy_dl()
end
vim.opt.rtp:prepend(path)