vim 配置 scala 语法高亮
第一步:执行下面这个命令:
mkdir -p ~/.vim/{ftdetect,indent,syntax}
for d in ftdetect indent syntax ; do
curl -o ~/.vim/$d/scala.vim https://raw.githubusercontent.com/gchen/scala.vim/master/scala.vim
done
第二步:在~/.vimrc中添加:
syntax on
第一步:执行下面这个命令:
mkdir -p ~/.vim/{ftdetect,indent,syntax}
for d in ftdetect indent syntax ; do
curl -o ~/.vim/$d/scala.vim https://raw.githubusercontent.com/gchen/scala.vim/master/scala.vim
done
第二步:在~/.vimrc中添加:
syntax on