Skip to content

Commit

Permalink
Changed HOME for HOME/Documents in getscript.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Nov 7, 2019
1 parent fcd8473 commit 5edc610
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/autoload/getscript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ if g:GetLatestVimScripts_allowautoinstall

if exists("g:GetLatestVimScripts_autoinstalldir") && isdirectory(g:GetLatestVimScripts_autoinstalldir)
let s:autoinstall= g:GetLatestVimScripts_autoinstalldir"
elseif exists('$HOME') && isdirectory(expand("$HOME")."/".s:dotvim)
let s:autoinstall= $HOME."/".s:dotvim
" iOS: replace HOME with HOME/Documents
elseif exists('$HOME') && isdirectory(expand("$HOME")."/Documents/".s:dotvim)
let s:autoinstall= $HOME."/Documents/".s:dotvim
endif
" call Decho("s:autoinstall<".s:autoinstall.">")
"else "Decho
Expand Down

0 comments on commit 5edc610

Please sign in to comment.