Skip to content

Feature request: add a custom dds event to notify after project is loaded. #5

@boydaihungst

Description

@boydaihungst

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions