aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-07-04 23:20:45 +0200
committerGitHub <noreply@github.com>2024-07-05 05:20:45 +0800
commit25c59d08c4df9952c606bbc96b7b26dca429bb9c (patch)
tree522eb59d6ddf057a371dc3728f0a9e17f9d5e87e /src
parent71c50edceb5e097fe4faf9278a5fb4d41a303455 (diff)
downloadrneovim-25c59d08c4df9952c606bbc96b7b26dca429bb9c.tar.gz
rneovim-25c59d08c4df9952c606bbc96b7b26dca429bb9c.tar.bz2
rneovim-25c59d08c4df9952c606bbc96b7b26dca429bb9c.zip
docs: misc (#29410)
Co-authored-by: Michael Härtl <haertl.mike@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/cmdexpand.c1
-rw-r--r--src/nvim/tui/tui.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/cmdexpand.c b/src/nvim/cmdexpand.c
index d235617ae1..db27e464a8 100644
--- a/src/nvim/cmdexpand.c
+++ b/src/nvim/cmdexpand.c
@@ -289,7 +289,6 @@ int nextwild(expand_T *xp, int type, int options, bool escape)
p2 = ExpandOne(xp, p1, xstrnsave(&ccline->cmdbuff[i], xp->xp_pattern_len),
use_options, type);
xfree(p1);
-
// Longest match: make sure it is not shorter, happens with :help.
if (p2 != NULL && type == WILD_LONGEST) {
int j;
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index 57696b1839..67ada24cd7 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -1704,7 +1704,7 @@ void tui_guess_size(TUIData *tui)
int width = 0;
int height = 0;
- // 1 - try from a system call(ioctl/TIOCGWINSZ on unix)
+ // 1 - try from a system call (ioctl/TIOCGWINSZ on unix)
if (tui->out_isatty
&& !uv_tty_get_winsize(&tui->output_handle.tty, &width, &height)) {
goto end;