aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r--src/nvim/cursor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c
index 8f8bc60510..5049a51872 100644
--- a/src/nvim/cursor.c
+++ b/src/nvim/cursor.c
@@ -10,7 +10,9 @@
#include "nvim/screen.h"
#include "nvim/vim.h"
-static int coladvance2(pos_T *pos, bool addspaces, bool finetune, colnr_T wcol);
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "cursor.c.generated.h"
+#endif
/*
* Get the screen position of the cursor.