From b5a21ad8ff91ae811c68fe1e97fa9c5a9ac873c7 Mon Sep 17 00:00:00 2001 From: notomo Date: Tue, 20 Sep 2022 13:07:09 +0000 Subject: refactor(message): remove unused function --- src/nvim/message.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') diff --git a/src/nvim/message.c b/src/nvim/message.c index d613c95925..dc2b91d1b1 100644 --- 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) { -- cgit