Agree with @techee and I could give it a bit of testing, though this might takes a few weeks.

s/few weeks/few years/ but we are all patient :).

I gave it some testing and it works fine. I want to repeat I'm really bad at Perl and saw Raku the first time now. Btw, I did not fell in love with it :D.

The perl6.c parser is taken from uctags, I assume. If so, we probably should to rename it as it was done in universal-ctags/ctags#3777.

Geany detects https://github.com/Raku/examples/blob/master/categories/games/blackjack.p6 as Perl even the file extension tells Raku. This is because of the shebang in the file. The following change should solve it by first checking for "perl6" and only then "perl".

@@ -604,6 +605,7 @@ static GeanyFiletype *find_shebang(const gchar *utf8_filename, const gchar *line
                        { "sh",         GEANY_FILETYPES_SH },
                        { "bash",       GEANY_FILETYPES_SH },
                        { "dash",       GEANY_FILETYPES_SH },
+                       { "perl6",      GEANY_FILETYPES_RAKU },
                        { "perl",       GEANY_FILETYPES_PERL },
                        { "python",     GEANY_FILETYPES_PYTHON },
                        { "php",        GEANY_FILETYPES_PHP },


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3169/c2002536714@github.com>