From 763c852812c8c7e819881a76a237b6f19920f803 Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Wed, 23 Sep 2020 22:45:51 +0200 Subject: undo: reduce reliance on curbuf --- src/nvim/buffer_defs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/buffer_defs.h') diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 17bd81b230..a4d9229b51 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -525,6 +525,7 @@ struct file_buffer { int b_flags; // various BF_ flags int b_locked; // Buffer is being closed or referenced, don't // let autocommands wipe it out. + int b_ro_locked; // Replacement for curbuf_lock // // b_ffname has the full path of the file (NULL for no name). -- cgit