mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
fixup! eval.c: factor out eval/funcs.c #11828
This commit is contained in:
@@ -211,6 +211,11 @@ preprocess_patch() {
|
||||
# Remove vimrc_example.vim
|
||||
local na_vimrcexample='vimrc_example\.vim'
|
||||
2>/dev/null $nvim --cmd 'set dir=/tmp' +'g@^diff --git a/runtime/\<\%('${na_vimrcexample}'\)\>@norm! d/\v(^diff)|%$
|
||||
' +w +q "$file"
|
||||
|
||||
# Rename src/ paths to src/nvim/
|
||||
LC_ALL=C sed -e 's/\( [ab]\/src\)/\1\/nvim/g' \
|
||||
"$file" > "$file".tmp && mv "$file".tmp "$file"
|
||||
|
||||
# Rename evalfunc.c to eval/funcs.c
|
||||
LC_ALL=C sed -e 's/\( [ab]\/src\/nvim\)\/evalfunc\.c/\1\/eval\/funcs\.c/g' \
|
||||
|
Reference in New Issue
Block a user