Comment 2 for bug 1390577

Revision history for this message
Gero.Bare (gero-bare) wrote : Re: Add highlighting for Mustache

New language highlight support can be added easily for gtksourceview (thus gedit, scratch, and other editor written using this library).

You need to place your valid language file in this folder:

/home/<user>/.local/share/gtksourceview-3.0/language-specs

If the folders don't exist you can create them

> mkdir -p ~/.local/share/gtksourceview-3.0/language-specs

And move your language

> cp ~/Downloads/mustache.lang ~/.local/share/gtksourceview-3.0/language-specs/

Here is a list of some language specs (Including Mustache)

https://wiki.gnome.org/Projects/GtkSourceView/LanguageDefinitions