- Download the GBz80.xml file.
- Open the "Language" menu. Click "Define your language..." at the bottom.
- In the dialog, click the "Import" button at the top, and browse to the GBz80.xml file. Select it.
- Now, "GBz80" will be added at the bottom of the Language menu, and associated with
.asm
and.inc
files.
- Download the GBz80.lang` file.
- Copy the file to
~/.local/share/gtksourceview-3.0/language-specs/
if installing for only you, or${PREFIX}/share/gtksourceview-3.0/language-specs/
if installing for all users. (${PREFIX}
can be/usr/
or/usr/local/
if you have installed from source). - Close all instances of gedit (and of all programs using gtksourceview).
- Now, "GBz80" will be added to the language list, and associated with
.asm
,.z80
and.inc
files.