lite-xl/data
Guldoman cf29a6a45f
Allow command predicates to manage parameters passed to the commands
When a command is performed with parameters, those are now passed to the
predicate.
The predicate can then return, after the validity boolean, any other
value that will then be passed to the actual command.
If the predicate only returns the validity boolean, the original
parameters are passed through to the actual command.

This allows predicates to manipulate the received parameters, and allows
them to pass the result of an expensive computation to the actual
command, which won't have to recalculate it.

String and table predicates will now also return `core.active_view`.
2022-08-16 22:13:16 +02:00
..
colors style: move default colors to its own style file 2022-06-02 19:20:54 -04:00
core Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
fonts Use FiraSans regular for UI 2021-05-27 13:49:33 +02:00
plugins Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00