aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-08-29 00:11:32 +0200
committerGitHub <noreply@github.com>2024-08-29 06:11:32 +0800
commitcd05a72fec49bfaa3911c141ac605b67b6e2270a (patch)
tree2b728b87a5c6896ab676b5e426ab198cb78b50a5 /src
parent3085c9d9daab611a2a20a1db44868a2e4c8f759e (diff)
downloadrneovim-cd05a72fec49bfaa3911c141ac605b67b6e2270a.tar.gz
rneovim-cd05a72fec49bfaa3911c141ac605b67b6e2270a.tar.bz2
rneovim-cd05a72fec49bfaa3911c141ac605b67b6e2270a.zip
docs: misc (#29719)
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: Lauri Heiskanen <lauri.heiskanen@nimble.fi> Co-authored-by: Piotr Doroszewski <5605596+Doroszewski@users.noreply.github.com> Co-authored-by: Tobiasz Laskowski <tobil4sk@outlook.com> Co-authored-by: ariel-lindemann <41641978+ariel-lindemann@users.noreply.github.com> Co-authored-by: glepnir <glephunter@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.lua2
-rw-r--r--src/nvim/memory.c2
-rw-r--r--src/nvim/os/input.c2
-rw-r--r--src/nvim/tui/tui.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 228683065a..8deff7dd6b 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -2066,7 +2066,7 @@ M.funcs = {
On MS-Windows the ".exe", ".bat", etc. can optionally be
included. Then the extensions in $PATHEXT are tried. Thus if
"foo.exe" does not exist, "foo.exe.bat" can be found. If
- $PATHEXT is not set then ".exe;.com;.bat;.cmd" is used. A dot
+ $PATHEXT is not set then ".com;.exe;.bat;.cmd" is used. A dot
by itself can be used in $PATHEXT to try using the name
without an extension. When 'shell' looks like a Unix shell,
then the name is also tried without adding an extension.
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 50860c69d0..3aa37c047c 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -199,7 +199,7 @@ void *xmallocz(size_t size)
{
size_t total_size = size + 1;
if (total_size < size) {
- preserve_exit(_("Vim: Data too large to fit into virtual memory space\n"));
+ preserve_exit(_("Nvim: Data too large to fit into virtual memory space\n"));
}
void *ret = xmalloc(total_size);
diff --git a/src/nvim/os/input.c b/src/nvim/os/input.c
index ea21a32230..c4eb2803f6 100644
--- a/src/nvim/os/input.c
+++ b/src/nvim/os/input.c
@@ -564,7 +564,7 @@ static void read_error_exit(void)
if (silent_mode) { // Normal way to exit for "nvim -es".
getout(0);
}
- preserve_exit(_("Vim: Error reading input, exiting...\n"));
+ preserve_exit(_("Nvim: Error reading input, exiting...\n"));
}
static bool pending_events(MultiQueue *events)
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index d8b79fb193..1866a4a592 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -1038,7 +1038,7 @@ static void clear_region(TUIData *tui, int top, int bot, int left, int right, in
// with the default colorscheme background. Consequently, any flush that happens
// during startup would result in clearing invalidated regions with zeroed
// clear_attrs, perceived as a black flicker. Reset attributes to clear with
- // current terminal background instead(#28667, #28668).
+ // current terminal background instead (#28667, #28668).
if (tui->set_default_colors) {
update_attrs(tui, attr_id);
} else {