Compatible with xmleditor.
This commit is contained in:
parent
8f4598b883
commit
8e07c8de31
@ -499,6 +499,9 @@ function! AutoPairsTryInit()
|
||||
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(' && toupper(old_cr) !~ '\V<C-R>'
|
||||
|
||||
" The old_cr start with " it must be in expr mode too
|
||||
let is_expr = is_expr || old_cr =~ '\v^"'
|
||||
let wrapper_name = '<SID>AutoPairsOldCRWrapper'
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user