Update map expr checking.
This commit is contained in:
parent
24ffa783f0
commit
5d713be821
@ -491,8 +491,8 @@ function! AutoPairsTryInit()
|
||||
let is_expr = 0
|
||||
else
|
||||
let old_cr = s:ExpandMap(old_cr)
|
||||
" old_cr contain (), I guess the old cr is in expr mode
|
||||
let is_expr = old_cr =~ '\V()'
|
||||
" old_cr contain (,I guess the old cr is in expr mode
|
||||
let is_expr = old_cr =~ '\V('
|
||||
let wrapper_name = '<SID>AutoPairsOldCRWrapper'
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user