summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-27 23:26:04 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-27 23:26:04 +0200
commitad9c2a08f0509294269a2f11a59a438b944bdd5a (patch)
tree9796774e9cb412eda491592a714801042e4f9e6a /src/option.h
parentadfc5c2f9cf8032e496fcd4793d829768bd6d0a7 (diff)
downloadvim-git-ad9c2a08f0509294269a2f11a59a438b944bdd5a.tar.gz
patch 7.4.2109v7.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.
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h5
1 files changed, 3 insertions, 2 deletions
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' */