diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2017-11-08 23:32:49 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-11-08 23:32:49 +0100 |
commit | 55d8967147efbf1d0f3e2b5e13677ca4af9e2be4 (patch) | |
tree | ba7bbd309d7799d02e5c855fea53179b6e42cde2 /runtime/syntax/tutor.vim | |
parent | a48e078c0d0ec3f4abc5f26e26a24032d1614649 (diff) | |
download | rneovim-55d8967147efbf1d0f3e2b5e13677ca4af9e2be4.tar.gz rneovim-55d8967147efbf1d0f3e2b5e13677ca4af9e2be4.tar.bz2 rneovim-55d8967147efbf1d0f3e2b5e13677ca4af9e2be4.zip |
tutor: some fixes (#7510)
- conceal inline types
- fix some links
Diffstat (limited to 'runtime/syntax/tutor.vim')
-rw-r--r-- | runtime/syntax/tutor.vim | 4 |
1 files changed, 2 insertions, 2 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 /✗/ |