diff --git a/lua/harpoon/ui.lua b/lua/harpoon/ui.lua index 76fcaa6..2ecab2b 100644 --- a/lua/harpoon/ui.lua +++ b/lua/harpoon/ui.lua @@ -97,6 +97,9 @@ function HarpoonUI:toggle_quick_menu(list) count = count + 1 if list == nil or self.win_id ~= nil then + if self.settings.save_on_toggle then + self:save() + end self:close_menu() return end