aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-07-06 19:52:26 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2021-07-06 19:52:26 +0200
commitf8ed13c0dc5f144501e90cbf38fc3f24dd306a9e (patch)
treeb08ea6ba93d1c85824590af4f46304eadccdd959 /src
parente5804d46fde418b6e28dafed978cbdc1619d74a9 (diff)
downloadrneovim-f8ed13c0dc5f144501e90cbf38fc3f24dd306a9e.tar.gz
rneovim-f8ed13c0dc5f144501e90cbf38fc3f24dd306a9e.tar.bz2
rneovim-f8ed13c0dc5f144501e90cbf38fc3f24dd306a9e.zip
style(undo): remove unnecessary comment
Diffstat (limited to 'src')
-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);
}