summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-02-04 23:35:00 +0100
committerBram Moolenaar <Bram@vim.org>2012-02-04 23:35:00 +0100
commit76b9b3696c4381524e31d9e19efef1ba80271a44 (patch)
treeee0e0cc0cbf7f792ac04e5217cda4c3461646a64 /src/globals.h
parentd87fbc2b1cd106c3fa0e47329326ea33c90a3287 (diff)
downloadvim-git-76b9b3696c4381524e31d9e19efef1ba80271a44.tar.gz
updated for version 7.3.426v7.3.426
Problem: With '$' in 'cpoptions' the $ is not displayed in the first column. Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and Hirohito Higashi)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index 2c7f257a2..13851923f 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -113,9 +113,9 @@ EXTERN int use_crypt_method INIT(= 0);
* When '$' is included in 'cpoptions' option set:
* When a change command is given that deletes only part of a line, a dollar
* is put at the end of the changed text. dollar_vcol is set to the virtual
- * column of this '$'.
+ * column of this '$'. -1 is used to indicate no $ is being displayed.
*/
-EXTERN colnr_T dollar_vcol INIT(= 0);
+EXTERN colnr_T dollar_vcol INIT(= -1);
#ifdef FEAT_INS_EXPAND
/*