Skip to content

Commit

Permalink
Fix part 1 of #19
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarWatcher committed Feb 7, 2021
1 parent 2538062 commit 1ea8853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions autoload/autopairs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ call s:define('g:AutoPairsFlyMode', 0)

" When skipping the closed pair, look at the current and
" next line as well.
" Krasjet: default changed to 0
call s:define('g:AutoPairsMultilineClose', 0)
call s:define('g:AutoPairsMultilineClose', 1)

" Default behavior for jiangmiao/auto-pairs: 1
call s:define('g:AutoPairsMultilineCloseDeleteSpace', 1)
Expand Down
4 changes: 1 addition & 3 deletions doc/AutoPairs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,7 @@ Set it to 1 to enable |autopairs-flymode|.
*g:AutoPairsMultilineClose*
|g:AutoPairsMultilineClose| int

Default: 0

Krasjet's fork defined this to be 0 due to personal preference.
Default: 1

When you press the key for the closing pair (e.g. `)`) it jumps past it.
If set to 1, then it'll jump to the next line, if there is only 'whitespace'.
Expand Down

0 comments on commit 1ea8853

Please sign in to comment.