Skip to content

Commit a6cd28c

Browse files
authored
fix(ruby): Highlight rational and complex (#332)
Highlight rational and complex numbers like `2/3r` and `3i`.
1 parent 43fade6 commit a6cd28c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎languages/ruby/highlights.scm‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@
196196
[
197197
(integer)
198198
(float)
199+
(rational)
200+
(complex)
199201
] @number
200202

201203
[

0 commit comments

Comments
 (0)