-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when writing Haskell files #625
Comments
Seems it's searching for "ghcmod", but cabal have installed "ghc-mod"... I created a symbolic link ghcmod-->ghc-mod and it working fine for me now. |
Is there any difference between that and removing the offending lines? With them removed I was still getting the error reporting from Haskell, which I assume was what the removed sections were intended for. There is a comment next to one of those sections mentioning that the functionality might be handled by another plugin. Regardless of that, having that same code in two places seems like an obvious mistake. |
how did you add the symbolic link? in mac terminal or in vimrc? I'm having the same issue |
On my computer it's $HOME/.cabal/bin which is in my $PATH. There didn't seem to be any benefit to this over just removing those lines. That functionality is handled by another program whose name I can't remember at the moment, AFAIK. |
Still an issue. |
There is a line setting up ghc-mod, you just search ghcmod in .vimrc file, and it is around line 1036, change the "ghcmod" to "ghc-mod", then it will work well. |
I get this error when I write a Haskell file.
Error detected while processing BufWritePost Auto commands for "*.hs":
E492: Not an editor command: GhcModCheckAndLintAsync
I do have ghc-mod installed. If I remove the sections of .vimrc around lines 636 and 915 all is well.
The text was updated successfully, but these errors were encountered: