I got a problem using sorter_selecta on a grep source. When entering "!foo" to filter out lines matching "foo", the filter crashed [0].
I tracked it down to this line [1] which caused an "Undefined variable : 'Infinity'" error when score is 0.
OS : Linux Mint 17
Vim : 7.4.537
I tried to find a way to consistently reproduce the bug, but it seems to involve the cache settings, and I could not narrow it down enough to post it. Let me know if you want to know some specific settings in my vimrc !
[0]
Error detected while processing function unite#handlers#_on_cursor_moved_i..129_check_redraw..unite#redraw..unite#view#_redraw..te#candidates#_recache..120_recache_candidates_loop..unite#helper#call_filter..1..130..unite#filters#sorter_selecta#_sort..~
| 126_sort_ruby:
line 6:
E121: Undefined variable: Infinity
I got a problem using sorter_selecta on a grep source. When entering "!foo" to filter out lines matching "foo", the filter crashed [0].
I tracked it down to this line [1] which caused an "Undefined variable : 'Infinity'" error when score is 0.
OS : Linux Mint 17 Vim : 7.4.537
I tried to find a way to consistently reproduce the bug, but it seems to involve the cache settings, and I could not narrow it down enough to post it. Let me know if you want to know some specific settings in my vimrc !
[0]
line 6:
E121: Undefined variable: Infinity
[1] https://github.com/Shougo/unite.vim/blob/master/autoload/unite/filters/sorter_selecta.vim#L79