Disclmair: this is a question about using vim to write LaTeX. I don't know if this behaviour is visible in other languages also.
I use Ultisnips with honza/vim-snippets to expand latex snippets. If there is no warning, everything works fine.
But, if there is some warning, like overfull/underfull hbox, then, in expanding snippets, cursor does not highlight the $VISUAL part.
To explain the things, I have made the screencast: https://drive.google.com/file/d/1NJw6wBjT7-vCn08HWYWjJoUsFe7gudPO/view?usp=sharing
The snippet is defined as
snippet "\\?b(egin)?" "begin{} / end{}" br
\begin{${1:something}}
${0:${VISUAL}}
\end{$1}
endsnippet
ofcourse, I expect expanding b will highlight the 1:something, but as you can see, this is not.
https://drive.google.com/file/d/160ItwbFdTdr8az7O9NGu6gebEnYauwcl/view?usp=sharing is my complete .vimrc.