-
Notifications
You must be signed in to change notification settings - Fork 102
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
alchemist-company prevents other company modes #66
Comments
I'm not very familiar with company myself (just switched after a long time with ac-mode) but I will try to take a look at this problem as soon as possible. |
@semanticart company-mode should continue to the next backend if the current backend doesn't return a match. So! something is broken. I don't know if it'll matter, but what value do you have Hey @rranelli -- I was playing with company-mode the other day and can look into this. |
Thanks, guys. I'm not setting that variable anywhere.
setting it to t does not appear to change anything |
Looking through the doc for the If it's in an elixir buffer, alchemist's company backend uses A simple solution: you can use the interactive command Alternatively the alchemist backend's prefix command could have more logic for when to return |
Thanks @jtmoulia. I'll probably take the reverse approach and remove alchemist-company from the backend list and invoke it via keypress. |
I'm fairly new to emacs, so apologies if this isn't terribly descriptive. I'm on 24.4.91.1 and alchemist-20150407.55 fwiw.
I'm using company mode w/ global-company-mode. My init.el looks something like this
In non-elixir files, company-mode's company-backends look like this
These allow completion of keywords, words in open buffers, etc. It is very useful.
When in an elixir file, company-backends looks like this
where alchemist-company has been inserted into the beginning. But unfortunately if a match doesn't come up in alchemist-company, it does not list options from the other backends.
I would love to use alchemist-company and still failover to the other backends.
Am I doing something wrong? Any advice, or is this just not possible?
The text was updated successfully, but these errors were encountered: