Mercurial > vim
diff src/globals.h @ 3318:c70c005f61fb v7.3.426
updated for version 7.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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 04 Feb 2012 23:35:00 +0100 |
parents | 8bd38abda314 |
children | 539613ce999d |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -113,9 +113,9 @@ EXTERN int use_crypt_method INIT(= * 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 /*