diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-04-02 19:55:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-04-02 19:55:10 +0200 |
commit | b7cb42bc3878fcb62ed407f47f0a2cc960aa7c1e (patch) | |
tree | 5106cbff25dbcf19891a33f658aac198f1e85137 /src/vim.h | |
parent | 41571769c9a236fd07b333a5eb98c461636b466c (diff) | |
download | vim-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 '#' |