skip neovim bootstrap in non-interactive mode

Headless nvim plugin/LSP install doesn't work well without a proper
terminal. Auto-skip it alongside non-interactive TUI detection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-03-03 02:23:50 +03:00
parent d6d47411e8
commit 5c032ce1b9

View File

@ -66,6 +66,7 @@ done
# Auto-detect non-interactive mode when no real terminal is present # Auto-detect non-interactive mode when no real terminal is present
if [ ! -t 0 ] || [ ! -t 1 ]; then if [ ! -t 0 ] || [ ! -t 1 ]; then
NON_INTERACTIVE=1 NON_INTERACTIVE=1
SKIP_NVIM_BOOTSTRAP=1
fi fi
# Timeout portability (macOS has gtimeout via coreutils, not timeout) # Timeout portability (macOS has gtimeout via coreutils, not timeout)