play-haskell
play-haskell copied to clipboard
syntax highlighting broken
Reproduction
liftIO $ printf "\
\Shot at: %d %d\n\
\Result: %s\n\
\" {- syntax highlighting broken \"" -} x y $ show res
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.