You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node / npm (for Mason-managed language servers and tools)
lazygit (optional, for the <Leader>gg integration)
lefthook (optional, for the pre-commit StyLua hook)
Installation
# Back up any existing config
mv ~/.config/nvim ~/.config/nvim.bak
# Clone this repo
git clone <repo-url>~/.config/nvim
# Install Lefthook pre-commit hooks for repo (to keep diffs clean, optional)cd~/.config/nvim && lefthook install
# Launch Neovim — lazy.nvim bootstraps itself and installs all plugins
nvim
Mason will auto-install the configured language servers, linters, and formatters on first launch.
Troubleshooting
loop or previous error loading module 'vim.treesitter' on first launch
Means nvim-treesitter got checked out on an old master-branch commit whose plugin/ and queries/ collide with Neovim 0.12's built-in vim.treesitter. This config pins nvim-treesitter to the main branch in lazy-lock.json, but if the lockfile is stale or a prior install pulled master, you'll hit this.
Fix:
:Lazy update nvim-treesitter
Or, if that's stubborn, wipe the plugin dir and relaunch:
rm -rf ~/.local/share/nvim/lazy/nvim-treesitter
Confirm lazy-lock.json has "branch": "main" for nvim-treesitter and commit the updated lockfile so other machines pick up the right commit on first clone.