comparison src/beval.c @ 14175:2ad722003b36 v8.1.0105

patch 8.1.0105: all tab stops are the same commit https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 23 19:23:02 2018 +0200 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)
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Jun 2018 19:30:07 +0200
parents 8412df1479a3
children ad5b977b5ad1
comparison
equal deleted inserted replaced
14174:d36eedd19166 14175:2ad722003b36
122 122
123 *winp = wp; 123 *winp = wp;
124 *lnump = lnum; 124 *lnump = lnum;
125 *textp = lbuf; 125 *textp = lbuf;
126 *colp = col; 126 *colp = col;
127 #ifdef FEAT_VARTABS
128 if (beval->vts)
129 vim_free(beval->vts);
130 beval->vts = tabstop_copy(wp->w_buffer->b_p_vts_array);
131 #endif
127 beval->ts = wp->w_buffer->b_p_ts; 132 beval->ts = wp->w_buffer->b_p_ts;
128 return OK; 133 return OK;
129 } 134 }
130 } 135 }
131 } 136 }