Skip to content

Commit

Permalink
break if no tweets
Browse files Browse the repository at this point in the history
  • Loading branch information
basyura committed Aug 25, 2013
1 parent 48bc47c commit d123a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/tweetvim/action/around.vim
Expand Up @@ -29,7 +29,7 @@ function! tweetvim#action#around#execute(tweet)
" get 20 tweets but not contained a:tweet
" case 1. got after next tweet's
" case 2. long term between from a:tweet to next tweet
if len(after) >= 10 || len(after) != 0 && after[-1].id_str >= a:tweet.id_str
if len(after) >= 10 || len(after) == 0 || after[-1].id_str >= a:tweet.id_str
break
endif
redraw
Expand Down

0 comments on commit d123a53

Please sign in to comment.