On Mon, 21 Jun 2010 15:00:13 +0200 spir <[email protected]> wrote:
> On Mon, 21 Jun 2010 13:16:55 +0100 > Nick Treleaven <[email protected]> wrote: > > > > * Created a filetype.oberon file with settings adapted from > > > filetype.pascal and the > > > > Have you read the manual? > > No, I have no time to lose with reading ;-) That's why it doesn't work then ;-) > > > 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. > > Right, the type is listed there, I can set it to an Oberon file (this does > not happen automagically, even if Oberon file extensions are listed in > filetype_extensions.conf), compile, run: all fine. The filetype detection should work if your .Name.conf matches a Name=*.name entry. > But there is still no syntax highlighting; the whole code appears in default > style. But this is _my_ customized default, which means something is taken > into account (files of unknown type are rendered with no style at all, black > on white). Your lexer and parser names must match an existing filetype. Send me the file and I'll look at it. Also check the Genie custom filetype file. Regards, Nick _______________________________________________ Geany mailing list [email protected] http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
