mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-04-21 20:18:48 +08:00
Update auto-pairs.vim
support nvim >= 9 version
This commit is contained in:
parent
39f06b873a
commit
1a8be02cbd
@ -627,7 +627,7 @@ func! AutoPairsTryInit()
|
||||
let old_cr = '<CR>'
|
||||
let is_expr = 0
|
||||
else
|
||||
let old_cr = info['rhs']
|
||||
let old_cr = '<CR>'
|
||||
let old_cr = s:ExpandMap(old_cr)
|
||||
let old_cr = substitute(old_cr, '<SID>', '<SNR>' . info['sid'] . '_', 'g')
|
||||
let is_expr = info['expr']
|
||||
|
Loading…
x
Reference in New Issue
Block a user