I use vi in Linux to edit e.g. JSP files.
The code is not syntax highlighted. I think this should be possible to enable, but I haven't found out how. Is this possible to do in vi?
# vi --version VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 2 2009 17:46:42)
i tried to open files with nano through Putty ssh according mnmnc answer but unfortunately result is not change. I'm not change html.nanorc file and it now have next text
syntax "html" "\.html$" color blue start="<" end=">" color red "&[^;[[:space:]]]*;"