Skip to content
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

error from telescope when pressing ctrl-y in searchbox #19

Open
kimusan opened this issue Jan 4, 2022 · 3 comments
Open

error from telescope when pressing ctrl-y in searchbox #19

kimusan opened this issue Jan 4, 2022 · 3 comments

Comments

@kimusan
Copy link

kimusan commented Jan 4, 2022

I wanted to search for playlists and tried with ctrl-y when the search box was open. It did change to the playlist searchbox but showed this error consistently:

[telescope] [WARN  11:25:49] ...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:467: Finder failed with msg:  ...site/pack/packer/start/nvim-spotify/lua/nvim-spotify.lua:54: attempt to concatenate a
nil value
{ "" }

searching for playlists did not work and gave this error (I searched for a word I know I have in a playlist):

E5108: Error executing lua ...site/pack/packer/start/nvim-spotify/lua/nvim-spotify.lua:72: attempt to concatenate field 'uri' (a nil value)
stack traceback:
        ...site/pack/packer/start/nvim-spotify/lua/nvim-spotify.lua:72: in function 'run_replace_or_original'
        ...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:30: in function 'key_func'
        ...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:235: in function 'execute_keymap'
        [string ":lua"]:1: in main chunk
@KadoBOT
Copy link
Owner

KadoBOT commented Jan 4, 2022

hey @kimusan you need to press ctrl+y after typing something in the search box, so it will search for a playlist using that input. I know that is not very clear but I'll improve that in a future version.

@kimusan
Copy link
Author

kimusan commented Jan 4, 2022

Thanks that works. Would be nice to be able to "go back" to the search box again from the playlist results list so you can do search for X as song, find out you want to search for it as album instead, or maybe playlist....

@KadoBOT
Copy link
Owner

KadoBOT commented Jan 4, 2022

good one! I'll add your suggestion in the next update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants