Vim & Scala


If you’re wondering how you can enable a pretty nasty Scala highlighting for Vim using a single terminal instruction, then here we go:

mkdir -p ~/.vim/{ftdetect,indent,syntax} && for d in ftdetect indent syntax ; do wget --no-check-certificate -O ~/.vim/$d/scala.vim; done

You may not necessarily like the highlighting provided by Derek, of course you may substitute in the wget call the address of the syntax file you like, there are plenty of them on the web so just pick your choice and enjoy!

HERE you may find the git repo of the full set of Scala plugins for Vim.


Leave a Reply