[Geany-Devel] Questions Regarding ./data/filetypes.*
Lex Trotman
elextr at xxxxx
Tue Nov 3 21:38:51 UTC 2015
On 4 November 2015 at 02:03, Devyn Collier Johnson
<devyncjohnson at gmail.com> wrote:
> Geany Dev Team:
>
> I may have missed something when looking through the documentation, but
> there is something I do not understand. Why do some filenames under ./data/
> use the format "filetypes.LANG" while others use the format
> "filetypes.LANG.conf" (such as "filetypes.Cython.conf")? In the future, when
> I add new filetypes, how can I know which filename format to use? That is,
> if I add support for Squirrel (C-like language), would I name it
> "filetypes.squirrel" or "filetypes.Squirrel.conf"?
The filetypes built-in to Geany use the first format, the filetypes
defined as custom filetypes
(http://www.geany.org/manual/current/index.html#custom-filetypes) use
the second format. So since your rodent language uses existing lexers
and parsers you would make a custom filetype.
Cheers
Lex
>
> --
> Thanks,
> Devyn Collier Johnson
> DevynCJohnson at Gmail.com
>
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
More information about the Devel
mailing list