At this point gedit does not have syntax highlighting. The current text widget that gedit uses is not suitable for this feature.