mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0105: all tab stops are the same
Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes #2711)
This commit is contained in:
@@ -1831,7 +1831,12 @@ msg_prt_line(char_u *s, int list)
|
||||
if (c == TAB && (!list || lcs_tab1))
|
||||
{
|
||||
/* tab amount depends on current column */
|
||||
#ifdef FEAT_VARTABS
|
||||
n_extra = tabstop_padding(col, curbuf->b_p_ts,
|
||||
curbuf->b_p_vts_array) - 1;
|
||||
#else
|
||||
n_extra = curbuf->b_p_ts - col % curbuf->b_p_ts - 1;
|
||||
#endif
|
||||
if (!list)
|
||||
{
|
||||
c = ' ';
|
||||
|
Reference in New Issue
Block a user