aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.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/buffer.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/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index df6ca4789b..7a3e65e10e 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -3182,7 +3182,7 @@ void fileinfo(int fullname, int shorthelp, int dont_truncate)
(curbuf->b_flags & BF_NOTEDITED) && !dontwrite
? _("[Not edited]") : "",
(curbuf->b_flags & BF_NEW) && !dontwrite
- ? new_file_message() : "",
+ ? _("[New]") : "",
(curbuf->b_flags & BF_READERR)
? _("[Read errors]") : "",
curbuf->b_p_ro