aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-09 11:45:20 +0100
committerbfredl <bjorn.linse@gmail.com>2023-03-12 10:18:57 +0100
commit846a056744bf458d4376cd7638c94f7c82862046 (patch)
tree96121391a4fec3845248eab7571819c9ebbda1a6 /src/nvim/option.c
parentd15abd1be4ae85b10174e3ee139d3b7605e87577 (diff)
downloadrneovim-846a056744bf458d4376cd7638c94f7c82862046.tar.gz
rneovim-846a056744bf458d4376cd7638c94f7c82862046.tar.bz2
rneovim-846a056744bf458d4376cd7638c94f7c82862046.zip
refactor(redraw): make cursor position redraw use the "redraw later" pattern
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 4e0fbc20f8..e4baddbeef 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2255,9 +2255,6 @@ static char *set_bool_option(const int opt_idx, char *const varp, const int valu
if ((int *)varp == &p_ru || (int *)varp == &p_sc) {
// in case 'ruler' or 'showcmd' changed
comp_col();
- if ((int *)varp == &p_ru) {
- win_redr_ruler(curwin);
- }
}
if (curwin->w_curswant != MAXCOL
&& (options[opt_idx].flags & (P_CURSWANT | P_RALL)) != 0) {