mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
tutor-mode: update plugin
This commit is contained in:
parent
b927304108
commit
5ec5e9ae43
@ -4,6 +4,7 @@
|
|||||||
call tutor#SetupVim()
|
call tutor#SetupVim()
|
||||||
|
|
||||||
" Buffer Settings: {{{1
|
" Buffer Settings: {{{1
|
||||||
|
setlocal noreadonly
|
||||||
if !exists('g:tutor_debug') || g:tutor_debug == 0
|
if !exists('g:tutor_debug') || g:tutor_debug == 0
|
||||||
setlocal buftype=nofile
|
setlocal buftype=nofile
|
||||||
setlocal concealcursor+=inv
|
setlocal concealcursor+=inv
|
||||||
|
@ -20,7 +20,7 @@ syn match tutorSectionBullet /#/ contained containedin=tutorSection
|
|||||||
|
|
||||||
syn match tutorTOC /\ctable of contents:/
|
syn match tutorTOC /\ctable of contents:/
|
||||||
|
|
||||||
syn match tutorConcealedEscapes /\\[`*!\[\]()«»:$-]\@=/ conceal
|
syn match tutorConcealedEscapes /\\[`*!\[\]():$-]\@=/ conceal
|
||||||
|
|
||||||
syn region tutorEmphasis matchgroup=Delimiter start=/[\*]\@<!\*\*\@!/ end=/[\*]\@<!\*\*\@!/
|
syn region tutorEmphasis matchgroup=Delimiter start=/[\*]\@<!\*\*\@!/ end=/[\*]\@<!\*\*\@!/
|
||||||
\ concealends contains=tutorInlineCommand,tutorInlineNormal
|
\ concealends contains=tutorInlineCommand,tutorInlineNormal
|
||||||
|
@ -60,7 +60,7 @@ is displayed like
|
|||||||
|
|
||||||
1. Format the line below so it becomes a lesson description:
|
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**}
|
---> 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
|
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
|
# 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
|
@tutor:TUTORIAL
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user