eval.c: rename capture() to execute() (#5132)

This commit is contained in:
Justin M. Keyes
2016-07-31 13:23:29 -04:00
committed by GitHub
parent faca814116
commit aa2c439940
8 changed files with 70 additions and 70 deletions

View File

@@ -121,7 +121,7 @@ endfunction
function! s:GetManifest() abort
let prefix = exists('$MYVIMRC')
\ ? $MYVIMRC
\ : matchstr(get(split(capture('scriptnames'), '\n'), 0, ''), '\f\+$')
\ : matchstr(get(split(execute('scriptnames'), '\n'), 0, ''), '\f\+$')
return fnamemodify(expand(prefix, 1), ':h')
\.'/.'.fnamemodify(prefix, ':t').'-rplugin~'
endfunction