summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index 8c2e5fc..455a818 100644
--- a/init.lua
+++ b/init.lua
@@ -1,10 +1,10 @@
--- Bootstrap nvim with essential plugins.
+-- ensure nvim with essential plugins.
local fn = vim.fn
local fmt = string.format
local execute = vim.api.nvim_command
local packer_path = fn.stdpath "data" .. "/site/pack/packer/start"
-local function bootstrap(user, repository)
+local function ensure(user, repository)
local path = fmt("%s/%s", packer_path, repository)
if fn.empty(fn.glob(path)) > 0 then
execute(
@@ -14,9 +14,9 @@ local function bootstrap(user, repository)
end
end
-bootstrap("wbthomason", "packer.nvim")
-bootstrap("Olical", "aniseed")
-bootstrap("lewis6991", "impatient.nvim")
+ensure("wbthomason", "packer.nvim")
+ensure("Olical", "aniseed")
+ensure("lewis6991", "impatient.nvim")
require "impatient"