Developers who don't use syntax highlighting in their code editors are clearly psychopaths. I mean, who willingly chooses chaos?
*coughs*
*coughs*
If you want syntax highlighting in ed(1), you can pipe contents through a syntax-coloring tool like pygmentize
$ ed example.py
3141
10,20w !pygmentize -l python