mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
eval.c: rename capture() to execute() (#5132)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user