nvim: packer: no shallow clones
This commit is contained in:
parent
f27ed54f91
commit
3b5e46a5c6
|
@ -11,7 +11,7 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
|||
vim.cmd [[packadd packer.nvim]]
|
||||
end
|
||||
|
||||
require('packer').startup(function(use)
|
||||
require('packer').startup({function(use)
|
||||
use { 'https://github.com/wbthomason/packer.nvim' }
|
||||
|
||||
-- settings
|
||||
|
@ -143,7 +143,11 @@ require('packer').startup(function(use)
|
|||
elseif not io.open(vim.fn.stdpath('config') .. '/plugin') then
|
||||
require('packer').install()
|
||||
end
|
||||
end)
|
||||
end,
|
||||
config = {
|
||||
git = {
|
||||
depth = 999999
|
||||
}}})
|
||||
|
||||
-- source file, install and compile plugins when this file is written
|
||||
vim.api.nvim_create_augroup('config_plugins', { clear = true })
|
||||
|
|
Loading…
Reference in New Issue
Block a user