diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-04-07 19:50:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-04-07 19:50:12 +0200 |
commit | d4863aa99e0527e9505c79cbeafc68a6832200bf (patch) | |
tree | 2ea60d3eb3f29982b5188d86c7df63665d278d72 /src/structs.h | |
parent | 52604f2454e5369f861d3ce34764f74a0999c773 (diff) | |
download | vim-git-d4863aa99e0527e9505c79cbeafc68a6832200bf.tar.gz |
patch 8.0.0548: saving the redo buffer only works one timev8.0.0548
Problem: Saving the redo buffer only works one time, resulting in the "."
command not working well for a function call inside another
function call. (Ingo Karkat)
Solution: Save the redo buffer at every user function call. (closes #1619)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 475280af1..017501742 100644 --- a/src/structs.h +++ b/src/structs.h @@ -515,6 +515,12 @@ struct buffheader int bh_space; /* space in bh_curr for appending */ }; +typedef struct +{ + buffheader_T sr_redobuff; + buffheader_T sr_old_redobuff; +} save_redo_T; + /* * used for completion on the command line */ |