Take first steos toward nvim lua config

This commit is contained in:
Andrew Tomaka 2022-09-21 22:02:30 -04:00
parent e090f64788
commit 4143a7971a
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
7 changed files with 261 additions and 29 deletions

View file

@ -16,7 +16,7 @@ install_homebrew() {
install_shared_applications() {
brew install direnv fzf git stow the_silver_searcher tmux \
vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
awscli cmake jq watch gh
awscli cmake jq watch gh nvim
install_alacritty_terminfo
install_rust
@ -72,13 +72,9 @@ install_rust() {
}
install_vim() {
if ! test -f ~/.vim/autoload/plug.vim > /dev/null; then
curl \
--create-dirs \
--fail \
--location \
--output ~/.vim/autoload/plug.vim \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
if ! test -d ~/.local/share/nvim/site > /dev/null; then
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim
fi
}