Menu

#6 activate fails without toggle

open
nobody
2015-03-14
2015-03-14
Anonymous
No

Originally created by: GoogleCodeExporter

I want to control on/off with two shortcut keys instead of having one toggle 
key pointing to toggle.

What steps will reproduce the problem?
1. call #Activate without calling #Toggle first

What is the expected output? What do you see instead?
I expect it activates. it does not.

What version of the product are you using? On what operating system?
vim 7.2, linux
1561 Rainbow Parenthsis Bundle/ autoload/ rainbow_parenthsis.vim rev51


Please provide any additional information below.
i worked around it by moving the check for Load into the Activate method

function rainbow_parenthsis#Activate()
+    if ! exists('rainbow_parenthsis#active')
+        call rainbow_parenthsis#LoadRound ()
+    endif
...

Original issue reported on code.google.com by gbar...@yahoo-inc.com on 14 Feb 2014 at 11:24

Discussion


Log in to post a comment.