1
0
forked from aniani/vim

patch 8.1.0138: negative value of 'softtabstop' not used correctly

Problem:    Negative value of 'softtabstop' not used correctly.
Solution:   Use get_sts_value(). (Tom Ryder)
This commit is contained in:
Bram Moolenaar
2018-07-02 20:51:24 +02:00
parent ade5578797
commit 33d5ab3795
5 changed files with 43 additions and 4 deletions

View File

@@ -13016,7 +13016,7 @@ get_sw_value(buf_T *buf)
/*
* Return the effective softtabstop value for the current buffer, using the
* 'tabstop' value when 'softtabstop' is negative.
* 'shiftwidth' value when 'softtabstop' is negative.
*/
long
get_sts_value(void)