Improve source file syntax highlighting

What does this MR do and why?

Follow-up from #365816 (comment 1163089752) to improve syntax highlighting of Source files

Screenshots or screen recordings

theme before after
Light Screenshot_2022-11-08_at_11.13.53 Screenshot_2022-11-08_at_11.15.25
Dark Screenshot_2022-11-08_at_11.14.11 Screenshot_2022-11-08_at_11.15.34
Solarized Light Screenshot_2022-11-08_at_11.14.25 Screenshot_2022-11-08_at_11.15.45
Solarized Dark Screenshot_2022-11-08_at_11.14.41 Screenshot_2022-11-08_at_11.15.56
Monokai Screenshot_2022-11-08_at_11.14.57 Screenshot_2022-11-08_at_11.16.06

How to set up and validate locally

  1. Open a Source file via the repository files browser
  2. The syntax should be highlighted as expected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jacques Erasmus

Merge request reports

Loading