Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Use uniq in histories"

This reverts commit 665f862.
  • Loading branch information...
commit f6394baae8d3e3beb4ec6fdda4e9e9c550c2d52b 1 parent 665f862
@Shougo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  autoload/vimshell/history.vim
View
2  autoload/vimshell/history.vim
@@ -56,7 +56,7 @@ function! vimshell#history#append(command) "{{{
let histories = vimshell#history#read()
" Filtering.
- let histories = add(unite#util#uniq(histories), command)
+ let histories = add(filter(histories, "v:val !=# command"), command)
if g:vimshell_max_command_history > 0 &&
\ len(histories) > g:vimshell_max_command_history
Please sign in to comment.
Something went wrong with that request. Please try again.