diff options
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cc b/src/client.cc index 7eb35eee..c3218b77 100644 --- a/src/client.cc +++ b/src/client.cc @@ -64,6 +64,8 @@ DisplayLine Client::generate_mode_line() const status.push_back({ "[recording ("_str + m_input_handler.recording_reg() + ")]", info_face }); if (context().buffer().flags() & Buffer::Flags::New) status.push_back({ "[new file]", info_face }); + if (context().are_user_hooks_disabled()) + status.push_back({ "[no-hooks]", info_face }); if (context().buffer().flags() & Buffer::Flags::Fifo) status.push_back({ "[fifo]", info_face }); status.push_back({ " ", status_face }); |
