Remember kids: always use :normal! with the bang in plugins

Fix #175
This commit is contained in:
EinfachToll 2015-12-10 16:07:36 +01:00
parent f9045a40e0
commit e0d72759a6
2 changed files with 4 additions and 2 deletions

View File

@ -2705,12 +2705,14 @@ Contributors and their Github usernames in roughly chronological order:
==============================================================================
15. Changelog *vimwiki-changelog*
???~
2.2.1~
Removed:~
* Removed the option g:vimwiki_debug, which probably nobody used. If you
want it back, file an issue at Github.
Fixed:~
* don't do random things when the user has remapped the z key
2.2~

View File

@ -169,7 +169,7 @@ function! s:setup_buffer_enter() "{{{
setlocal foldtext=VimwikiFoldText()
else
setlocal fdm=manual
exe "normal zE"
normal! zE
endif
" And conceal level too.