Permalink
Browse files

Merge pull request #131 from itchyny/master

fix vimshell_history.vim: remove unnecessary reverse
  • Loading branch information...
2 parents 99ae376 + 60a23a1 commit 5bd76218b1766788abd22a93d7d9ea0560bc47da @Shougo committed Feb 23, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 autoload/neocomplete/sources/vimshell_history.vim
@@ -54,8 +54,8 @@ function! s:source.get_complete_position(context) "{{{
endfunction "}}}
function! s:source.gather_candidates(context) "{{{
- return reverse(filter(vimshell#util#uniq(reverse(vimshell#history#read())),
- \ 'stridx(v:val, a:context.complete_str) >= 0'))
+ return filter(vimshell#util#uniq(reverse(vimshell#history#read())),
+ \ 'stridx(v:val, a:context.complete_str) >= 0')
endfunction "}}}
" ies foldmethod=marker

0 comments on commit 5bd7621

Please sign in to comment.