aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-11-16 11:03:43 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-11-16 11:03:43 +0100
commit6222cca36adbf09109987e27e58d025a00020f3a (patch)
tree6deb657382b72b5cda5eaafbd9ceef0e808af62e /src/nvim/getchar.c
parente3b08a0fc43eef91b51f8166a036e86b5bdf5613 (diff)
downloadrneovim-6222cca36adbf09109987e27e58d025a00020f3a.tar.gz
rneovim-6222cca36adbf09109987e27e58d025a00020f3a.tar.bz2
rneovim-6222cca36adbf09109987e27e58d025a00020f3a.zip
undo: delete undo_off global without effect
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 399f0671b4..c038977127 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -2409,7 +2409,6 @@ int inchar(
did_outofmem_msg = FALSE; /* display out of memory message (again) */
did_swapwrite_msg = FALSE; /* display swap file write error again */
}
- undo_off = FALSE; /* restart undo now */
// Get a character from a script file if there is one.
// If interrupted: Stop reading script files, close them all.