summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-12 20:36:43 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-12 20:36:43 +0200
commit527dec3f94c72096bf6baf4bb71f1a21dc7df89c (patch)
tree73b09fd538909a1c1aa0f5c990940c9733f61463
parentee5b94a8ecbaeafa11c7c7c8cf7bef765fbea912 (diff)
patch 8.0.1703: in the tutor 'showcmd' is not setv8.0.1703
Problem: In the tutor 'showcmd' is not set. Solution: Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792)
-rw-r--r--src/version.c2
-rwxr-xr-xsrc/vimtutor4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/version.c b/src/version.c
index 035f68c31d..fdaa1dc6cc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1703,
+/**/
1702,
/**/
1701,
diff --git a/src/vimtutor b/src/vimtutor
index e53201df58..1e8769b257 100755
--- a/src/vimtutor
+++ b/src/vimtutor
@@ -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