mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-12-16 23:02:13 +08:00
remove trailing white spaces
This commit is contained in:
@ -261,7 +261,7 @@ function! AutoPairsDelete()
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if has_key(b:AutoPairs, prev_char)
|
if has_key(b:AutoPairs, prev_char)
|
||||||
let close = b:AutoPairs[prev_char]
|
let close = b:AutoPairs[prev_char]
|
||||||
if match(line,'^\s*'.close, col('.')-1) != -1
|
if match(line,'^\s*'.close, col('.')-1) != -1
|
||||||
" Delete (|___)
|
" Delete (|___)
|
||||||
@ -500,9 +500,9 @@ function! AutoPairsTryInit()
|
|||||||
" supertab doesn't support <SID>AutoPairsReturn
|
" supertab doesn't support <SID>AutoPairsReturn
|
||||||
" when use <SID>AutoPairsReturn will cause Duplicated <CR>
|
" when use <SID>AutoPairsReturn will cause Duplicated <CR>
|
||||||
"
|
"
|
||||||
" and when load after vim-endwise will cause unexpected endwise inserted.
|
" and when load after vim-endwise will cause unexpected endwise inserted.
|
||||||
" so always load AutoPairs at last
|
" so always load AutoPairs at last
|
||||||
|
|
||||||
" Buffer level keys mapping
|
" Buffer level keys mapping
|
||||||
" comptible with other plugin
|
" comptible with other plugin
|
||||||
if g:AutoPairsMapCR
|
if g:AutoPairsMapCR
|
||||||
|
|||||||
Reference in New Issue
Block a user