diff options
| author | 2023-04-13 00:39:31 -0400 | |
|---|---|---|
| committer | 2023-04-13 00:39:31 -0400 | |
| commit | 6273b6d43aedc6b00b82e1081db14c39194da765 (patch) | |
| tree | c6b1b1e6f9391696001375cb93ecd34449eefe0c /dot_config/nvim/lua/ipacker.lua | |
| parent | nvim: add rudimentary treesitter folding support (diff) | |
nvim: redo the whole thing
reasons tm
Diffstat (limited to 'dot_config/nvim/lua/ipacker.lua')
| -rw-r--r-- | dot_config/nvim/lua/ipacker.lua | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dot_config/nvim/lua/ipacker.lua b/dot_config/nvim/lua/ipacker.lua deleted file mode 100644 index 389e168..0000000 --- a/dot_config/nvim/lua/ipacker.lua +++ /dev/null @@ -1,24 +0,0 @@ --- init packer = ipacker --- returns packer or blackhole --- sets ipacker global to # depending on bootstrap level --- ipacker = - -- 0 = no packer present - -- 1 = bootstrapped just now - -- 2 = already present -local fn = vim.fn -local ipath = fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim' -local repo = 'https://github.com/wbthomason/packer.nvim' - -ipacker = 0 -if #fn.findfile('packer.lua', ipath .. '**') == 0 then - if fn.executable 'git' == 0 then - return require 'blackhole' - end - fn.system {'git', 'clone', '--depth', '1', repo, ipath} - vim.cmd [[packloadall!]] - ipacker = 1 -else - ipacker = 2 -end - -return require 'packer' |
