Skip to content

Commit

Permalink
Fix #1205 sorter_selecta error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Nov 10, 2016
1 parent 33d6c88 commit 3afccb3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions autoload/unite/filters/sorter_selecta.vim
Expand Up @@ -83,9 +83,11 @@ endfunction
" @vimlint(EVL102, 1, l:candidate)
function! s:sort_python(candidates, inputs) abort
for input in a:inputs
for candidate in a:candidates
Python2or3 score()
endfor
if input != ''
for candidate in a:candidates
Python2or3 score()
endfor
endif
endfor

return unite#util#sort_by(a:candidates, 'v:val.filter__rank')
Expand Down

0 comments on commit 3afccb3

Please sign in to comment.