aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/bufwrite.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-25 12:21:35 +0200
committerbfredl <bjorn.linse@gmail.com>2023-09-25 18:23:15 +0200
commitc3d1d9445c70846d43d1f091ee0762e16513e225 (patch)
treed9a5b5b964993519f86a4d70695451c35381302a /src/nvim/bufwrite.c
parented8b7aae8525625c17b72c3fac187c5aee8a2c5c (diff)
downloadrneovim-c3d1d9445c70846d43d1f091ee0762e16513e225.tar.gz
rneovim-c3d1d9445c70846d43d1f091ee0762e16513e225.tar.bz2
rneovim-c3d1d9445c70846d43d1f091ee0762e16513e225.zip
refactor(options)!: graduate some more shortmess flags
A lot of updated places in the docs were already incorrect since long since they did not reflect the default behaviour. "[dos format]" could've been argued being better for discoverability but that ship has already sailed as it is no longer displayed by default.
Diffstat (limited to 'src/nvim/bufwrite.c')
-rw-r--r--src/nvim/bufwrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/bufwrite.c b/src/nvim/bufwrite.c
index 445e946543..0c95314c52 100644
--- a/src/nvim/bufwrite.c
+++ b/src/nvim/bufwrite.c
@@ -1766,11 +1766,11 @@ restore_backup:
xstrlcat(IObuff, _("[Device]"), IOSIZE);
insert_space = true;
} else if (newfile) {
- xstrlcat(IObuff, new_file_message(), IOSIZE);
+ xstrlcat(IObuff, _("[New]"), IOSIZE);
insert_space = true;
}
if (no_eol) {
- msg_add_eol();
+ xstrlcat(IObuff, _("[noeol]"), IOSIZE);
insert_space = true;
}
// may add [unix/dos/mac]