play-haskell icon indicating copy to clipboard operation
play-haskell copied to clipboard

syntax highlighting broken

Open Pitometsu-MegaDev opened this issue 11 months ago • 1 comments

Reproduction

  liftIO $ printf "\
    \Shot at: %d %d\n\
    \Result: %s\n\
    \" {- syntax highlighting broken \"" -} x y $ show res

Pitometsu-MegaDev avatar Dec 22 '24 09:12 Pitometsu-MegaDev

The editor used is Ace, and the Haskell syntax highlighting is also just Ace's default Haskell syntax file (in src/mode/). If you want to improve the highlighting, I suggest looking at the Haskell syntax logic in Ace.

tomsmeding avatar Dec 23 '24 13:12 tomsmeding