<div dir="ltr">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.<div>
<br></div><div>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.</div>
<div><br></div><div>My own mercury language file can be found here:</div><div><a href="https://dl.dropboxusercontent.com/u/26931568/mercury.lang">https://dl.dropboxusercontent.com/u/26931568/mercury.lang</a><br></div></div>