diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-11 23:00:12 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-11 23:02:22 -0400 |
commit | 38c52c63accab5ea2a76bebaa5ccd5a089fa17ab (patch) | |
tree | bd3eb270fdf882d32883bf4177b33cc6307a8a6a | |
parent | 8a845ab3efd87e3c49e4b756a0e74f8e06303fb1 (diff) | |
download | rneovim-38c52c63accab5ea2a76bebaa5ccd5a089fa17ab.tar.gz rneovim-38c52c63accab5ea2a76bebaa5ccd5a089fa17ab.tar.bz2 rneovim-38c52c63accab5ea2a76bebaa5ccd5a089fa17ab.zip |
vim-patch:8.0.1809: various typos
Problem: Various typos.
Solution: Correct the mistakes, change "cursur" to "cursor". (closes vim/vim#2887)
https://github.com/vim/vim/commit/b9464821901623f983528acaed9e4dc2cea7387b
-rw-r--r-- | src/nvim/edit.c | 2 | ||||
-rw-r--r-- | src/nvim/normal.c | 4 | ||||
-rw-r--r-- | src/nvim/screen.c | 2 | ||||
-rw-r--r-- | src/nvim/ui.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 53fe164050..d0994d35f5 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -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. diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 09444ace0f..65cc7d1db8 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -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 */ diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 8ad2145400..36942a1e78 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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; diff --git a/src/nvim/ui.c b/src/nvim/ui.c index e291111f82..87101c3b64 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -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. |