lite-xl/data/plugins
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
..
autocomplete.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
autoreload.lua plugins: dropped --lite-xl version tag 2022-05-31 16:34:14 -04:00
contextmenu.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
detectindent.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
drawwhitespace.lua `drawwhitespace`: Invalidate cache on indent size change 2022-07-15 06:54:03 +02:00
language_c.lua [chore]: Delete useless $ 2022-07-13 09:16:32 +02:00
language_cpp.lua [chore]: Delete useless $ 2022-07-13 09:16:32 +02:00
language_css.lua [chore]: Delete useless $ 2022-07-13 09:16:32 +02:00
language_html.lua [chore]: Update syntax 2022-07-06 10:15:44 +02:00
language_js.lua [chore]: Delete useless $ 2022-07-13 09:16:32 +02:00
language_lua.lua [chore]: Delete useless $ 2022-07-13 09:16:32 +02:00
language_md.lua [chore]: Delete useless $ 2022-07-13 09:16:32 +02:00
language_python.lua `language_python`: Add new patterns (#1074) 2022-07-13 11:06:42 -04:00
language_xml.lua plugins: dropped --lite-xl version tag 2022-05-31 16:34:14 -04:00
lineguide.lua lineguide: added config spec 2022-06-23 18:07:27 -04:00
linewrapping.lua plugin linewrapping: added priority 2022-06-03 04:13:54 -04:00
macro.lua plugins: dropped --lite-xl version tag 2022-05-31 16:34:14 -04:00
projectsearch.lua Add `text` and `select_text` to `CommandView` options 2022-06-02 19:30:51 +02:00
quote.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
reflow.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
scale.lua renderer fonts: additions and improvements 2022-06-23 18:08:04 -04:00
tabularize.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
toolbarview.lua Steps to generalize toolbar and treeview. (#1088) 2022-08-09 14:53:30 -04:00
treeview.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
trimwhitespace.lua Allow command predicates to manage parameters passed to the commands 2022-08-16 22:13:16 +02:00
workspace.lua plugins: dropped --lite-xl version tag 2022-05-31 16:34:14 -04:00