Activate the matchit plugin. This is part of the Vim distribution, but it is not activated by default. Instructions are here:: :help matchit-install .
I don't think verilog is supported, but it is relatively easy to add new definitions. See :help matchit-newlang .
source share