Project

General

Profile

ActionsLike1

Bug #20940

closed

Colored syntax error from prism

Added by ko1 (Koichi Sasada) 4 months ago. Updated 4 months ago.

Status:
Closed
Target version:
[ruby-core:120149]

Description

Prism shows syntax error with coloring.
But we have long avoided coloring Ruby for reasons such as color weakness.
Can we release next Ruby 3.4.0 with colored syntax errors?

colored_syntax_error1
colored_syntax_error2

NOTE:


Files

clipboard-202412101454-v5ydy.png (20.6 KB) clipboard-202412101454-v5ydy.png ko1 (Koichi Sasada), 12/10/2024 05:54 AM
clipboard-202412101456-u1hrp.png (10.7 KB) clipboard-202412101456-u1hrp.png ko1 (Koichi Sasada), 12/10/2024 05:56 AM

Added by nobu (Nobuyoshi Nakada) 4 months ago

Revision 5c372969

[Bug #20940] [PRISM] Support NO_COLOR

Also use bold/faint SGR when possible.

ActionsLike1

Also available in: Atom PDF