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

Completion error when there are multiple candidates #37

Closed
L42y opened this issue Jul 6, 2018 · 4 comments
Closed

Completion error when there are multiple candidates #37

L42y opened this issue Jul 6, 2018 · 4 comments

Comments

@L42y
Copy link

L42y commented Jul 6, 2018

When there are multiple completion candidates,
with company-mode enabled:

Company: An error occurred in post-command
Company: frontend company-pseudo-tooltip-unless-just-one-frontend error "Company: backend company-capf error "Wrong type argument: stringp, nil" with args (annotation React)" on command post-command

without company-mode enabled and M-x completion-at-point:

Making completion list...
concat: Wrong type argument: stringp, nil

but with single completion candidate, it works fine:
screen shot 2018-07-06 at 3 42 19 pm

@joaotavora
Copy link
Owner

What language is this? JavaScript? And what server?

Perhaps you could try upgrading or downgrading your company-mode.

Otherwise, I'll take a look when I get home.

@L42y
Copy link
Author

L42y commented Jul 6, 2018

JavaScript with javascript-typescript-stdio, major mode is js2-mode, I'll try downgrading my company-mode, since it's already newest from MELPA

@L42y
Copy link
Author

L42y commented Jul 6, 2018

tried company-mode's stable version 0.9.6, no luck

@joaotavora
Copy link
Owner

Alright, thanks. I should have no trouble reproducing in that case.

bhankas pushed a commit to bhankas/emacs that referenced this issue Sep 18, 2022
…tion

* eglot.el (eglot-completion-at-point): Handle case where no doc,
detail or kind.
bhankas pushed a commit to bhankas/emacs that referenced this issue Sep 19, 2022
…tion

* eglot.el (eglot-completion-at-point): Handle case where no doc,
detail or kind.
bhankas pushed a commit to bhankas/emacs that referenced this issue Sep 19, 2022
* eglot.el (eglot-completion-at-point): Handle case where no doc,
detail or kind.

#37: joaotavora/eglot#37
jollaitbot pushed a commit to sailfishos-mirror/emacs that referenced this issue Oct 12, 2022
* eglot.el (eglot-completion-at-point): Handle case where no doc,
detail or kind.

GitHub-reference: close joaotavora/eglot#37
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

2 participants