Commits

Tamas Kovacs  committed f638d1c

Paredit: no need to move cursor for v) when selection mode is inclusive (by John Szakmeister)

  • Participants
  • Parent commits 4f4dfb5

Comments (0)

Files changed (1)

File plugin/paredit.vim

         call searchpair( open, '', close, 'bW', s:skip_sc )
         normal! v
         call searchpair( open, '', close, 'W', s:skip_sc )
-        normal! l
+        if &selection != 'inclusive'
+            normal! l
+        endif
     else
         call searchpair( open, '', close, 'W', s:skip_sc )
     endif