ThePrimeagen / harpoon

MIT License
6.25k stars 348 forks source link

README.md: sample configuration toggle_telescope fix #581

Open lalit10368 opened 2 months ago

lalit10368 commented 2 months ago

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).