33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/zsh
 | 
						|
 | 
						|
install_command="sudo apt install"
 | 
						|
[[ -x $(which brew) ]] && install_command="brew install"
 | 
						|
 | 
						|
neovim_dir=$HOME/.local/build/neovim
 | 
						|
neovim_version="v0.10.3"
 | 
						|
[ ! -z $NVIM_VERSION ] && neovim_version="$NVIM_VERSION"
 | 
						|
echo "neovim_version: \"$neovim_version\""
 | 
						|
 | 
						|
[ ! -d $neovim_dir ] && git clone https://github.com/neovim/neovim.git $neovim_dir
 | 
						|
git -C $neovim_dir fetch --all
 | 
						|
git -C $neovim_dir checkout $neovim_version
 | 
						|
 | 
						|
$install_command cmake gettext lua@5.1 liblua5.1-0-dev
 | 
						|
 | 
						|
make -C $neovim_dir clean
 | 
						|
make -C $neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo
 | 
						|
sudo make -C $neovim_dir install
 | 
						|
 | 
						|
# lines below from primeagen's dev repo, uncomment/edit as needed
 | 
						|
# git clone https://github.com/ThePrimeagen/harpoon.git $HOME/personal/harpoon
 | 
						|
# cd $HOME/personal/harpoon
 | 
						|
# git fetch
 | 
						|
# git checkout harpoon2
 | 
						|
 | 
						|
# git clone https://github.com/ThePrimeagen/vim-apm.git $HOME/personal/vim-apm
 | 
						|
# git clone https://github.com/ThePrimeagen/vim-with-me.git $HOME/personal/vim-with-me
 | 
						|
# git clone https://github.com/ThePrimeagen/vim-arcade.git $HOME/personal/vim-arcade
 | 
						|
# git clone https://github.com/ThePrimeagen/caleb.git $HOME/personal/caleb
 | 
						|
# git clone https://github.com/nvim-lua/plenary.nvim.git $HOME/personal/plenary
 | 
						|
 |