I have :SyntasticCheck mapped to F8 in my .vimrc.
map <F8> :SyntasticCheck<CR>
This open the Syntastic window on a split.
I would like to close it with the same mapping.
Closing is done with
:SyntasticReset, but it only works if the Synastic window is open.
How can I create a mapping that only open Synastic windows if it's not visible and close it if it exists ?