Hey all,
I'm trying to write a script that will toggle an autocommand on/off
and I'm looking for a function to return it's existence. I've found
the built-in exists function and from the help it gives me this:
#group#event autocommand defined for this group and
event.
So from my command line I enter in the following
:aug TestGroup | aug END | echo exists("#TestGroup#BufWritePost")
and it comes back 1 -- but shouldn't it be 0 since I haven't created a
BufWritePost event and since
:au TestGroup
returns nothing?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---