mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.032
Problem: maparg() doesn't return the flags, such as <buffer>, <script>, <silent>. These are needed to save and restore a mapping. Solution: Improve maparg(). (also by Christian Brabandt)
This commit is contained in:
@@ -979,9 +979,10 @@ typedef struct mapblock mapblock_T;
|
||||
struct mapblock
|
||||
{
|
||||
mapblock_T *m_next; /* next mapblock in list */
|
||||
char_u *m_keys; /* mapped from */
|
||||
char_u *m_keys; /* mapped from, lhs */
|
||||
int m_keylen; /* strlen(m_keys) */
|
||||
char_u *m_str; /* mapped to */
|
||||
char_u *m_str; /* mapped to, rhs */
|
||||
char_u *m_orig_str; /* rhs as entered by the user */
|
||||
int m_mode; /* valid mode */
|
||||
int m_noremap; /* if non-zero no re-mapping for m_str */
|
||||
char m_silent; /* <silent> used, don't echo commands */
|
||||
|
Reference in New Issue
Block a user