dotfiles/dotscripts/setup/nvim

32 lines
790 B
Bash
Executable File

#!/usr/bin/env bash
if ! command -v nvim &> /dev/null; then
echo "ERROR: nvim not found"
exit
fi
echo "I no longer use vim-plug. Lazy.nvim is bootstrapped at startup!"
cat <<END
Reminders:
LSP
- Might need nvm
- Install clients listed in plugins/lsp.lua
DAP
- Set up virtualenv named debugpy that installs debugpy, see plugins/dap.lua
END
# DEST=${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim"
# if ! [[ -f "$DEST" ]]; then
# echo "installing vim-plug for nvim"
# curl -fLo "$DEST" --create-dirs \
# https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# echo "installing nvim plugins"
# nvim +PlugInstall +qall
# else
# echo "upgrading vim-plug and nvim plugins"
# nvim +PlugUpgrade +PlugUpdate +qall
# fi