calculate 'indentation' from shiftwidth. close #78

This commit is contained in:
mattn
2012-06-04 16:37:24 +09:00
parent 3d3ae065eb
commit d3f4db7367
4 changed files with 23 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
if exists('g:user_zen_settings')
let s:old_user_zen_settings = g:user_zen_settings
unlet! g:user_zen_settings
let g:user_zen_settings = { 'indentation': "\t" }
endif
function! s:reload(d)
@@ -97,13 +97,13 @@ function! s:testExpandAbbr()
unlet! res | let res = zencoding#ExpandWord(query, type, 0)
endif
if stridx(result, '$$$$') != -1
if res == result
if res ==# result
call s:show_ok()
else
call s:show_ng(n+1, result, res)
endif
else
if res == result
if res ==# result
call s:show_ok()
else
call s:show_ng(n+1, result, res)