Hello,
I've written a syntax file for Mapserver's mapfile (.map) for the
gedit text editor.
1. To get gnome/gedit to recognise a .map file and give it the correct syntax:
http://geothings.net/thinkwhere/mapserver/map.lang
copy it to /usr/share/mime/packages/ directory then run sudo
Whoops! the directories for the files should go in the other way around.
Correct:
mapserver.xml to /usr/share/mime/packages/
and map.lang to /usr/share/gtksourceview-1.0/language-specs
also for Gutsy, gtksourceview2.0 is a bit different than 1.0
http://live.gnome.org/GtkSourceView
so will see