Hi,
I'm the author of the pref-by-location.yazi plugin, which is used for saving user preferences (sort, show_hidden, linemode). If possible, please add a custom DDS event to notify when a project is loaded, so my plugin can restore user preferences correctly. Thanks in advance!
-- 0 mean broadcast to all
local broadcast = ya.sync(function(_, pubsub_kind, data, to)
ps.pub_to(to or 0, pubsub_kind, data)
end)