r/rakulang • • Feb 24 '21

GitHub started highlighting code for *.raku files

25 Upvotes

4 comments sorted by

4

u/alatennaub Experienced Rakoon Feb 24 '21

Not active yet for `.rakutest`. Why? Because it's "not used enough".

So if you're writing a module, please use `.rakutest` instead of just `.t`

3

u/Luolong Feb 24 '21

You can always use language overrides in .gitattributes to force GitLab to use correct highlighting.

2

u/alatennaub Experienced Rakoon Feb 24 '21

TIL, thanks!

4

u/ogniloud Feb 24 '21

Great stuff!

Hopefully Gitlab follows suit. I went looking around and although Gitlab seems to be aware of Raku/Perl6 there's no syntax highlighting for it yet (Example).