mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
fix(vim-patch.sh): run nvim with -u NONE -n #16179
Problem: Because of -u NORC, vim-patch.sh would hang on my machine due to one of my plugins (start package) waiting for prompt input. Solution: - Use -u NONE instead to disable all plugins. - Also use -n to disable swapfiles. These changes only apply to the --headless nvim instances used to process things.
This commit is contained in:
@ -183,7 +183,7 @@ assign_commit_details() {
|
||||
# Patch surgery
|
||||
preprocess_patch() {
|
||||
local file="$1"
|
||||
local nvim="nvim -u NORC -i NONE --headless"
|
||||
local nvim="nvim -u NONE -n -i NONE --headless"
|
||||
|
||||
# Remove Filelist, README
|
||||
local na_files='Filelist\|README.*'
|
||||
@ -683,7 +683,7 @@ review_commit() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
assign_commit_details "${vim_version}"
|
||||
assign_commit_details "${vim_version}"
|
||||
|
||||
echo
|
||||
echo "Creating files."
|
||||
|
Reference in New Issue
Block a user