aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/context.c')
-rw-r--r--src/nvim/context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/context.c b/src/nvim/context.c
index 1db7938ef4..614a3ce30e 100644
--- a/src/nvim/context.c
+++ b/src/nvim/context.c
@@ -3,8 +3,10 @@
// Context: snapshot of the entire editor state as one big object/map
+#include "nvim/api/private/converter.h"
#include "nvim/api/private/helpers.h"
#include "nvim/api/vim.h"
+#include "nvim/api/vimscript.h"
#include "nvim/context.h"
#include "nvim/eval/encode.h"
#include "nvim/ex_docmd.h"
@@ -314,7 +316,7 @@ static inline msgpack_sbuffer array_to_sbuf(Array array)
object_to_vim(ARRAY_OBJ(array), &list_tv, &err);
if (!encode_vim_list_to_buf(list_tv.vval.v_list, &sbuf.size, &sbuf.data)) {
- EMSG(_("E474: Failed to convert list to msgpack string buffer"));
+ emsg(_("E474: Failed to convert list to msgpack string buffer"));
}
sbuf.alloc = sbuf.size;