feat: add Neovim + LazyVim + avante.nvim setup#19
Merged
Conversation
Add a dedicated nvim_setup.sh module (sourced by setup.sh, alongside the existing classic Vim section) that installs Neovim and its deps, bootstraps LazyVim, and drops an avante.nvim plugin spec. - nvim_setup.sh: brew neovim/ripgrep/fd/lazygit + JetBrains Mono Nerd Font; clone LazyVim starter only if ~/.config/nvim is empty; place avante.lua only if it doesn't already exist (preserves locally-customized provider config). Uses repo file on git checkout, curl from raw GitHub in download mode. - nvim/lua/plugins/avante.lua: generic spec with provider intentionally unset (personal-setup repo — no gateway baked in). - setup.sh: source nvim_setup.sh after the Vim section. - common.sh: include nvim_setup in cleanup_downloads list. - README.md: add nvim_setup.sh to both download one-liners. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds Neovim provisioning to the personal Mac setup, alongside the existing classic Vim config (both coexist).
Changes
nvim_setup.sh(new module, sourced bysetup.sh):brew_install:neovim,ripgrep,fd,lazygit+ caskfont-jetbrains-mono-nerd-font~/.config/nvimonly ifinit.luais absent (idempotent — won't clobber an existing config)avante.luainto~/.config/nvim/lua/plugins/only if it doesn't already exist, so a locally-customized provider config is preserved on re-run. Uses the repo file on a git checkout, elsecurlfrom raw GitHub (avoids PR-CI 404 on not-yet-merged files — same local-vs-download pattern ascleanup_downloads).nvim/lua/plugins/avante.lua(new): avante.nvim plugin spec. Provider intentionally unset — this is a personal-setup repo, so no AI gateway is baked in; a commented example shows how to wire one up.build = "make"(prebuilt binaries).setup.sh:source nvim_setup.shright after the Vim section.common.sh: addnvim_setupto thecleanup_downloadslist.README.md: addnvim_setup.shto both download one-liners.Verification
bash -n(system bash 3.2) parses cleanly on all*.sh.v0.1.2), avante loads without errors. (CIsmoke-macosre-validates by runningsetup.sh.)🤖 Generated with Claude Code