summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-04-02 19:55:10 +0200
committerBram Moolenaar <Bram@vim.org>2014-04-02 19:55:10 +0200
commitb7cb42bc3878fcb62ed407f47f0a2cc960aa7c1e (patch)
tree5106cbff25dbcf19891a33f658aac198f1e85137 /src/vim.h
parent41571769c9a236fd07b333a5eb98c461636b466c (diff)
downloadvim-git-b7cb42bc3878fcb62ed407f47f0a2cc960aa7c1e.tar.gz
updated for version 7.4.242v7.4.242
Problem: getreg() does not distinguish between a NL used for a line break and a NL used for a NUL character. Solution: Add another argument to return a list. (ZyX)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index e83ea4a6e..84e139c75 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2259,6 +2259,11 @@ typedef int VimClipboard; /* This is required for the prototypes. */
#define SREQ_WIN 1 /* Request window-local option */
#define SREQ_BUF 2 /* Request buffer-local option */
+/* Flags for get_reg_contents */
+#define GREG_NO_EXPR 1 /* Do not allow expression register */
+#define GREG_EXPR_SRC 2 /* Return expression itself for "=" register */
+#define GREG_LIST 4 /* Return list */
+
/* Character used as separated in autoload function/variable names. */
#define AUTOLOAD_CHAR '#'