Skip to content

Instantly share code, notes, and snippets.

View nolfonzo's full-sized avatar

nolfonzo nolfonzo

  • Sydney, Australia
  • 15:49 (UTC -12:00)
View GitHub Profile
@nolfonzo
nolfonzo / fix_lazyvim.sh
Last active August 24, 2026 04:52
Katana Neovim & LazyVim Treesitter glibc fix
#!/usr/bin/env bash
set -e
echo "=== 1. Ensuring build tools and C compiler are ready ==="
if command -v conda &>/dev/null || module load anaconda3 2>/dev/null; then
conda install -y -p "$HOME/.local/envs/nvim" -c conda-forge gcc_linux-64 gxx_linux-64 make tree-sitter-cli git 2>/dev/null || true
fi
if [ -f "$HOME/.local/bin/micromamba" ]; then
"$HOME/.local/bin/micromamba" install -y -p "$HOME/.local/envs/nvim" -c conda-forge gcc_linux-64 gxx_linux-64 make tree-sitter-cli git 2>/dev/null || true
fi