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)