aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2018-01-26 20:25:53 +0100
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commit37b8e95fd69ba4991454f79802bfe1bccf7c827a (patch)
treeb75965914390d1a13478ec244eee898bc49b6214 /src/nvim/ex_cmds.c
parent8bcc01195968b84d1a74ecb82598bdf538004404 (diff)
downloadrneovim-37b8e95fd69ba4991454f79802bfe1bccf7c827a.tar.gz
rneovim-37b8e95fd69ba4991454f79802bfe1bccf7c827a.tar.bz2
rneovim-37b8e95fd69ba4991454f79802bfe1bccf7c827a.zip
Lint
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index d68dbc8676..e418e0c20e 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -745,8 +745,9 @@ void ex_retab(exarg_T *eap)
if (curbuf->b_p_ts != new_ts)
redraw_curbuf_later(NOT_VALID);
- if (first_line != 0)
+ if (first_line != 0) {
changed_lines(first_line, 0, last_line + 1, 0L, true);
+ }
curwin->w_p_list = save_list; /* restore 'list' */