Note: I have never used Perl 6 (and did my best to avoid Perl) so I largely don't know what I'm doing. There just are several open issues requesting this language and I believe Geany should support it. And even if this PR isn't perfect, it should be much easier for real Raku users to improve it once this PR is in (e.g. by providing better keywords or highlighting).
I based the keyword list on
https://github.com/Raku/vim-raku/blob/master/syntax/raku.vim
and also fixed one lexilla bug here
https://github.com/ScintillaOrg/lexilla/pull/76
Fixes #3054, fixes #3053, fixes #2456. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3169
-- Commit Summary --
* Add Raku (Perl 6) filetype support (lexer and ctags parser)
-- File Changes --
M ctags/Makefile.am (1) A ctags/parsers/perl6.c (338) M data/Makefile.am (1) A data/filedefs/filetypes.raku (83) M data/filetype_extensions.conf (1) M meson.build (2) M scintilla/Makefile.am (1) A scintilla/lexilla/lexers/LexRaku.cxx (1637) M scintilla/lexilla/src/Lexilla.cxx (1) M scintilla/scintilla_changes.patch (1) M src/filetypes.c (1) M src/filetypes.h (1) M src/highlighting.c (17) M src/highlightingmappings.h (41) M src/tagmanager/tm_parser.c (22) M src/tagmanager/tm_parser.h (1) M src/tagmanager/tm_parsers.h (3) M tests/ctags/Makefile.am (1) A tests/ctags/simple.raku (120) A tests/ctags/simple.raku.tags (26) M tests/meson.build (1)
-- Patch Links --
https://github.com/geany/geany/pull/3169.patch https://github.com/geany/geany/pull/3169.diff