aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2017-07-13 19:02:53 -0400
committerFelipe Morales <hel.sheep@gmail.com>2017-07-15 11:01:45 -0400
commit8e48d7c19e0a01d17fbda1c21a8fa69c039cec7a (patch)
treef45a744af0feb105f7040da9a64c88c2a49e2466 /runtime/ftplugin
parentcb0282ad986e5b496aa89e3a78984a1307344ff4 (diff)
downloadrneovim-8e48d7c19e0a01d17fbda1c21a8fa69c039cec7a.tar.gz
rneovim-8e48d7c19e0a01d17fbda1c21a8fa69c039cec7a.tar.bz2
rneovim-8e48d7c19e0a01d17fbda1c21a8fa69c039cec7a.zip
tutor: disable old method for setting "expect" regions
tutor: remove movement mappings
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/tutor.vim12
1 files changed, 2 insertions, 10 deletions
diff --git a/runtime/ftplugin/tutor.vim b/runtime/ftplugin/tutor.vim
index 660c1afaf5..ec55472b78 100644
--- a/runtime/ftplugin/tutor.vim
+++ b/runtime/ftplugin/tutor.vim
@@ -36,9 +36,6 @@ endif
" Mappings: {{{1
call tutor#SetNormalMappings()
-if exists('b:tutor_metadata') && b:tutor_metadata['settings']['use_maps'] == 1
- call tutor#SetSampleTextMappings()
-endif
" Checks: {{{1
@@ -46,11 +43,6 @@ sign define tutorok text=✓ texthl=tutorOK
sign define tutorbad text=✗ texthl=tutorX
if !exists('g:tutor_debug') || g:tutor_debug == 0
- if !(exists('b:tutor_metadata') && b:tutor_metadata['settings']['check_internal_expects'] == '0')
- call tutor#PlaceXMarks()
- autocmd! TextChanged,TextChangedI <buffer> call tutor#XmarksOnTextChanged()
- else
- call tutor#ApplyMarks()
- autocmd! TextChanged,TextChangedI <buffer> call tutor#ApplyMarksOnChanged()
- endif
+ call tutor#ApplyMarks()
+ autocmd! TextChanged,TextChangedI <buffer> call tutor#ApplyMarksOnChanged()
endif