From 7f8fb0135a8bf9fa2a67118f57110e130e91b4cf Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 16 Mar 2021 23:11:27 -0400 Subject: update --- lua/plugins.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index e78e0788..8f037618 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,17 +1,17 @@ -vim.cmd [[packadd packer.nvim]] local execute = vim.api.nvim_command local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim' - if fn.empty(fn.glob(install_path)) > 0 then execute('!git clone https://github.com/wbthomason/packer.nvim '..install_path) execute 'packadd packer.nvim' end +vim.cmd [[packadd packer.nvim]] + -- vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua -- cgit v1.2.3