summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-15 23:02:29 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-15 23:02:29 +0200
commit49c5b4b1aa32bfec980bdd2de26dfccbc44d7815 (patch)
tree48bb3d8796ff236e2a6c840f87c776c798aa4507 /init.lua
parent1d92052c460683a02303cb63a32577514372c6f1 (diff)
Rename bootstrap to ensure
Diffstat (limited to 'init.lua')
-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"