aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index a1aa6b2d79..59f4721da2 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -22,7 +22,9 @@
#define LINE_BUFFER_SIZE 4096
-static void write_msg(String message, bool to_err);
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "api/vim.c.generated.h"
+#endif
/// Send keys to vim input buffer, simulating user input.
///