mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
tutor-mode: update plugin
This commit is contained in:
parent
b927304108
commit
5ec5e9ae43
@ -4,6 +4,7 @@
|
||||
call tutor#SetupVim()
|
||||
|
||||
" Buffer Settings: {{{1
|
||||
setlocal noreadonly
|
||||
if !exists('g:tutor_debug') || g:tutor_debug == 0
|
||||
setlocal buftype=nofile
|
||||
setlocal concealcursor+=inv
|
||||
|
@ -20,7 +20,7 @@ syn match tutorSectionBullet /#/ contained containedin=tutorSection
|
||||
|
||||
syn match tutorTOC /\ctable of contents:/
|
||||
|
||||
syn match tutorConcealedEscapes /\\[`*!\[\]()«»:$-]\@=/ conceal
|
||||
syn match tutorConcealedEscapes /\\[`*!\[\]():$-]\@=/ conceal
|
||||
|
||||
syn region tutorEmphasis matchgroup=Delimiter start=/[\*]\@<!\*\*\@!/ end=/[\*]\@<!\*\*\@!/
|
||||
\ concealends contains=tutorInlineCommand,tutorInlineNormal
|
||||
|
@ -60,7 +60,7 @@ is displayed like
|
||||
|
||||
1. Format the line below so it becomes a lesson description:
|
||||
|
||||
---> This is text with importat information {expect:This is text with **important information**}
|
||||
---> This is text with important information {expect:This is text with **important information**}
|
||||
---> This is text with **important information** {expect:This is text with **important information**}
|
||||
|
||||
Note: Some words (e.g., NOTE, IMPORTANT, tip, ATTENTION, etc.) will also be
|
||||
@ -130,7 +130,7 @@ and are hidden by default. Links to them look like
|
||||
|
||||
# Tutorial links
|
||||
|
||||
You can also have links to other tutorials. For this, you'll write the wnchor in the format
|
||||
You can also have links to other tutorials. For this, you'll write the anchor in the format
|
||||
|
||||
@tutor:TUTORIAL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user