LoginSignup
2
2

More than 5 years have passed since last update.

WindowsのvimでScalaのシンタックスハイライティング

Posted at
  1. KaoriYaからvimをダウンロードしてインストール
    http://www.kaoriya.net/

  2. (要Cygwin) wgetでプラグインをダウンロード

    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/$d/scala.vim; done

    参考URL: https://github.com/derekwyatt/vim-scala

  3. vimをインストールしたディレクトリのpluginsフォルダ以下にvim-scalaフォルダを作成し、 その中にwgetで取得したftdetect、indent、syntaxの3フォルダをコピー

備考: Cygwinがなければ、githubからプロジェクトをzipアーカイブでダウンロードして、ftdetect、indent、syntaxを取り出しても大丈夫かも

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2