mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
Update runtime files.
This commit is contained in:
@ -188,7 +188,7 @@ an 20.435 &Edit.Startup\ &Settings :call <SID>EditVimrc()<CR>
|
||||
fun! s:EditVimrc()
|
||||
if $MYVIMRC != ''
|
||||
let fname = $MYVIMRC
|
||||
elseif has("win32") || has("dos32") || has("dos16") || has("os2")
|
||||
elseif has("win32")
|
||||
if $HOME != ''
|
||||
let fname = $HOME . "/_vimrc"
|
||||
else
|
||||
@ -566,7 +566,7 @@ endfun
|
||||
func! s:XxdFind()
|
||||
if !exists("g:xxdprogram")
|
||||
" On the PC xxd may not be in the path but in the install directory
|
||||
if (has("win32") || has("dos32")) && !executable("xxd")
|
||||
if has("win32") && !executable("xxd")
|
||||
let g:xxdprogram = $VIMRUNTIME . (&shellslash ? '/' : '\') . "xxd.exe"
|
||||
else
|
||||
let g:xxdprogram = "xxd"
|
||||
|
Reference in New Issue
Block a user