commit 62db91f06cd6effab59e84289889b2a5d75f3e4b
parent cfdc93e8ac3e6c1577f1582c4b9546c118aa7987
Author: bfredl <bjorn.linse@gmail.com>
Date: Tue, 20 Sep 2022 16:38:31 +0200
Merge pull request #20263 from notomo/refactor-remove-unused
refactor(message): remove unused function
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/nvim/message.c b/src/nvim/message.c
@@ -936,15 +936,6 @@ void hl_msg_free(HlMessage hl_msg)
kv_destroy(hl_msg);
}
-#define LINE_BUFFER_SIZE 4096
-
-void add_hl_msg_hist(HlMessage hl_msg)
-{
- if (kv_size(hl_msg)) {
- add_msg_hist_multiattr(NULL, 0, 0, true, hl_msg);
- }
-}
-
/// @param[in] len Length of s or -1.
static void add_msg_hist(const char *s, int len, int attr, bool multiline)
{