Fix scope mistake

Closes #76.
This commit is contained in:
Marco Hinz 2014-03-31 21:31:34 +02:00
parent ac67377d52
commit 95e8b9f95f

View file

@ -390,7 +390,10 @@ endfunction
" Function: s:show_bookmarks {{{1 " Function: s:show_bookmarks {{{1
function! s:show_bookmarks(cnt) abort function! s:show_bookmarks(cnt) abort
if exists('g:startify_bookmarks') if !exists('g:startify_bookmarks')
return a:cnt
endif
if exists('s:last_message') if exists('s:last_message')
call s:print_section_header() call s:print_section_header()
endif endif
@ -407,7 +410,6 @@ function! s:show_bookmarks(cnt) abort
endfor endfor
call append('$', '') call append('$', '')
endif
return cnt return cnt
endfunction endfunction