diff --git a/zencoding.vim b/zencoding.vim index a4bfbd5..a1395a4 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -1,7 +1,7 @@ "============================================================================= " File: zencoding.vim " Author: Yasuhiro Matsumoto -" Last Change: 22-Feb-2010. +" Last Change: 23-Feb-2010. " Version: 0.17 " WebPage: http://github.com/mattn/zencoding-vim " Description: vim plugins for HTML and CSS hi-speed coding. @@ -1043,10 +1043,10 @@ endif if !hasmapto(g:user_zen_expandword_key, 'i') exe "imap " . g:user_zen_expandword_key . " ZenCodingExpandWord" endif -if !exists('g:user_zen_expandabbr_key', 'i') +if !exists('g:user_zen_expandabbr_key') let g:user_zen_expandabbr_key = ',' endif -if !hasmapto(g:user_zen_expandabbr_key) +if !hasmapto(g:user_zen_expandabbr_key, 'i') exe "imap " . g:user_zen_expandabbr_key . " ZenCodingExpandAbbr" endif