From 59f931ef54d143eb92f9b9168eb74fb061c39294 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 24 Jul 2010 20:27:03 +0200 Subject: Add the 'undoreload' option to be able to undo a file reload. --- runtime/optwin.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/optwin.vim') diff --git a/runtime/optwin.vim b/runtime/optwin.vim index c27fbd5d63..404cf89751 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -722,6 +722,8 @@ call OptionG("km", &km) call Header("editing text") call append("$", "undolevels\tmaximum number of changes that can be undone") call append("$", " \tset ul=" . &ul) +call append("$", "undoreload\tmaximum number lines to save for undo on a buffer reload") +call append("$", " \tset ur=" . &ur) call append("$", "modified\tchanges have been made and not written to a file") call append("$", "\t(local to buffer)") call BinOptionL("mod") -- cgit v1.2.3