Permalink
Browse files

Avoid spurious errors

  • Loading branch information...
1 parent de231b3 commit 38eb6778a131674d6aaffbb843e2d7c39a623b8c @chreekat committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/paren_crosshairs.vim
@@ -40,7 +40,7 @@ func! s:targetMatchpairs()
endfu
func! s:suspendTargeting()
- if w:targetAcquired
+ if exists('w:targetAcquired') && w:targetAcquired
exec w:disengage
let w:targetAcquired = 0
endif

0 comments on commit 38eb677

Please sign in to comment.