We collect GF modes for various editors on this page. Contributions are welcome!
gf.el by Johan Bockgård provides syntax highlighting and automatic indentation and lets you run the GF Shell in an emacs buffer. See installation instructions inside.
John J. Camilleri provided the following syntax highlighting mode for Gedit (the default text editor in Ubuntu).
Copy the file below to
~/.local/share/gtksourceview-3.0/language-specs/gf.lang (under Ubuntu).
Some helpful notes/links:
haskell.langfile which I found in
.gfextension was already registered as a generic font (
application/x-tex-gf) and I didn't want to risk messing any of that up.
John J. Camilleri provided the following custom filetype config files for syntax highlighting in Geany.
Copy one of the files below to
(under Ubuntu). You will need to manually create the file.
You will also need to edit the
filetype_extensions.conf file and add the
following line somewhere: