We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dba042 commit 0dcd39bCopy full SHA for 0dcd39b
2 files changed
src/indent.c
@@ -1662,7 +1662,9 @@ ex_retab(exarg_T *eap)
1662
ptr = new_line + start_col;
1663
for (col = 0; col < len; col++)
1664
ptr[col] = (col < num_tabs) ? '\t' : ' ';
1665
- ml_replace(lnum, new_line, FALSE);
+ if (ml_replace(lnum, new_line, FALSE) == OK)
1666
+ // "new_line" may have been copied
1667
+ new_line = curbuf->b_ml.ml_line_ptr;
1668
if (first_line == 0)
1669
first_line = lnum;
1670
last_line = lnum;
src/version.c
@@ -750,6 +750,8 @@ static char *(features[]) =
750
751
static int included_patches[] =
752
{ /* Add new patch number below this line */
753
+/**/
754
+ 2458,
755
/**/
756
2457,
757
0 commit comments