From ad9c2a08f0509294269a2f11a59a438b944bdd5a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 27 Jul 2016 23:26:04 +0200 Subject: patch 7.4.2109 Problem: Setting 'display' to "lastline" is a drastic change, while omitting it results in lots of "@" lines. Solution: Add "truncate" to show "@@@" for a truncated line. --- src/option.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/option.h') diff --git a/src/option.h b/src/option.h index f05a46695..bc8d4e0cf 100644 --- a/src/option.h +++ b/src/option.h @@ -454,10 +454,11 @@ EXTERN char_u *p_dir; /* 'directory' */ EXTERN char_u *p_dy; /* 'display' */ EXTERN unsigned dy_flags; #ifdef IN_OPTION_C -static char *(p_dy_values[]) = {"lastline", "uhex", NULL}; +static char *(p_dy_values[]) = {"lastline", "truncate", "uhex", NULL}; #endif #define DY_LASTLINE 0x001 -#define DY_UHEX 0x002 +#define DY_TRUNCATE 0x002 +#define DY_UHEX 0x004 EXTERN int p_ed; /* 'edcompatible' */ #ifdef FEAT_WINDOWS EXTERN char_u *p_ead; /* 'eadirection' */ -- cgit v1.2.1