New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leaderf rg does not search in working directory? #277
Comments
Yes, |
@Yggdroot , |
I don't understand your expectation, I think the current behavior is the expected behavior. |
sorry, my mistake. The actual behaviour is searching under sub-folder path, and my expected behaviour is searching under project path, always, just like LeaderfFile. As your explained, this is not bug, but a feature request. That is provide an option to make:
|
Now you can use Leaderf rg like this:
|
帅 |
Thanks 👍 |
vim --version
ornvim --version
::echo has("python")
:0
:echo has("python3")
:1
:echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
:E319 No "python" provider found.
:py3 print(sys.version)
:3.7.2
:echo g:Lf_Debug_Cmd
:Describe your question, feature request, or bug.
I found that
Leaderf! rg
search string under directory same with:pwd
, butLeaderf file
search files under working directory which indicated byg:Lf_RootMarkers
. Why they have different behaves?I already set this in my init.vim:
Can I get the root working directory and set it to rg path?
Steps to reproduce
directory structure:
open test.c using neovim, use
Leaderf rg -e
to search something.Actual behaviour
searching under my-project path.
Expected behaviour
searching under sub-folder path.
The text was updated successfully, but these errors were encountered: