Comments (3)
The easiest way I think is to use with-eval-after-load
if you are using Emacs 24.4 or later. (Otherwise use eval-after-load
instead)
(with-eval-after-load 'company
(add-to-list 'company-backends 'company-ghc))
Alternatively, haskell-mode-hook can be used.
(add-hook 'haskell-mode-hook
(lambda ()
(ghc-init)
(add-to-list (make-local-variable 'company-backends) 'company-ghc)))
from company-ghc.
Thanks a lot with-eval-after-load
worked perfectly!
from company-ghc.
(with-eval-after-load 'company (add-to-list 'company-backends 'company-ghc))
Thanks! Helped for me too!
from company-ghc.
Related Issues (20)
- Interactive-Haskell hangs HOT 5
- completion of symbols in current module when not compiling? HOT 5
- Fuzzy match for module names HOT 3
- company-ghc backend not found HOT 2
- company-ghc-turn-on-autoscan not detected HOT 4
- [Question] Constantly "Loading symbols for XX ..." HOT 2
- ghc-boot process seems to have failed HOT 11
- Company-ghc fails to scan and load modules HOT 1
- Operator in candidates
- Show type info in annotation HOT 6
- emacs sluggishness due to slow completion with ghc-mod HOT 11
- Integrate with company-flx HOT 1
- nil candidates without any other errors HOT 22
- Unwanted "Visit tags table (default TAGS)" HOT 1
- No autocompletion candidates for symbols in current file HOT 4
- How I can stop company-ghc to inject close parenthesis on import module keyword? HOT 4
- company-ghc backend found: company-ghc but ghc-boot process has not been done HOT 2
- MELPA package missing HOT 1
- Company gives “Wrong type argument” error message HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from company-ghc.