mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Change to use v:progpath instead of constant [skip ci]
This commit is contained in:
@@ -202,11 +202,7 @@ endfunc
|
||||
func GetVimProg()
|
||||
if empty($NVIM_TEST_ARG0)
|
||||
" Assume the script was sourced instead of running "make".
|
||||
if has('win32')
|
||||
return '..\\..\\..\\build\\bin\\nvim.exe'
|
||||
else
|
||||
return '../../../build/bin/nvim'
|
||||
endif
|
||||
return v:progpath
|
||||
endif
|
||||
if has('win32')
|
||||
return substitute($NVIM_TEST_ARG0, '/', '\\', 'g')
|
||||
|
Reference in New Issue
Block a user