Enable syntax highlighting for REPL in terminal

Recently my university lends us a VM for a course, I installed racket there and the REPL has colors, I know this is a bit off-topic and has to do with my configuration, but I didn't find any dot file or installation file from the package that point towards as to why this is the case in the VM and not in my computer.

VM runs Ubuntu 20.04 LTS
image

Computer runs Manjaro Linux
image

I could be wrong but I think syntax highlighting on the terminal REPL is a fairly new feature.

I notice the top pic shows Racket 8.5 while the bottom one shows 8.3. If you update that one to 8.5 you may find that solves your issue.

3 Likes

I didn't realize that, unfortunately I can't update for the time being. But I will keep it in mind, thank you for the suggestion.

Yes, it seems to have been added in Racket 8.4:

1 Like