vim-scala icon indicating copy to clipboard operation
vim-scala copied to clipboard

Triple Quasi Quotes containing " within processed string literals

Open flipsi opened this issue 4 years ago • 0 comments

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!

flipsi avatar Feb 19 '21 10:02 flipsi