Browse files

Fixed issue #19: fuzzy_file_find.max_files now actually applies.

  • Loading branch information...
1 parent 3ccecc2 commit 8df743bc27c4c20449722fe06e0737c89d1c4fba @Pistos committed Dec 7, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 CHANGELOG
  2. +1 −1 lib/diakonos/functions/buffers.rb
View
1 CHANGELOG
@@ -10,6 +10,7 @@ Diakonos Changelog
- Fixed open_file bug caused by empty input.
- Fixed several display bugs.
- Added fuzzy_file_find.recursive option (default true).
+- Fixed fuzzy_file_find.max_files.
0.9.0
View
2 lib/diakonos/functions/buffers.rb
@@ -300,7 +300,7 @@ def open_file_ask
finder_block = lambda { |input|
finder = FuzzyFileFinder.new(
directories: @session[ 'dir' ],
- ceiling: @settings['fuzzy_file_find.max_dir_size'] || 8192,
+ ceiling: @settings['fuzzy_file_find.max_files'] || 8192,
ignores: @fuzzy_ignores,
recursive: @settings['fuzzy_file_find.recursive']
)

0 comments on commit 8df743b

Please sign in to comment.