mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
Merge #10646 'vim-patch: runtime patches'
This commit is contained in:
@@ -197,12 +197,6 @@ 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"
|
||||
|
||||
' +w +q "$file"
|
||||
|
||||
# Rename src/ paths to src/nvim/
|
||||
|
||||
Reference in New Issue
Block a user