Merge pull request #162 from vbauerster/trailingws
remove trailing white spaces
This commit is contained in:
commit
8451816810
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user