mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
Merge pull request #26272 from neovim/backport-25726-to-release-0.9
[Backport release-0.9] fix(rplugin): dont create data dir if it's a broken symlink
This commit is contained in:
@@ -14,7 +14,9 @@ function! s:GetManifestPath() abort
|
||||
let dest = stdpath('data')
|
||||
if !empty(dest)
|
||||
if !isdirectory(dest)
|
||||
call mkdir(dest, 'p', 0700)
|
||||
if getftype(dest) != "link"
|
||||
call mkdir(dest, 'p', 0700)
|
||||
endif
|
||||
endif
|
||||
let manifest_base = dest
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user