haskellmode-vim
haskellmode-vim copied to clipboard
newbie haskell error: ghc.vim: GHCi reports errors (try :make?)
Hi, sorry for the newbie question, I'm really starting with haskell (I'm doing the edx course) ..these are the steps than I did
I download the latest haskellmode vimball $ vim haskellmode-20101118.vba :!mkdir ~/.vim/bundle/haskellmode :UseVimball ~/.vim/bundle/haskellmode
I'm using panthogen, probably the error is more related to my haskell installation but I'm not sure, can you help me?
I've installed ghc and ghci --- ~/.vim ‹master➔ M› » whereis ghc ghc: /usr/local/bin/ghc
--- ~/.vim ‹master*➔ M› » whereis ghci ghci: /usr/local/bin/ghci
Note: other guy seems to have the same issue running other haskell plugin https://github.com/eagletmt/neco-ghc/issues/10
I try these commands ghc-mod list, ghc-mod lang, ghc-mod flag and ghc-mod browse..all except ghc-mod browse return a big list of modules and flags, seems than the problem is not ghc, but really I don't know
hope you can help..thanks!
I had the same problem. I did try to run :GHCi and i got an error message: *** WARNING: /home/sramek/.ghc is writable by someone else, IGNORING! I have fixed it with chmod -go-w ~/.ghc
ghc.vim stopped reporting the error but my neco-ghc omni autocomplete stil does not work. (user pattern does work though C-x C-u)