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