aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-20 16:38:31 +0200
committerGitHub <noreply@github.com>2022-09-20 16:38:31 +0200
commit62db91f06cd6effab59e84289889b2a5d75f3e4b (patch)
treea74a4d512ada55c8f156a3df6906040b449c80c8 /src
parentcfdc93e8ac3e6c1577f1582c4b9546c118aa7987 (diff)
parentb5a21ad8ff91ae811c68fe1e97fa9c5a9ac873c7 (diff)
downloadrneovim-62db91f06cd6effab59e84289889b2a5d75f3e4b.tar.gz
rneovim-62db91f06cd6effab59e84289889b2a5d75f3e4b.tar.bz2
rneovim-62db91f06cd6effab59e84289889b2a5d75f3e4b.zip
Merge pull request #20263 from notomo/refactor-remove-unused
refactor(message): remove unused function
Diffstat (limited to 'src')
-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 da9539e0d1..c93e825a5d 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)
{