mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor(plines): remove implicit curwin chartabsize() function
This commit is contained in:
@@ -828,7 +828,7 @@ void ex_retab(exarg_T *eap)
|
||||
}
|
||||
if (ptr[col] == NUL)
|
||||
break;
|
||||
vcol += chartabsize(ptr + col, (colnr_T)vcol);
|
||||
vcol += win_chartabsize(curwin, ptr + col, (colnr_T)vcol);
|
||||
col += utfc_ptr2len(ptr + col);
|
||||
}
|
||||
if (new_line == NULL) /* out of memory */
|
||||
|
Reference in New Issue
Block a user