diff options
Diffstat (limited to 'src/scope.cc')
| -rw-r--r-- | src/scope.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.cc b/src/scope.cc index 2930be97..fab7ed0d 100644 --- a/src/scope.cc +++ b/src/scope.cc @@ -18,7 +18,7 @@ GlobalScope::~GlobalScope() void GlobalScope::on_option_changed(const Option& option) { Context empty_context{Context::EmptyContextFlag{}}; - hooks().run_hook("GlobalSetOption", + hooks().run_hook(Hook::GlobalSetOption, format("{}={}", option.name(), option.get_as_string(Quoting::Kakoune)), empty_context); } |
