dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

plugins.lua (709B)


      1 local ensure_packer = function()
      2 	local fn = vim.fn
      3 	local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
      4 	if fn.empty(fn.glob(install_path)) > 0 then
      5 		fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
      6 		vim.cmd [[packadd packer.nvim]]
      7 		return true
      8 	end
      9 	return false
     10 end
     11 
     12 local packer_bootstrap = ensure_packer()
     13 
     14 return require('packer').startup({
     15 	function(use)
     16 		use('wbthomason/packer.nvim')
     17 		use('nvim-lua/plenary.nvim')
     18 
     19 		use('tpope/vim-commentary')
     20 		use('rhysd/clever-f.vim')
     21 
     22 		use('norcalli/snippets.nvim')
     23 		use('zekzekus/menguless')
     24 		use('brenoprata10/nvim-highlight-colors')
     25 		use ('Tetralux/odin.vim')
     26 	end
     27 })