diff --git a/lua/sherlock5512/plugins.lua b/lua/sherlock5512/plugins.lua index 750027c..987e653 100644 --- a/lua/sherlock5512/plugins.lua +++ b/lua/sherlock5512/plugins.lua @@ -1,19 +1,17 @@ --- this file configures my plugins +-- Plugin Config Using Packer.nvim -- Grab Packer. (This should be OS agnostic) -- But does require git to be installed TODO: add check for git --- by @Iron-E and @khuedoan on GitHub - +-- by Iron-E and khuedoan on GitHub local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then - packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) - vim.cmd 'packadd packer.nvim' + Packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) + vim.cmd 'packadd packer.nvim' end return require('packer').startup(function(use) - -- Make packer manage itself - use 'wbthomason/packer.nvim' + use 'wbthomason/packer.nvim' -- allow packer to update itself -- Lualine over airline for now use { @@ -31,7 +29,7 @@ return require('packer').startup(function(use) end } - if packer_bootstrap then - require('packer').sync() + if Packer_bootstrap then + require('packer').sync() -- make packer do a full sync on first load end end)