summaryrefslogtreecommitdiff
path: root/lua/clever_f
diff options
context:
space:
mode:
authorJackson Moore <jacksonmoore@tuta.io>2026-09-04 14:18:01 +0200
committerJackson Moore <jacksonmoore@tuta.io>2026-09-04 14:18:01 +0200
commitd1ba6bdac0924a5592e25e8bf80c595c1c05ce4c (patch)
tree1c17b35c85dd678a5721cb0ecf22f73e2439c8d8 /lua/clever_f
parentac2d32dd0d7f73018613bea80ebd2823508c0105 (diff)
Install sampled eager hooks
Diffstat (limited to 'lua/clever_f')
-rw-r--r--lua/clever_f/composition_root.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/clever_f/composition_root.lua b/lua/clever_f/composition_root.lua
index 527fec6..ecd1047 100644
--- a/lua/clever_f/composition_root.lua
+++ b/lua/clever_f/composition_root.lua
@@ -83,6 +83,7 @@ end
function CompositionRoot:activate()
local record = root_records[self]
if record.activation == nil then
+ local feedback_activation = record.feedback:activate()
local highlights = record.feedback:evaluate_highlights()
local colorscheme_registration = record.host:register_events(
"ColorScheme",
@@ -93,6 +94,7 @@ function CompositionRoot:activate()
)
record.activation = {
state = record.state,
+ feedback = feedback_activation,
highlights = highlights,
colorscheme_registration = colorscheme_registration,
}