mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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:
@@ -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 '#'
|
||||
|
||||
|
Reference in New Issue
Block a user