diff --git a/.config/nvim/lua/my/plugins.lua b/.config/nvim/lua/my/plugins.lua index a9b35f2..bde814d 100644 --- a/.config/nvim/lua/my/plugins.lua +++ b/.config/nvim/lua/my/plugins.lua @@ -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 })