mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.1809: various typos
Problem: Various typos.
Solution: Correct the mistakes, change "cursur" to "cursor". (closes vim/vim#2887)
b946482190
This commit is contained in:
parent
8a845ab3ef
commit
38c52c63ac
@ -298,7 +298,7 @@ static void insert_enter(InsertState *s)
|
||||
|
||||
// Check if the cursor line needs redrawing before changing State. If
|
||||
// 'concealcursor' is "n" it needs to be redrawn without concealing.
|
||||
conceal_check_cursur_line();
|
||||
conceal_check_cursor_line();
|
||||
|
||||
// When doing a paste with the middle mouse button, Insstart is set to
|
||||
// where the paste started.
|
||||
|
@ -6497,7 +6497,7 @@ void may_start_select(int c)
|
||||
static void n_start_visual_mode(int c)
|
||||
{
|
||||
/* Check for redraw before changing the state. */
|
||||
conceal_check_cursur_line();
|
||||
conceal_check_cursor_line();
|
||||
|
||||
VIsual_mode = c;
|
||||
VIsual_active = true;
|
||||
@ -6515,7 +6515,7 @@ static void n_start_visual_mode(int c)
|
||||
|
||||
setmouse();
|
||||
/* Check for redraw after changing the state. */
|
||||
conceal_check_cursur_line();
|
||||
conceal_check_cursor_line();
|
||||
|
||||
if (p_smd && msg_silent == 0)
|
||||
redraw_cmdline = true; /* show visual mode later */
|
||||
|
@ -478,7 +478,7 @@ int conceal_cursor_line(win_T *wp)
|
||||
/*
|
||||
* Check if the cursor line needs to be redrawn because of 'concealcursor'.
|
||||
*/
|
||||
void conceal_check_cursur_line(void)
|
||||
void conceal_check_cursor_line(void)
|
||||
{
|
||||
if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin)) {
|
||||
need_cursor_line_redraw = TRUE;
|
||||
|
@ -393,7 +393,7 @@ void ui_cursor_shape(void)
|
||||
mode_idx = new_mode_idx;
|
||||
pending_mode_update = true;
|
||||
}
|
||||
conceal_check_cursur_line();
|
||||
conceal_check_cursor_line();
|
||||
}
|
||||
|
||||
/// Returns true if `widget` is externalized.
|
||||
|
Loading…
Reference in New Issue
Block a user