chore: speed up bootstrap for minimal.lua
* use `git://` protocol * omit `--no-single-branch` (since plenary contains stale branches with large objects)
This commit is contained in:
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
6
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user