Last active
January 1, 2016 12:09
-
-
Save ryo-murai/8142732 to your computer and use it in GitHub Desktop.
scala syntax highlighting for msysgit vim.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
vimdir=/usr/share/vim/vim74 | |
mkdir -p $vimdir/{ftdetect,indent,syntax} | |
for d in ftdetect indent syntax | |
do | |
curl -o $vimdir/$d/scala.vim https://raw.githubusercontent.com/scala/scala-tool-support/master/tool-support/vim/$d/scala.vim | |
done | |
for f in html javascript css vb | |
do | |
if [ -z $vimdir/syntax/$f.vim ]; then | |
echo "downloading $f.vim from sf.net ... " | |
curl -o $vimdir/syntax/$f.vim http://sourceforge.net/p/vim/code/HEAD/tree/vim7/runtime/syntax/$f.vim?format=raw | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment