aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2015-09-27 11:30:18 +0200
committerFelipe Morales <hel.sheep@gmail.com>2015-09-27 15:17:20 +0200
commit5ec5e9ae43d5f5f99a02215372bf1124a18541fe (patch)
treeec3833d0405d750244aa2d4b9409886a0e742233
parentb92730410887be589dade66552ecb7948a7adf09 (diff)
downloadrneovim-5ec5e9ae43d5f5f99a02215372bf1124a18541fe.tar.gz
rneovim-5ec5e9ae43d5f5f99a02215372bf1124a18541fe.tar.bz2
rneovim-5ec5e9ae43d5f5f99a02215372bf1124a18541fe.zip
tutor-mode: update plugin
-rw-r--r--runtime/ftplugin/tutor.vim1
-rw-r--r--runtime/syntax/tutor.vim2
-rw-r--r--runtime/tutor/tutor.tutor4
3 files changed, 4 insertions, 3 deletions
diff --git a/runtime/ftplugin/tutor.vim b/runtime/ftplugin/tutor.vim
index 237176f5eb..0a28d7def4 100644
--- a/runtime/ftplugin/tutor.vim
+++ b/runtime/ftplugin/tutor.vim
@@ -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
diff --git a/runtime/syntax/tutor.vim b/runtime/syntax/tutor.vim
index 99bcb78270..bce9189660 100644
--- a/runtime/syntax/tutor.vim
+++ b/runtime/syntax/tutor.vim
@@ -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
diff --git a/runtime/tutor/tutor.tutor b/runtime/tutor/tutor.tutor
index 852c1ea74a..1ad64a18ff 100644
--- a/runtime/tutor/tutor.tutor
+++ b/runtime/tutor/tutor.tutor
@@ -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