summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index c7360a30cc..680ed6dbd8 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4595,6 +4595,16 @@ typedef struct lval_S
// ignore the rest.
} lval_T;
+/**
+ * This may be used to specify the base type that get_lval() uses when
+ * following a chain, for example a[idx1][idx2].
+ */
+typedef struct lval_root_S {
+ typval_T *lr_tv;
+ class_T *lr_cl_exec; // executing class for access checking
+ int lr_is_arg;
+} lval_root_T;
+
// Structure used to save the current state. Used when executing Normal mode
// commands while in any other mode.
typedef struct {