mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
rplugin.vim: GetManifestPath(): be more explicit (#6361)
This commit is contained in:
committed by
Justin M. Keyes
parent
72c29895e0
commit
595acbbc42
@@ -17,9 +17,11 @@ function! s:GetManifestPath() abort
|
||||
endif
|
||||
|
||||
let dest = fnamemodify(expand(dest), ':p')
|
||||
if !empty(dest) && !filereadable(dest)
|
||||
if !empty(dest)
|
||||
let dest .= ('/' ==# dest[-1:] ? '' : '/') . 'nvim'
|
||||
call mkdir(dest, 'p', 0700)
|
||||
if !isdirectory(dest)
|
||||
call mkdir(dest, 'p', 0700)
|
||||
endif
|
||||
let manifest_base = dest
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user