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
Tags it returns empty results #22
Comments
What is the output of |
The output is |
Maybe the file is empty. Can you open it and see if it contains the tags you want? |
I think the tags file is ok. For example: I am in |
Alright, can you check if this command works? It's what Tags command does internally.
|
It seems to work, a small sample of the output
|
I tried also |
Hmm, which version of fzf do you have? |
I did a plug update now, and still has the same problem.
|
Ah, I just realized that I see the same error when I run the bang-version, |
I think it should be fixed now. Please update and try again. |
Yes, it works now. Thanks |
This is also the case for me. :Tags command returns empty results. There is a tags file generated in the root already but I get nothing.
I am currently running Neovim on Alpine Linux with Python3. I do not have Perl so the following command is not available in the neovim version I have. I did not think I needed Pearl to run neovim. perl -ne 'unless (/^!/) { s/^(.?)\t(.?)\t/\x1b[33m\1\x1b[m\t\x1b[34m\2\x1b[m\t/; print }' tags When I run :Files I do get results but it is only when I have FZF_DEFAULT_COMMAND set. I was under the impression that it would give me results even if that Environment variable was not set. And yes I can reproduce the problem with vim -Nu <(curl https://gist.githubusercontent.com/junegunn/6936bf79fedd3a079aeb1dd2f3c81ef5/raw) |
Neovim does not require perl, but Tags command of this plugin requires perl. You can install perl, or send me a pull request that removes perl dependency.
It should. You might want to test |
@junegunn same thing in the terminal. Running fzf without the FZF_DEFAULT_COMMAND variable set does nothing. Running
Does nothing. |
It's a valid command. You'll have to figure out why it doesn't run on your system. |
So thanks for your help. The :Tags command was, of course, perl needing to be installed. The issue with the FZF_DEFAULT_COMMAND variable needing to be set explicitly for fzf to work (in the command line and the :Files command in vim), was that alpine linux's version of find is limited so I needed to install the gnu version of find in order for it to work.
I appreciate your work and look forward to using fzf more, with and without vim. |
Thanks, I'll see if I can make fzf print error messages in those cases. |
With zero result. Related: junegunn/fzf.vim#22 (comment)
@junegunn Boss! Would be nice to get it added to the readme. But thanks just the same. |
When i run
Tags
even if i have compiled the tags manualy or let the fzf create it, i have no results.I am using vim in debian testing
The text was updated successfully, but these errors were encountered: