From 2a86f47df649af3336ae10af73f0dbd574ca8cb1 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 13 Aug 2021 13:42:04 +0200 Subject: chore: speed up bootstrap for minimal.lua * use `git://` protocol * omit `--no-single-branch` (since plenary contains stale branches with large objects) --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c146355..b4e6a3c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -69,6 +69,10 @@ body: package_root = package_root, compile_path = install_path .. '/plugin/packer_compiled.lua', display = { non_interactive = true }, + git = { + subcommands = { install = 'clone --depth 1 --progress' }, + default_url_format = 'git://github.com/%s', + }, }, } end @@ -78,7 +82,7 @@ body: -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE end if vim.fn.isdirectory(install_path) == 0 then - print("Installing Telescope and dependencies. This may take a while!") + print("Installing Telescope and dependencies.") vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path } end load_plugins() -- cgit v1.2.3