Skip to content
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

Doesn't work with Rust/deoplete/racer #37

Closed
rivertam opened this issue Jan 6, 2018 · 5 comments
Closed

Doesn't work with Rust/deoplete/racer #37

rivertam opened this issue Jan 6, 2018 · 5 comments

Comments

@rivertam
Copy link

rivertam commented Jan 6, 2018

Hi!

I'm trying to use echodoc with Rust/deoplete/racer, and it's very buggy. Whenever I try to use it, it does nothing until I type the first character of the arguments, at which point it displays function_name(x where x is the first character of the arguments. Typing anything else doesn't do anything; it just stays there until I exit insert mode.

Here are some images of this happening:

2018-01-05_22-47-36

2018-01-05_22-47-57

I also tried with let g:echodoc#type = "signature", which had interesting though also invalid results that I cannot reproduce for some reason. I was seeing type signatures like () -> -> bool, which I believe is nonsense for Rust (though the function did return bool). When I try to reproduce, I get the same issue as above.

Here's my neovim version information (literally just reinstalled to make sure):

2018-01-05_22-51-39

Deoplete is version 4.0 (also just :PlugUpdated)

echodoc is version 1.0

Thanks for a(nother) really cool plugin!

@Shougo
Copy link
Owner

Shougo commented Jan 7, 2018

Hm. The signature is very complicated and not supported well.

The pull request is wellcome.

I'm trying to use echodoc with Rust/deoplete/racer, and it's very buggy.

So, it is not buggy.

@ghost
Copy link

ghost commented Jan 15, 2019

Need Rust support :)

@JeanMertz
Copy link

I've run into the same issue.

Here's an example of a (minor) issue that's happening:

Deoplete + LanguageClient shows the signature as expected:

screenshot 2019-02-14 at 09 47 03

Echodoc adds an extra ) at the end (throwing off syntax highlighting):

screenshot 2019-02-14 at 09 47 14

@Shougo
Copy link
Owner

Shougo commented Feb 18, 2019

Confirmed. I will fix it later.

@Shougo Shougo closed this as completed in 701c2a7 Feb 18, 2019
Shougo added a commit that referenced this issue Feb 18, 2019
@Shougo
Copy link
Owner

Shougo commented Feb 18, 2019

I have fixed Rust errors in the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants