Fix incorrect is_expr.

This commit is contained in:
Miao Jiang 2013-03-27 17:24:17 +08:00
parent 5d713be821
commit b7ae7d0ba8

View File

@ -478,7 +478,7 @@ function! AutoPairsTryInit()
let old_cr = info['rhs'] let old_cr = info['rhs']
let old_cr = s:ExpandMap(old_cr) let old_cr = s:ExpandMap(old_cr)
let old_cr = substitute(old_cr, '<SID>', '<SNR>' . info['sid'] . '_', 'g') let old_cr = substitute(old_cr, '<SID>', '<SNR>' . info['sid'] . '_', 'g')
let is_expr = 1 let is_expr = info['expr']
let wrapper_name = '<SID>AutoPairsOldCRWrapper73' let wrapper_name = '<SID>AutoPairsOldCRWrapper73'
endif endif
else else