[Geany] Custom filetypes

Nick Treleaven nick.treleaven at xxxxx
Mon Jun 21 12:16:55 UTC 2010


On Sun, 20 Jun 2010 14:50:17 +0200
spir <denis.spir at gmail.com> wrote:

> Hello,
> 
> I have installed geany 0.19 (*) mainly to use the new Custom filetypes feature; but cannot have it work. Below what I did for an Oberon filetype:
> 
> * In filetype_extensions.conf: added "Oberon=*.ob;".
> 
> * Created a filetype.oberon file with settings adapted from filetype.pascal and the 

Have you read the manual? you need to call the file filetypes.Foo.conf.

> Compilation works, which proves the filetype is taken into account; but syntax highlighting does not at all (all test remains in default style). Help/pointer welcome.

Is the filetype listed in the Document menu? That is proof whether the
filetype is added or not.

Regards,
Nick



More information about the Users mailing list