[m-users.] Gedit users, seeking feedback on Mercury context highlighting

Charlie McGee c4cypher at gmail.com
Fri Jul 4 08:22:27 AEST 2014


For those Ubuntu users out there who prefer to develop in gedit, I've
adapted gedit's built-in syntax highlighting for Prolog to focus on Mercury
relevant syntax and keywords.  Furthermore, foreign C code pragmas receive
the benefit of C syntax highlighting.   I'm happy using this for my own
purposes, but if anyone else wants to use this and provide feedback, I'd be
more than grateful.

In order to get this and other custom .lang files working with gedit, place
a copy of the relevant .lang file in
~/.local/share/gtksourceview-3.0/language-specs.  If the folder structure
does not exist, create it.

My own mercury language file can be found here:
https://dl.dropboxusercontent.com/u/26931568/mercury.lang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20140703/5eb974a6/attachment.html>


More information about the users mailing list