diff options
Diffstat (limited to 'runtime/autoload')
| -rw-r--r-- | runtime/autoload/remote/host.vim | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 355ff339dc..3c70101966 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -132,13 +132,13 @@ function! s:GetManifestPath() abort    endif    let dest = fnamemodify(expand(dest), ':p') -  if !empty(dest) && isdirectory(dest) -    let dest .= 'nvim/' +  if !empty(dest) && !filereadable(dest) +    let dest .= ('/' ==# dest[-1:] ? '' : '/') . 'nvim'      call mkdir(dest, 'p', 700)      let manifest_base = dest    endif -  return manifest_base.'rplugin.vim' +  return manifest_base.'/rplugin.vim'  endfunction | 
