-
Notifications
You must be signed in to change notification settings - Fork 1
Gedit support
JukkaL edited this page Oct 7, 2011
·
2 revisions
The gedit editor is included in gnome.
Installation:
-
Download files alore.lang and alore.xml.
-
Install the files (as root):
-
Determine where to store the language specification:
$ locate gtksourceview | grep 'specs$'
-
Copy language specification (replace target directory with the one you found above):
$ cp alore.lang /usr/share/gtksourceview-2.0/language-specs/
-
Copy mime description:
$ cp alore.xml /usr/share/mime/packages/
-
Update mime database:
$ update-mime-database /usr/share/mime
Now gedit should be able to automatically color Alore files. You can also select Alore syntax highlight manually from the menu:
View > Highlight mode > Sources > Alore
-
Compatibility:
- Tried with gedit and gtksourceview that comes with ubuntu 10.04.
- This also allows syntax highlighting in the meld graphical diff program.