commit | 59f931ef54d143eb92f9b9168eb74fb061c39294 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 24 20:27:03 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 24 20:27:03 2010 +0200 |
tree | bb0116b64dbebf8a2c4f442a0514e8d2ec6f2d26 | |
parent | 72ada0f8c2655e365d9284bcc9243e29e5951f04 [diff] [blame] |
Add the 'undoreload' option to be able to undo a file reload.
diff --git a/src/option.c b/src/option.c index 8a3f6b5..2c5e88b 100644 --- a/src/option.c +++ b/src/option.c
@@ -2655,6 +2655,9 @@ (char_u *)100L, #endif (char_u *)0L} SCRIPTID_INIT}, + {"undoreload", "ur", P_NUM|P_VI_DEF, + (char_u *)&p_ur, PV_NONE, + { (char_u *)10000L, (char_u *)0L} SCRIPTID_INIT}, {"updatecount", "uc", P_NUM|P_VI_DEF, (char_u *)&p_uc, PV_NONE, {(char_u *)200L, (char_u *)0L} SCRIPTID_INIT},