Closed iquiw closed 8 years ago
Initial implementation is pushed to direct-comm
branch [1].
TODO
ghc-get-info
when type information is not got from ghc-modi browse -d
.Since ghc-get-info
now pops up error if the current buffer contains error, ghc-get-info
is not usable for company's meta command.
With this branch,
ghc-modi browse -d
.company-ghc-show-info
to nil.ghc-get-info
is not used in default.
I will merge it.
Currently, company-ghc borrows ghc-mod variables and modifies them by adding text properties. It is not polite. I would like to change it by communicating with
ghc-modi
directly viaghc-sync-process
.Once after
ghc-modi
supports "-d" and "-o" options likeghc-mod
, we can remove call ofghc-get-info
and add operators into candidates.One down side is we may have duplicate set of keywords in ghc-mod and company-ghc.