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

Syntax highlighting error when using complex shebang #141

Closed robsonpeixoto closed 4 years ago

robsonpeixoto commented 7 years ago
#!/bin/bash
if [[ ! -f scala-2.10.5.tgz ]]; then
  wget http://downloads.lightbend.com/scala/2.10.5/scala-2.10.5.tgz
fi
if [[ ! -d scala-2.10.5 ]]; then
  tar -xf scala-2.10.5.tgz
fi
export hammercfg__cache__defaultCachePolicy="FORCE_NONE"
exec ./scala-2.10.5/bin/scala -cp 'conf/:lib/*' "$0" "$@"
!#

import scala.io.Source
val filename = "ids.csv"
val lines = Source.fromFile(filename).getLines()

If I remove the * from 'conf/:lib/*' it's works.

robsonpeixoto commented 7 years ago

The same error happens on github 😂