aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-09-11 15:32:08 -0500
committerGitHub <noreply@github.com>2024-09-11 20:32:08 +0000
commit98ba65b8be8cb2dde839502357e70916c4a3e37a (patch)
tree4272b21c03fe5403b0a71d919d8169e3a4963084 /src/nvim
parentf9bf64d74641f33961fe1d6c1592b65d2744298f (diff)
downloadrneovim-98ba65b8be8cb2dde839502357e70916c4a3e37a.tar.gz
rneovim-98ba65b8be8cb2dde839502357e70916c4a3e37a.tar.bz2
rneovim-98ba65b8be8cb2dde839502357e70916c4a3e37a.zip
fix: replace NVIM with Nvim in default titlestring (#30348)
Diffstat (limited to 'src/nvim')
-rw-r--r--src/nvim/buffer.c4
-rw-r--r--src/nvim/options.lua6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index f986f558a9..e47db44f68 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -3338,7 +3338,7 @@ void maketitle(void)
#define SPACE_FOR_FNAME (sizeof(buf) - 100)
#define SPACE_FOR_DIR (sizeof(buf) - 20)
-#define SPACE_FOR_ARGNR (sizeof(buf) - 10) // At least room for " - NVIM".
+#define SPACE_FOR_ARGNR (sizeof(buf) - 10) // At least room for " - Nvim".
char *buf_p = buf;
if (curbuf->b_fname == NULL) {
const size_t size = xstrlcpy(buf_p, _("[No Name]"),
@@ -3412,7 +3412,7 @@ void maketitle(void)
append_arg_number(curwin, buf_p, (int)(SPACE_FOR_ARGNR - (size_t)(buf_p - buf)));
- xstrlcat(buf_p, " - NVIM", (sizeof(buf) - (size_t)(buf_p - buf)));
+ xstrlcat(buf_p, " - Nvim", (sizeof(buf) - (size_t)(buf_p - buf)));
if (maxlen > 0) {
// Make it shorter by removing a bit in the middle.
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 71b0d26b49..8943faad7d 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -9047,7 +9047,7 @@ return {
desc = [=[
When on, the title of the window will be set to the value of
'titlestring' (if it is not empty), or to:
- filename [+=-] (path) - NVIM
+ filename [+=-] (path) - Nvim
Where:
filename the name of the file being edited
- indicates the file cannot be modified, 'ma' off
@@ -9055,11 +9055,11 @@ return {
= indicates the file is read-only
=+ indicates the file is read-only and modified
(path) is the path of the file being edited
- - NVIM the server name |v:servername| or "NVIM"
+ - Nvim the server name |v:servername| or "Nvim"
]=],
full_name = 'title',
scope = { 'global' },
- short_desc = N_('Vim set the title of the window'),
+ short_desc = N_('set the title of the window'),
type = 'boolean',
varname = 'p_title',
},