derekwyatt / vim-scala

My work on integration of Scala into Vim - not a ton here, but useful for me.
http://derekwyatt.org
Apache License 2.0
1.09k stars 144 forks source link

Triple Quasi Quotes containing " within processed string literals #163

Open flipsi opened 3 years ago

flipsi commented 3 years ago

Similar to #46, but more complex, syntax is broken if triple quasi quotes with quotes (s"""really "simple" example""") are used within processed string literals ("string interpolations"):

object Main {

  val str = s"${s""""Nooooo!""""}"

  def bar(x: Int): Unit = ()

}

In my Neovim v0.4.4 with the most recent version of this plugin (bbdfea4b98fdb8866a8a6060ec1294643cfeb413), it renders like this: Bildschirmfoto_2021-02-19_17-11-31

(same in regular vim).

Is this something that can be fixed, @derekwyatt?

Thank you for your aweome contributions to the vim community, by the way, you're rocking!