docs: small fixes (#26651)

Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: WillLillis <wlillis@umass.edu>
This commit is contained in:
dundargoc
2023-12-28 03:28:48 +01:00
committed by GitHub
parent 46ceefb52b
commit 714b075197
11 changed files with 13 additions and 16 deletions

View File

@@ -659,7 +659,7 @@ void pum_redraw(void)
}
}
/// create a floting preview window for info
/// create a floating preview window for info
/// @return NULL when no enough room to show
static win_T *pum_create_float_preview(bool enter)
{
@@ -971,7 +971,7 @@ static bool pum_set_selected(int n, int repeat)
if (curwin->w_p_wrap) {
lnum += plines_win(curwin, lnum, true);
}
// adjust floting window by actually height and max info text width
// adjust floating window by actually height and max info text width
pum_adjust_float_position(curwin, lnum, max_info_width);
}