commit e0d72759a6b6531c55527171396e6bf6961ec98a
parent f9045a40e07fa1df1687dc5ebac47fd5a2eb4563
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Thu, 10 Dec 2015 16:07:36 +0100
Remember kids: always use :normal! with the bang in plugins
Fix #175
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt
@@ -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~
diff --git a/plugin/vimwiki.vim b/plugin/vimwiki.vim
@@ -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.