0

最近(在升级到 El Capitan 后修复了我的 Haskell 设置后),当我在 Vim 中编辑 Haskell 文件片刻时,我收到以下错误:

"FPRef.hs" 13L, 316C written
syntastic: error: checker output:
You must run ghc-mod in the project directory as returned by `ghc-mod root`. Currently in: "/Users/mingtang/Code/FP15/src/FP15/Evaluator"but should be in "/Users/mingtang/Code/FP15".
syntastic: error: checker haskell/ghc_mod returned abnormal status 1
Press ENTER or type command to continue

谷歌搜索此错误消息会导致此 GitHub 问题:https ://github.com/atom-haskell/haskell-ghc-mod/issues/50

这是我的 ghc-mod 的版本:

$ ghc-mod --version
ghc-mod version 5.4.0.0 compiled by GHC 7.8.3

我已经vim-hdevtools安装了,它的最后一次提交是在 2012 年,所以我不能向他们寻求帮助。

有没有办法解决这个问题?

4

0 回答 0