Mercurial > vim
diff src/vim.h @ 5796:f084024c0ddb v7.4.242
updated for version 7.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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Apr 2014 19:55:10 +0200 |
parents | d2286df8719d |
children | 1bff71d20262 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -2259,6 +2259,11 @@ typedef int VimClipboard; /* This is req #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 '#'