mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +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
|
-- must first save any updates potentially made to the list before
|
||||||
-- navigating
|
-- navigating
|
||||||
local list = Buffer.get_contents(self.bufnr)
|
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(
|
Logger:log(
|
||||||
"ui#select_menu_item selecting item",
|
"ui#select_menu_item selecting item",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user