From 9859bdc9ce6f6073fcc5528b0b4a3254713c452b Mon Sep 17 00:00:00 2001 From: Vivianne Langdon Date: Sat, 5 Mar 2022 03:30:37 -0800 Subject: [PATCH] Added bootstrap --- lua/plugins.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/plugins.lua b/lua/plugins.lua index 3e680fc..eb1aa97 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,3 +1,11 @@ +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}) + + -- TODO: Add in downloading of sqlite dll for Windows, here. +end + lsp_client_capabilities = vim.lsp.protocol.make_client_capabilities() return require('packer').startup(function(use)