aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotomo <notomo.motono@gmail.com>2022-09-20 13:07:09 +0000
committernotomo <notomo.motono@gmail.com>2022-09-20 13:07:48 +0000
commitb5a21ad8ff91ae811c68fe1e97fa9c5a9ac873c7 (patch)
tree216acc98b8cbfc616cfd229a729022b7715c79a9
parentae30e388dee08e59c08dffc20c2f5122b8c31249 (diff)
downloadrneovim-b5a21ad8ff91ae811c68fe1e97fa9c5a9ac873c7.tar.gz
rneovim-b5a21ad8ff91ae811c68fe1e97fa9c5a9ac873c7.tar.bz2
rneovim-b5a21ad8ff91ae811c68fe1e97fa9c5a9ac873c7.zip
refactor(message): remove unused function
-rw-r--r--src/nvim/message.c9
1 files changed, 0 insertions, 9 deletions
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)
{