Yggdroot / LeaderF

An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Apache License 2.0
2.14k stars 178 forks source link

Not seeing files in the list of LeaderfFile #1068

Closed phuongnd08 closed 6 months ago

phuongnd08 commented 6 months ago

This is what I see:

image

Describe your question, feature request, or bug.

Not see files when invoke :LeaderfFile

Steps to reproduce

Invoke :LeaderfFile

Actual behaviour

image

Expected behaviour

Showing some files

phuongnd08 commented 6 months ago

After running the debug command, I see git ls-files and look like LeaderF expect the files to be in git history. So I commit the files to git and see it populates. However this is not my wanted behavior. Not sure how did git ls-files is used here. Would not see files unless they were committed to git.

Yggdroot commented 6 months ago

let g:Lf_UseVersionControlTool=0

phuongnd08 commented 6 months ago

That solves the problem. Though I wonder why it's not by default. Make me pull my hair for a while.