How does vim in the terminal execute ‘highlighttest’?

  question, vim

So – calledhightlightRefers to:
gvim hightlight test

I find this feature very helpful for custom color matching, but at present it can only be used inGvimFind this function in.

Abovecolor testThis corresponds to a file.sourceIt can be used next time.

Does vim in the terminal have this function? How?

This menu command is equivalent to executing in underline command mode.
:so $VIMRUNTIME/syntax/hitest.vim

You can see
:help highlight
It’s mentioned in it

It was also mentioned in the help
:runtime syntax/colortest.vim
It is also very useful.