aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/mark_defs.h')
-rw-r--r--src/nvim/mark_defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/mark_defs.h b/src/nvim/mark_defs.h
index 16d85a6e51..a78056c5f9 100644
--- a/src/nvim/mark_defs.h
+++ b/src/nvim/mark_defs.h
@@ -64,9 +64,10 @@ typedef enum {
/// Represents view in which the mark was created
typedef struct fmarkv {
linenr_T topline_offset; ///< Amount of lines from the mark lnum to the top of the window.
+ ///< Use MAXLNUM to indicate that the mark does not have a view.
} fmarkv_T;
-#define INIT_FMARKV { 0 }
+#define INIT_FMARKV { MAXLNUM }
/// Structure defining single local mark
typedef struct filemark {