Closed phuongnd08 closed 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.
let g:Lf_UseVersionControlTool=0
That solves the problem. Though I wonder why it's not by default. Make me pull my hair for a while.
This is what I see:
vim --version
ornvim --version
:NVIM v0.9.5
:echo has("python")
:0
:echo has("python3")
:1
:echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
::py3 print(sys.version)
:3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
:echo g:Lf_Debug_Cmd
:git ls-files "." && git ls-files --others --exclude-standard "."
:echo g:Lf_FilesFromCache
:1
Describe your question, feature request, or bug.
Not see files when invoke :LeaderfFile
Steps to reproduce
Invoke :LeaderfFile
Actual behaviour
Expected behaviour
Showing some files