-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Troubles regarding ocaml layer #1674
Comments
Try the |
Thank you for your help. Actually I tried out the
|
Paging @edwintorok? |
@ChingfanTsou do you have opam and merlin installed and did you run I'll take a look at using |
@ChingfanTsou Please try my |
@edwintorok Thanks for the update. Yes, I have It seemed strange, I guess disabling |
Can you also try this branch? It doesn't have auto-complete enabled, but fixes some errors with flycheck initialization. |
@edwintorok It looks strange though. It won't cause too much troubles, although it makes both |
On 05/24/2015 06:13 AM, Chingfan Tsao wrote:
I've commented out the auto-complete initialization here (i.e. it uses company): And I've commented out the company mode initialization here (i.e. it uses auto-complete): Please try these two branches and let me know how they work for you. Apparently Merlin prefers company-mode slightly over auto-complete: ocaml/merlin#55 (comment)
Merlin supports both auto-complete and company, I only followed the spacemacs documentation: https://github.com/syl20bnr/spacemacs/tree/develop/contrib/auto-completion#add-auto-completion-in-a-layer, and Merlin's documentation: https://github.com/the-lambda-church/merlin/wiki/emacs-from-scratch#company-mode on how to enable it. BTW which version of Merlin do you have? I'm testing my layer with Merlin 2.2. |
@edwintorok both Thanks for the excellent work! |
@ChingfanTsou so what do we do here ? If company is fine then we prefer to use company in spacemacs, but if there is a big missing feature in the company backend then we might consider auto-complete. What's your current thought about auto-completion for ocaml ? |
@syl20bnr Actually according to this given by @edwintorok , Thanks! |
I'm assuming I can close this, then. I'm a bit confused whether there is actually a problem that needs to be solved. If there is, please let us know. |
Since ocaml layer's
merlin
package heavily rely onfuzzy
andauto-complete
, it is strange to find that thepackage.el
in ocaml layer actually doesn't includefuzzy
neither turn onauto-complete-mode
.I found
auto-completion
layer has perfectly instructed how to enablecompany-mode
for a specific mode, but I can't figure out how to do the same withauto-complete
. Can anybody give me a hint?I am expecting to use spacemacs for ocaml code editing. Any help would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: