Skip to content

Commit 6af089d

Browse files
committed
Fix illegal scoping for install variables in .vimrc
1 parent 1e31c88 commit 6af089d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vimrc.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ let s:config_dir = $HOME . '/.config/nvim'
77
let s:autoload_spacevim = expand(resolve(s:config_dir . '/autoload/spacevim.vim'))
88

99
if empty(glob(s:autoload_spacevim))
10-
let l:install_spacevim = jobstart([
10+
let s:install_spacevim = jobstart([
1111
\ 'curl', '-fLo', s:autoload_spacevim, '--create-dirs',
1212
\ 'https://raw.githubusercontent.com/tehnix/spaceneovim/master/autoload/spacevim.vim'
1313
\])
14-
let l:waiting_for_plug = jobwait([l:install_spacevim])
14+
let s:waiting_for_plug = jobwait([s:install_spacevim])
1515
endif
1616
" }}}
1717

0 commit comments

Comments
 (0)