1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2014-04-02 19:55:10 +02:00
parent 41571769c9
commit b7cb42bc38
14 changed files with 138 additions and 25 deletions

View File

@@ -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 '#'