summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-24 20:27:03 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-24 20:27:03 +0200
commit59f931ef54d143eb92f9b9168eb74fb061c39294 (patch)
treebb0116b64dbebf8a2c4f442a0514e8d2ec6f2d26 /src/option.c
parent72ada0f8c2655e365d9284bcc9243e29e5951f04 (diff)
downloadvim-git-59f931ef54d143eb92f9b9168eb74fb061c39294.tar.gz
Add the 'undoreload' option to be able to undo a file reload.
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c
index 8a3f6b59b..2c5e88bfb 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2655,6 +2655,9 @@ static struct vimoption
(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},