Merge remote-tracking branch 'Delapouite/kakbegin'

This commit is contained in:
Maxime Coste 2017-12-29 09:41:05 +11:00
commit 3a93365215
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ of the given *group*.
*InputModeChange* `<old mode>:<new mode>`::
Triggered whenever the current input mode changes
*KakBegin*::
*KakBegin* `session name`::
kakoune has started, this hook is called just after reading the user
configuration files

View File

@ -618,7 +618,7 @@ int run_server(StringView session, StringView server_init,
{
Context empty_context{Context::EmptyContextFlag{}};
global_scope.hooks().run_hook("KakBegin", "", empty_context);
global_scope.hooks().run_hook("KakBegin", session, empty_context);
}
if (not files.empty()) try