Vim text messed up on remote server

Solution 1:

I'm not certain exactly what was going on or what fixed it but, as mentioned above, I accessed the remote file using iTerm (instead of Termanal.app) and everything formatted as expected. Based on this, I assumed something was awry between Terminal.app and the remote server. User romainl suggested I explicitly set $TERM to xterm-256color in my ~/.bashrc (set TERM=xterm-256color) on the remote server and try again with Terminal.app. When I did that the text formatted correctly, though with incorrect sytax highlighting. I then removed the previously mentioned line from my ~/.bashrc on the remote server, closed the session and began anew. This time everything worked as expected. It may have simply been that Terminal.app was being buggy.

Thanks again to everyone who volunteered their knowledge.