bscan / RakuNavigator

Raku language support and language server
MIT License
50 stars 3 forks source link

The 'unit' keyword is not highlighted #3

Closed heyajulia closed 2 years ago

heyajulia commented 2 years ago

In the following (pointless) code:

unit sub MAIN;

The unit keyword is not highlighted:

image
bscan commented 2 years ago

Currently, I've taken the syntax highlighting definition from https://github.com/Raku/atom-language-perl6 mostly unchanged. That repo powers the Atom extension and is used for Github highlighting so is fairly important. Unfortunately, it has not been updated in a couple years and the prior maintainer was seeking a new one. If we begin to find many syntax issues that entirely break highlighting, I would consider starting a fork of that repo, but ideally all changes should be centralized somewhere. For now, I'll close this as an "upstream issue", but I appreciate the reports and encourage you to submit more or comment syntax issues here or back at the atom-language-perl6 repo to keep track of them.