jiangmiao/auto-pairs — pull request #86 by ynonp (2014-04-21 13:02:28+00:00)
Title: (Optional) don't auto close if there's text under cursor

Usually if there's text under the cursor closing paren will be in the wrong place (it should be after the text). Consider the following:
print "hello world" => print("hello world")

Using Auto Pairs current flow goes something like that (at least for me):
print "hello world" => print() "hello world" => and then I need to delete closing paren and rewrite it in the end

This patch adds a g:AutoPairsDisableInsideText which, when turned on, prevents adding closing pair when not writing new text