diff src/option.c @ 14243:fbf0681606fa v8.1.0138

patch 8.1.0138: negative value of 'softtabstop' not used correctly commit https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 2 20:51:24 2018 +0200 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)
author Christian Brabandt <cb@256bit.org>
date Mon, 02 Jul 2018 21:00:08 +0200
parents 539b070778b0
children 3c80092eb211
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -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)