mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-04-21 20:18:48 +08:00
Merge 7b289ae5c7cb7462186efaf08f277b5538488c1f into 39f06b873a8449af8ff6a3eee716d3da14d63a76
This commit is contained in:
commit
657bb7e164
@ -491,8 +491,8 @@ func! AutoPairsInit()
|
||||
" m - close key jumps through multi line
|
||||
" s - close key jumps only in the same line
|
||||
for [open, close] in items(b:AutoPairs)
|
||||
let o = open[-1:-1]
|
||||
let c = close[0]
|
||||
let o = open
|
||||
let c = close
|
||||
let opt = {'mapclose': 1, 'multiline':1}
|
||||
let opt['key'] = c
|
||||
if o == c
|
||||
|
Loading…
x
Reference in New Issue
Block a user