config-nvim/base_config_setup.sh
2024-08-30 14:48:10 -07:00

18 lines
534 B
Bash
Executable File

#!/bin/bash
# To be run in ~/.config/nvim/
# This will clone git dirs but the lua/plugins/avante.lua file is made
# either from config repo or avante README.
# opts = {} section is important.
git clone https://github.com/LazyVim/starter.git lvs-upstream
git clone https://github.com/yetone/avante.nvim.git avante-upstream
cp -r lvs-upstream/lua .
cp lvs-upstream/init.lua .
cp lvs-upstream/stylua.toml .
# Probably run nvim at this point.
# If setting up from scratch instead of git repo, copy from avante README
# at this point.