changeset 11111:4618af3049fe v8.0.0443

patch 8.0.0443: terminal width is set to 80 in test3 commit https://github.com/vim/vim/commit/38a3d6c9601b637a28f399059263300e9f65eba4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 11 18:42:56 2017 +0100 patch 8.0.0443: terminal width is set to 80 in test3 Problem: Terminal width is set to 80 in test3. Solution: Instead of setting 'columns' set 'wrapmargin' depending on 'columns.
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Mar 2017 18:45:04 +0100
parents 0ca13197bbc6
children a8a5b45fc29f
files src/testdir/test3.in src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test3.in
+++ b/src/testdir/test3.in
@@ -970,7 +970,8 @@ break;
 /* end of AUTO */
 
 STARTTEST
-:set tw=0 wm=60 columns=80 noai fo=croq
+:set tw=0 noai fo=croq
+:let &wm = &columns - 20
 /serious/e
 a about life, the universe, and the rest
 ENDTEST
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    443,
+/**/
     442,
 /**/
     441,