Git Product home page Git Product logo

Comments (12)

slashmili avatar slashmili commented on May 21, 2024

Hmm, I remember it never worked very well with YMC :(

I just checked the screencast that I recorded long time ago and it is like your screenshot.

from alchemist.vim.

kedare avatar kedare commented on May 21, 2024

What is the recommended way to install it to have an equivalent behavior ? Typically having completion working automatically with OmniCompletion ? (Because for now I can only make it work when using , can it work with tab ?)

from alchemist.vim.

slashmili avatar slashmili commented on May 21, 2024

@kedare I've seen most of people use it with deoplete.nvim

from alchemist.vim.

nhooyr avatar nhooyr commented on May 21, 2024

It doesn't seem to complete many functions or modules at all for me. Only completes standard library functions or modules. Have I got my project setup wrong? I created it with mix phoenix.new.

from alchemist.vim.

slashmili avatar slashmili commented on May 21, 2024

@nhooyr So far based on the experience the YMC and alchemist.vim don't play well with each others

from alchemist.vim.

nhooyr avatar nhooyr commented on May 21, 2024

Sorry, forgot to mention I'm using deoplete.

from alchemist.vim.

uberbrodt avatar uberbrodt commented on May 21, 2024

I've got the same thing, using latests versions of Alchemist and YCM. One thing that is interesting, is that if you invoke YCM completion directly through , it shows intelligent completions based on the context.

from alchemist.vim.

slashmili avatar slashmili commented on May 21, 2024

@uberbrodt what do you mean by invoke YCM completion directly, do mean invoke YCM completion for alchemist?

from alchemist.vim.

uberbrodt avatar uberbrodt commented on May 21, 2024

@slashmili Sorry, should have been more clear. When I say "invoke YCM completion directly", I mean calling the omnifunc. Which, is set to elixircomplete#Complete for me.

After spending a bit more time on it, and looking more closely at issue #33, It seems that it's related to the regex that this plugin fixes: https://github.com/larrylv/ycm-elixir. I would say it's not perfect; seems to get confused when trying to complete multiple module names in a chain (ie: Foo.Bar. won't have any completions, even though there are other modules under the Bar namespace). I'm not sure if that's an Alchemist or a YCM issue though.

from alchemist.vim.

charleshan avatar charleshan commented on May 21, 2024

I'm getting the same error as well.
Omnifunc returned bad value to YCM! Omnifunc did not return a list or a dict with a "words" list when expected.

from alchemist.vim.

slashmili avatar slashmili commented on May 21, 2024

@kedare / @Omin thanks for reporting the issue

I'm working on elixir-sense which solves lots of problem like this.

I keep the issuer open until that new feature is ready

from alchemist.vim.

slashmili avatar slashmili commented on May 21, 2024

@kedare / @Omin please try the new version

from alchemist.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.