1
0
forked from aniani/vim

updated for version 7.3.629

Problem:    There is no way to make 'shiftwidth' follow 'tabstop'.
Solution:   When 'shiftwidth' is zero use the value of 'tabstop'. (Christian
            Brabandt)
This commit is contained in:
Bram Moolenaar
2012-08-08 18:01:05 +02:00
parent b02612b641
commit 14f2474147
8 changed files with 46 additions and 26 deletions

View File

@@ -332,7 +332,7 @@ shift_line(left, round, amount, call_changed_bytes)
{
int count;
int i, j;
int p_sw = (int)curbuf->b_p_sw;
int p_sw = (int)get_sw_value();
count = get_indent(); /* get current indent */
@@ -388,7 +388,7 @@ shift_block(oap, amount)
int total;
char_u *newp, *oldp;
int oldcol = curwin->w_cursor.col;
int p_sw = (int)curbuf->b_p_sw;
int p_sw = (int)get_sw_value();
int p_ts = (int)curbuf->b_p_ts;
struct block_def bd;
int incr;