Hello,
It gets a bit tedious to see all the tests in the same color, so I wrote my own vim syntax file so that at least the body of test_expect_success is highlighted properly.
I've updated it to make it handle more cases, and the result doesn't look bad at all:
https://i.imgur.com/qDgvjtu.png
You can find it on my dotfiles:
https://github.com/felipec/dotfiles/blob/master/.vim/syntax/sharness.vim
What I do is place it on ~/.vim/syntax/sharness.vim, and then add the following to my ~/.vimrc:
au! BufRead,BufNewFile */git/t/*.sh set ft=sharness
I hope you find this useful.
Cheers.
-- Felipe Contreras