mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-13 17:40:25 +00:00
Merge pull request #547 from Makaze/patch-1
Fix error on item select: Missing length argument (Resolves #546)
This commit is contained in:
commit
02ccb7b92b
@ -167,7 +167,8 @@ function HarpoonUI:select_menu_item(options)
|
||||
-- must first save any updates potentially made to the list before
|
||||
-- navigating
|
||||
local list = Buffer.get_contents(self.bufnr)
|
||||
self.active_list:resolve_displayed(list)
|
||||
local length = #list
|
||||
self.active_list:resolve_displayed(list, length)
|
||||
|
||||
Logger:log(
|
||||
"ui#select_menu_item selecting item",
|
||||
|
Loading…
x
Reference in New Issue
Block a user