comparison runtime/menu.vim @ 9555:9560a5b782ee

commit https://github.com/vim/vim/commit/42ebd066422d73cdb7bda6a1dc828a3dd022dec8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 17 13:35:14 2016 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Jul 2016 13:45:05 +0200
parents 92751673cc37
children 219dbe63ad2a
comparison
equal deleted inserted replaced
9554:d32c969007f9 9555:9560a5b782ee
186 an 20.435 &Edit.Startup\ &Settings :call <SID>EditVimrc()<CR> 186 an 20.435 &Edit.Startup\ &Settings :call <SID>EditVimrc()<CR>
187 187
188 fun! s:EditVimrc() 188 fun! s:EditVimrc()
189 if $MYVIMRC != '' 189 if $MYVIMRC != ''
190 let fname = $MYVIMRC 190 let fname = $MYVIMRC
191 elseif has("win32") || has("dos32") || has("dos16") || has("os2") 191 elseif has("win32")
192 if $HOME != '' 192 if $HOME != ''
193 let fname = $HOME . "/_vimrc" 193 let fname = $HOME . "/_vimrc"
194 else 194 else
195 let fname = $VIM . "/_vimrc" 195 let fname = $VIM . "/_vimrc"
196 endif 196 endif
564 endfun 564 endfun
565 565
566 func! s:XxdFind() 566 func! s:XxdFind()
567 if !exists("g:xxdprogram") 567 if !exists("g:xxdprogram")
568 " On the PC xxd may not be in the path but in the install directory 568 " On the PC xxd may not be in the path but in the install directory
569 if (has("win32") || has("dos32")) && !executable("xxd") 569 if has("win32") && !executable("xxd")
570 let g:xxdprogram = $VIMRUNTIME . (&shellslash ? '/' : '\') . "xxd.exe" 570 let g:xxdprogram = $VIMRUNTIME . (&shellslash ? '/' : '\') . "xxd.exe"
571 else 571 else
572 let g:xxdprogram = "xxd" 572 let g:xxdprogram = "xxd"
573 endif 573 endif
574 endif 574 endif