Skip to content

Commit

Permalink
Fix #46, Incompatible CR mapping with supertab.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangmiao committed Mar 31, 2013
1 parent 37076cb commit a5f9ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/auto-pairs.vim
Expand Up @@ -492,7 +492,7 @@ function! AutoPairsTryInit()
else
let old_cr = s:ExpandMap(old_cr)
" old_cr contain (, I guess the old cr is in expr mode
let is_expr = old_cr =~ '\V('
let is_expr = old_cr =~ '\V(' && toupper(old_cr) !~ '\V<C-R>'
let wrapper_name = '<SID>AutoPairsOldCRWrapper'
end
end
Expand Down

0 comments on commit a5f9ac7

Please sign in to comment.