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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/mark_defs.h b/src/nvim/mark_defs.h
index 2f7c9b4ed4..af4727d634 100644
--- a/src/nvim/mark_defs.h
+++ b/src/nvim/mark_defs.h
@@ -19,6 +19,12 @@
/// Total possible number of global marks
#define NGLOBALMARKS (NMARKS + EXTRA_MARKS)
+/// Total possible number of local marks
+///
+/// That are uppercase marks plus '"', '^' and '.'. There are other local marks,
+/// but they are not saved in ShaDa files.
+#define NLOCALMARKS (NMARKS + 3)
+
/// Maximum number of marks in jump list
#define JUMPLISTSIZE 100