-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the cucumber gedit syntax highlight wiki! I created this language file so that I can use the cool texmate-like cucumber syntax highlighting in gedit. It took a while to get my head around the language file layout and so thought I’d help others out with what I have learnt.
It’s actually a little confusing (well it was for me!) at the beginning. Gedit actually picks up the syntax highlighting from Gtksourceview files in the /usr/share/gtksourceview-2.0/language-specs/ directory. If you cruise on over to this directory you will find a whole load of language files, from php to c and even ini file highlighting. A good place to start with your new language file!
Here I have included a very basic example of a language file. If you want to, you can start with this and copy it into /usr/share/gtksourceview-2.0/language-specs/mylangfile.lang and start using it straight away! Basically all it will do is highlight anything starting with a # as a comment.
bla