savi-lang / savi

A fast language for programmers who are passionate about their craft.
BSD 3-Clause "New" or "Revised" License
157 stars 12 forks source link

Fix syntax highlighting (pygments and rouge) for nested type names. #295

Closed jemc closed 2 years ago

jemc commented 2 years ago

Nested type names were being highlighted as if they were method calls.

Now we use the uppercase letter to distinguish them visually.


A corresponding pygments PR has been opened: https://github.com/pygments/pygments/pull/2110 The still-open rouge PR has been updated: https://github.com/rouge-ruby/rouge/pull/1724