diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-25 22:51:47 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-25 22:51:47 +0200 |
commit | 40aae93e63c6849db1183b026e4b5b64c49c2154 (patch) | |
tree | 9aeb5e1edf07fee1580146b4877ef112bfbea619 | |
parent | 383517677032aeecef4d32939ff2d9136664ca94 (diff) | |
parent | c0fac4a58ecba4d57ad277678be3f9f022c42d5c (diff) |
Merge branch 'master' of github.com:aktersnurra/nvim
-rw-r--r-- | init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,14 +5,14 @@ local execute = vim.api.nvim_command local packer_path = fn.stdpath "data" .. "/site/pack/packer/start" local function bootstrap(user, repository) - local bootstrap_path = fmt("%s/%s", packer_path, repository) - if fn.empty(fn.glob(bootstrap_path)) > 0 then + local path = fmt("%s/%s", packer_path, repository) + if fn.empty(fn.glob(path)) > 0 then execute( fmt( "!git clone --depth 1 https://github.com/%s/%s %s", user, repository, - bootstrap_path + path ) ) execute(fmt("packadd %s", repository)) |