Document on_selection_change

pull/649/head
Arijit Basu 10 months ago
parent 2f3c2ea0e4
commit 0cc8723e8e
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -131,6 +131,14 @@ return {
{ LogSuccess = "Switched layout" },
{ CallLuaSilently = "custom.some_plugin_with_hooks.on_layout_switch" },
}
-- Add messages to send when the selection changes
--
-- Type: list of [Message](https://xplr.dev/en/message#message)s
on_selection_change = {
{ LogSuccess = "Selection changed" },
{ CallLuaSilently = "custom.some_plugin_with_hooks.on_selection_change" },
}
}
```

Loading…
Cancel
Save