Skip to content

Commit

Permalink
Merge pull request #162 from vbauerster/trailingws
Browse files Browse the repository at this point in the history
remove trailing white spaces
  • Loading branch information
jiangmiao committed Nov 21, 2016
2 parents b0c9fce + edf7ab9 commit 8451816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/auto-pairs.vim
Expand Up @@ -261,7 +261,7 @@ function! AutoPairsDelete()
end


if has_key(b:AutoPairs, prev_char)
if has_key(b:AutoPairs, prev_char)
let close = b:AutoPairs[prev_char]
if match(line,'^\s*'.close, col('.')-1) != -1
" Delete (|___)
Expand Down Expand Up @@ -500,9 +500,9 @@ function! AutoPairsTryInit()
" supertab doesn't support <SID>AutoPairsReturn
" 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

" Buffer level keys mapping
" comptible with other plugin
if g:AutoPairsMapCR
Expand Down

0 comments on commit 8451816

Please sign in to comment.