mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.1-022
This commit is contained in:
@@ -2349,8 +2349,10 @@ keymap_init()
|
||||
|
||||
if (*curbuf->b_p_keymap == NUL)
|
||||
{
|
||||
/* Stop any active keymap and clear the table. */
|
||||
/* Stop any active keymap and clear the table. Also remove
|
||||
* b:keymap_unload, as no keymap is active now. */
|
||||
keymap_unload();
|
||||
do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2500,7 +2502,6 @@ keymap_unload()
|
||||
|
||||
ga_clear(&curbuf->b_kmap_ga);
|
||||
curbuf->b_kmap_state &= ~KEYMAP_LOADED;
|
||||
do_cmdline_cmd((char_u *)"unlet! b:keymap_name");
|
||||
#ifdef FEAT_WINDOWS
|
||||
status_redraw_curbuf();
|
||||
#endif
|
||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
22,
|
||||
/**/
|
||||
21,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user