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

Fix syntax for string literal in square brackets #173

Open eejbyfeldt opened 1 year ago

eejbyfeldt commented 1 year ago

Since https://docs.scala-lang.org/sips/42.type.html which is implemented in scala 2.13 and in scala 3 it possible to use string literals as singleton types. So code like

someFunc["abc"]

is valid. Currently this code is not hightlighted correctly and worse if there is an unclosed ( in the string it breaks the formating in the rest of the file.

eejbyfeldt commented 1 year ago

@derekwyatt Are you still maintaining and accepting PRs in this repository? Or should one submit such fixes directly to the vim repository?