asedunov / intellij-crystal-lang

An IntelliJ plugin for Crystal language
Apache License 2.0
39 stars 5 forks source link

Support highlighting of escape sequences in heredocs #71

Closed asedunov closed 1 year ago

asedunov commented 1 year ago

Heredocs with unquoted identifiers allow the same escape sequences as other string literals. They should be properly highlighted by plugin as well. For example in the code below \n should be highlighted as escape:

puts <<-FOO
a\nb
FOO