Merge pull request #454 from vaibhavsagar/patch-1
Allow rtp paths with spaces on Windows Fixes #451 Fixes #453
This commit is contained in:
commit
879529ce39
@ -167,6 +167,7 @@ func! s:rtp_add_defaults()
|
||||
let default = &rtp
|
||||
let &rtp = current
|
||||
for item in reverse(split(default, ','))
|
||||
let item = fnameescape(item)
|
||||
exec 'set rtp-=' . item
|
||||
if fnamemodify(item, ":t") == 'after'
|
||||
exec 'set rtp+=' . item
|
||||
|
Loading…
Reference in New Issue
Block a user