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

README.md: sample configuration toggle_telescope fix #581

Open
wants to merge 1 commit into
base: harpoon2
Choose a base branch
from

Conversation

lalit10368
Copy link

ipairs doesn't iterate over all the keys in table. It stops when it sees the first nil (removed file).
If we remove any file in the harpoon:list() we set it to nil. The harpoon's quick_menu ui shows blank for the removed file, however the toggle_telescope ui only lists file till it encounters a nil (discards any items in harpoon_files after some nil).

ipairs doesn't iterate over all the keys in table. It stops when it sees a nil. If we remove any file in the harpoon:list() we set it to nil. The harpoon's quick_menu ui shows blank for the removed file, however the telescope ui only lists file till it encounters a nil.

This same issue might be causing the marked files to disappear on reopening nvim?
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

Successfully merging this pull request may close these issues.

None yet

1 participant