aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2017-11-08 23:32:49 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-11-08 23:32:49 +0100
commit55d8967147efbf1d0f3e2b5e13677ca4af9e2be4 (patch)
treeba7bbd309d7799d02e5c855fea53179b6e42cde2
parenta48e078c0d0ec3f4abc5f26e26a24032d1614649 (diff)
downloadrneovim-55d8967147efbf1d0f3e2b5e13677ca4af9e2be4.tar.gz
rneovim-55d8967147efbf1d0f3e2b5e13677ca4af9e2be4.tar.bz2
rneovim-55d8967147efbf1d0f3e2b5e13677ca4af9e2be4.zip
tutor: some fixes (#7510)
- conceal inline types - fix some links
-rw-r--r--runtime/syntax/tutor.vim4
-rw-r--r--runtime/tutor/en/vim-01-beginner.tutor2
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/tutor.vim b/runtime/syntax/tutor.vim
index fbf159582a..cb101ee9a7 100644
--- a/runtime/syntax/tutor.vim
+++ b/runtime/syntax/tutor.vim
@@ -15,7 +15,7 @@ syn match tutorURL /\(https\?\|file\):\/\/[[:graph:]]\+\>\/\?/
syn match tutorEmail /\<[[:graph:]]\+@[[:graph:]]\+\>/
syn match tutorInternalAnchor /\*[[:alnum:]-]\+\*/ contained conceal containedin=tutorSection
-syn match tutorSection /^#\{1,6}\s.\+$/ fold
+syn match tutorSection /^#\{1,6}\s.\+$/ fold contains=tutorInlineNormal
syn match tutorSectionBullet /#/ contained containedin=tutorSection
syn match tutorTOC /\ctable of contents:/
@@ -44,7 +44,7 @@ syn region tutorInlineCommand matchgroup=Delimiter start=/\\\@<!`\(.*{vim}\)\@=/
syn region tutorNormal matchgroup=Delimiter start=/^\~\{3} norm\(al\?\)\?\s*$/ end=/^\~\{3}/ contains=@VIMNORMAL
syn region tutorInlineNormal matchgroup=Delimiter start=/\\\@<!`\(\S*{normal}\)\@=/ end=/\\\@<!`\({normal}\)\@=/ nextgroup=tutorInlineType contains=@VIMNORMAL
-syn match tutorInlineType /{\(normal\|vim\)}/ contained
+syn match tutorInlineType /{\(normal\|vim\)}/ contained conceal
syn match tutorInlineOK /✓/
syn match tutorInlineX /✗/
diff --git a/runtime/tutor/en/vim-01-beginner.tutor b/runtime/tutor/en/vim-01-beginner.tutor
index 6364b201d5..3f243a18fa 100644
--- a/runtime/tutor/en/vim-01-beginner.tutor
+++ b/runtime/tutor/en/vim-01-beginner.tutor
@@ -65,7 +65,7 @@ NOTE: The cursor keys should also work. But using hjkl you will be able to
!! NOTE: Before executing any of the steps below, read this entire lesson !!
- 1. Press the <Esc> key (to make sure you are in [Normal mode]().
+ 1. Press the <Esc> key (to make sure you are in [Normal mode](Normal-mode).
2. Type: