local execute = vim.api.nvim_command 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 fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path}) execute 'packadd packer.nvim' end return require('packer').startup(function(use) use 'wbthomason/packer.nvim' use "neovim/nvim-lspconfig" use "hrsh7th/nvim-compe" use 'hrsh7th/vim-vsnip' use 'windwp/nvim-autopairs' use 'kyazdani42/nvim-web-devicons' use "kyazdani42/nvim-tree.lua" use { 'akinsho/nvim-bufferline.lua', requires = 'kyazdani42/nvim-web-devicons'} end)