Skip to content

Commit 87b1a35

Browse files
authored
Merge pull request #668 from searleser97/allow_data_to_use_partial_config_key_fn
Fix: partial_config.settings.key() not working as expected
2 parents ed1f853 + 3c25e74 commit 87b1a35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/harpoon/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ function Harpoon.setup(self, partial_config)
146146

147147
---@diagnostic disable-next-line: param-type-mismatch
148148
self.config = Config.merge_config(partial_config, self.config)
149+
self.data = Data.Data:new(self.config)
149150
self.ui:configure(self.config.settings)
150151
self._extensions:emit(Extensions.event_names.SETUP_CALLED, self.config)
151152

0 commit comments

Comments
 (0)