diff --git a/init.lua b/init.lua index 7bd750e..2881188 100644 --- a/init.lua +++ b/init.lua @@ -9,17 +9,10 @@ vim.loader.enable() require("opts").initial() local lazy_path = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" -local lazy_url = "https://github.com/folke/lazy.nvim" if not vim.uv.fs_stat(lazy_path) then - vim.fn.system { - "git", - "clone", - "--filter=blob:none", - "--branch=stable", - lazy_url, - lazy_path, - } + local lazy_url = "https://github.com/folke/lazy.nvim" + vim.fn.system { "git", "clone", "--filter=blob:none", lazy_url, "--branch=stable", lazy_path } end vim.opt.rtp:prepend(lazy_path)