Vim & Scala

Hi!

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 https://raw.githubusercontent.com/derekwyatt/vim-scala/master/syntax/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.

vim

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s