]> granicus.if.org Git - vim/commitdiff
patch 8.0.1703: in the tutor 'showcmd' is not set v8.0.1703
authorBram Moolenaar <Bram@vim.org>
Thu, 12 Apr 2018 18:36:43 +0000 (20:36 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 12 Apr 2018 18:36:43 +0000 (20:36 +0200)
Problem:    In the tutor 'showcmd' is not set.
Solution:   Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792)

src/version.c
src/vimtutor

index 035f68c31dbae1c1126c1f6c7491027cfc7efca7..fdaa1dc6cc6213121c785c715bb65ae76fe520cc 100644 (file)
@@ -762,6 +762,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1703,
 /**/
     1702,
 /**/
index e53201df58279fad132b1ea7054a85bc42d4f1b5..1e8769b257f0d2fe1ed1e1cc856479a87b92116f 100755 (executable)
@@ -70,5 +70,5 @@ fi
 # The script tutor.vim tells Vim which file to copy
 $VIM -f -u NONE -c 'so $VIMRUNTIME/tutor/tutor.vim'
 
-# Start vim without any .vimrc, set 'nocompatible'
-$VIM -f -u NONE -c "set nocp" $TUTORCOPY
+# Start vim without any .vimrc, set 'nocompatible' and 'showcmd'
+$VIM -f -u NONE -c "set nocp showcmd" $TUTORCOPY