Permalink
Browse files

fix vimshell_history.vim: remove unnecessary reverse

  • Loading branch information...
itchyny committed Feb 23, 2014
1 parent 99ae376 commit 60a23a13d097dd75419d65dd6a9026d53e380023
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 60a23a1

Please sign in to comment.