From ab151eb85b15d13176d1b2a4c37113530637a058 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 27 Oct 2022 20:43:54 +0200 Subject: [PATCH] fix: nui.menu._tree -> nui.menu.tree --- lua/noice/ui/popupmenu/nui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/noice/ui/popupmenu/nui.lua b/lua/noice/ui/popupmenu/nui.lua index 81e0f41..3849be4 100644 --- a/lua/noice/ui/popupmenu/nui.lua +++ b/lua/noice/ui/popupmenu/nui.lua @@ -191,8 +191,8 @@ function M.show(state) if M.menu then M.menu._.items = items - M.menu._tree:set_nodes(items) - M.menu._tree:render() + M.menu.tree:set_nodes(items) + M.menu.tree:render() M.menu:update_layout(opts) else M.create(items, opts)