mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
docs: misc (#29410)
Co-authored-by: Michael Härtl <haertl.mike@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user