GhcModTypeが訳分からんところをハイライトする。

この記事は追記の事情により読む必要がないです。

質問

ghcmod-vimを入れて楽々Haskellライフが送れるようになりますが、 こんな風にGhcModTypeが訳分からんところをハイライトすることがあります。 f:id:Ieshoriveul:20150314021633p:plain

さて、どうやって直すのでしょうか。

古い回答

Haskellで一般的なVimの設定にしないお前が悪い。

`~/.vim/ftplugin/haskell.vim'を作って以下のように書け:

" Tab specific option
set tabstop=8                   "A tab is 8 spaces
set expandtab                   "Always uses spaces instead of tabs
set softtabstop=4               "Insert 4 spaces when tab is pressed
set shiftwidth=4                "An indent is 4 spaces
set shiftround                  "Round indent to nearest shiftwidth multiple

そうすると自然とghc-modと仲良くできるコードが手から沸いて出てくるようになる。 f:id:Ieshoriveul:20150314022611p:plain

根拠: Vim - HaskellWiki

新しい回答

このブログを投稿した後、

となり、 となって、 Fix for tab indent · 2929163 · eagletmt/ghcmod-vim · GitHub からの、 Release v1.3.0 · eagletmt/ghcmod-vim · GitHub で、 となりました。

ありがとう!拍手!!!えらい!!!!