File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ It could either by `project-directory' or `default-directory'")
105105 (memq ivy-file-preview--this-command '(ivy-searcher-search-file
106106 ivy-searcher-search-project)))
107107
108- (defun ivy-file-preview--filter-candidates ()
109- " Filter possible candidates for overlays."
108+ (defun ivy-file-preview--init-ov-data ()
109+ " Initialize overlays data ."
110110 (when (ivy-file-preview--ivy-searcher-p)
111111 (setq ivy-file-preview--first-cand-index
112112 (cl-position
@@ -204,7 +204,7 @@ If CURRENT-OV is non-nil it create overlay that are currently selected."
204204
205205(defun ivy-file-preview--extract-candidates-overlay-data ()
206206 " Extract the overlay data from current ivy candidates."
207- (ivy-file-preview--filter-candidates )
207+ (ivy-file-preview--init-ov-data )
208208 (let* ((fn (s-replace ivy-file-preview--current-dir " " ivy-file-preview--selected-file))
209209 (cands (ivy-file-preview--candidates))
210210 (cands-len (length cands)) current-cand entered ln-data
You can’t perform that action at this time.
0 commit comments