mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
feat(messages): add "prev_cmd" argument to msg_history_show (#34779)
Problem: Unable to tell whether msg_history_show event is emitted for a :messages or g< command. Solution: Add "prev_cmd" argument that is set to true for g<.
This commit is contained in:
@@ -1212,7 +1212,7 @@ void ex_messages(exarg_T *eap)
|
||||
}
|
||||
}
|
||||
if (kv_size(entries) > 0) {
|
||||
ui_call_msg_history_show(entries);
|
||||
ui_call_msg_history_show(entries, eap->skip != 0);
|
||||
api_free_array(entries);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user