aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/undo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 63224eb0a6..6abb045264 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -350,7 +350,6 @@ int u_savecommon(buf_T *buf,
// warning for a read-only file before making the change, so that the
// FileChangedRO event can replace the buffer with a read-write version
// (e.g., obtained from a source control system).
- // TODO(vigoux): change_warning is tricky because of curbuf_lock...
if (buf == curbuf) {
change_warning(buf, 0);
}