local ensure_packer = function() 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', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) vim.cmd [[packadd packer.nvim]] returntrue end returnfalse end
local packer_bootstrap = ensure_packer()
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use 'ellisonleao/gruvbox.nvim' use 'nvim-tree/nvim-tree.lua' use 'neovim/nvim-lspconfig' use 'williamboman/mason.nvim' use 'williamboman/mason-lspconfig.nvim' use 'kosayoda/nvim-lightbulb' use 'ray-x/lsp_signature.nvim' use 'rmagatti/alternate-toggler' use 'windwp/nvim-autopairs' use 'mg979/vim-visual-multi' use 'gcmt/wildfire.vim' use 'tpope/vim-surround'
use { 'nvim-telescope/telescope.nvim',tag = '0.1.1', requires ={{'nvim-lua/plenary.nvim'}} }
use 'hrsh7th/cmp-nvim-lsp' use 'hrsh7th/cmp-buffer' use 'hrsh7th/cmp-path' use 'hrsh7th/cmp-cmdline' use 'hrsh7th/nvim-cmp' use 'hrsh7th/cmp-nvim-lua' use 'L3MON4D3/LuaSnip' use 'saadparwaiz1/cmp_luasnip' use 'onsails/lspkind-nvim' use 'jose-elias-alvarez/null-ls.nvim' use 'terrortylor/nvim-comment'
if packer_bootstrap then require('packer').sync() end end)