IMO it's because of the attached declaration roles here
https://github.com/universal-ctags/ctags/blob/45735bd0fe03acb4a6311a9187ac5e... https://github.com/universal-ctags/ctags/blob/45735bd0fe03acb4a6311a9187ac5e...
I think if you add a verilog and systemverilog case here
https://github.com/geany/geany/blob/4264d0c507abc32c4e9f13aebaaec53d0c9e376b...
and return `kind != 'm'`, if could fix the problem. If it fixes this problem, please create a PR.