Skip to content

Commit 2b8b2fa

Browse files
committed
refactor(ui/reference_picker): call M.clear_all() instead of direct cache reset
1 parent 566939a commit 2b8b2fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/opencode/ui/reference_picker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ end
242242
---Should be called once during plugin initialization
243243
function M.setup()
244244
state.store.subscribe('messages', function()
245-
cache = {}
245+
M.clear_all()
246246
end)
247247
end
248248

0 commit comments

Comments
 (0)