Closed vlatkoB closed 9 years ago
Can you check the value of after-save-hook
?
Thanks for the tip. That seems to be the problem. I'm using ECB and when active, it changes after-save-hook
. I'll look into it later and report. It worked before, so must be something I changed recently.
Couldn't find the real problem, so I made a workaround by adding
(defun company-ghc-autoscanning ()
(company-ghc-scan-modules)
(company-ghc-turn-on-autoscan))
to haskell-mode-hook
, so diagnose
shows candidates even before first save.
In your opinion, is there something that conflicts with this approach?
Maybe, company-ghc
's init
command does not run for some reason.
I don't see any problem on the custom hook approach.
Hi,
company-ghc-diagnose
shows no items when invoked first and suggests:However, :f1 v
company-ghc-autoscan
gives:After manually invoking
company-ghc-scan-modules
,company-ghc-diagnose
shows found modules and candidates.Emacs 24.5.1 on Arch, current company-ghc from gitHub
br, vlatko