Skip to content

Commit

Permalink
revert the constraint of [0,50] since that's the point of self.matchi…
Browse files Browse the repository at this point in the history
…ng_limit
  • Loading branch information
jamis committed Oct 12, 2008
1 parent ddaf3c4 commit 99bdad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzzyfinder_textmate.vim
Expand Up @@ -72,7 +72,7 @@ RUBY
let result = []
ruby << RUBY
matches = finder.find(VIM.evaluate('self.remove_prompt(a:base)'), VIM.evaluate('self.matching_limit').to_i + 1)
matches.sort_by { |a| [-a[:score], a[:path]] }[0,50].each_with_index do |match, index|
matches.sort_by { |a| [-a[:score], a[:path]] }.each_with_index do |match, index|
word = match[:path]
abbr = "%2d: %s" % [index+1, match[:abbr]]
menu = "[%5d]" % [match[:score] * 10000]
Expand Down

0 comments on commit 99bdad5

Please sign in to comment.