From be44d7204cdadaf94ace3f595f4d95e3efe20d2a Mon Sep 17 00:00:00 2001 From: finn Date: Fri, 30 Aug 2024 14:40:36 -0700 Subject: [PATCH] more support files --- .gitignore | 5 ++--- avante-upstream | 1 + base_config_setup.sh | 15 +++++++++++++++ update_nvim.txt | 4 ++++ 4 files changed, 22 insertions(+), 3 deletions(-) create mode 160000 avante-upstream create mode 100755 base_config_setup.sh create mode 100644 update_nvim.txt diff --git a/.gitignore b/.gitignore index fe19cd3..75733a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -avante-nvim-upstream/ -lv-nvim-upstream/ -lvs-nvim-upstream/ +avante-upstream/ +lvs-upstream/ diff --git a/avante-upstream b/avante-upstream new file mode 160000 index 0000000..b7127b3 --- /dev/null +++ b/avante-upstream @@ -0,0 +1 @@ +Subproject commit b7127b33c69af41b1a81b92d156ce3bb7e3dbc40 diff --git a/base_config_setup.sh b/base_config_setup.sh new file mode 100755 index 0000000..2bc5098 --- /dev/null +++ b/base_config_setup.sh @@ -0,0 +1,15 @@ +#!/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. diff --git a/update_nvim.txt b/update_nvim.txt new file mode 100644 index 0000000..330877e --- /dev/null +++ b/update_nvim.txt @@ -0,0 +1,4 @@ +# Not a script. Source this in your ~/bin/nvim-linux64/ dir if that's your nvim binary path. +# Symlink the binary from something in your PATH (ln -s ~/bin/nvim-linux64/bin/nvim ~/bin/nvim) + +wget https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz -O - | tar -xvz --strip-components=1