-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
E684: list index out of range: 0 #462
Comments
|
Thanks @junegunn - It worked. command! -bang -nargs=* AllFiles call fzf#run(fzf#wrap(
\ {'source': 'rg --files --hidden --no-ignore --follow --ignore-case'}, <bang>0 ? fzf#vim#with_preview('right:50%') : fzf#vim#with_preview('right:50%:hidden', '?'), <bang>0) |
@junegunn This helped me understand how to (not) integrate the fd command, thanks! |
@terkelg, I think your command missed a close parenthese at the end. |
@junegunn Hi, would you please help with how to implement this command with |
I'm getting the following error
E684: list index out of range: 0
when I runfzf
withrg --files
, and hit enter. I'm not sure how to debug this, and I've never done any vim development. How can I get more debugging information?It happens in both neovim and vim.
This is how it looks in my
.vimrc
:I'm pretty sure it has something to do with the
--files
flag.rg --files
works fine in the terminal, outside vim.neovim error:
vim error:
Thanks for the amazing work on FZF
The text was updated successfully, but these errors were encountered: