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

Fix getting :sortText error when sorting completion items #509

Closed
wants to merge 1 commit into from

Conversation

galeo
Copy link
Contributor

@galeo galeo commented Jul 10, 2020

This fixes the error that the completion items can not be sorted correctly according to :sortText, because getting :sortText content always fails. I have tested it with Microsoft's python language server and now it works right.

* eglot.el (eglot-completion-at-point): Fix getting :sortText content
  of the completion item.

Copyright-paperwork-exempt: yes
@joaotavora
Copy link
Owner

Thanks @galeo , the fix looks OK, but have you not got a copyright assignment yet? Is this your first contribution to Eglot (I didn't check myself)?

@galeo
Copy link
Contributor Author

galeo commented Jul 10, 2020

I have not signed the copyright paper yet. This is my second contribution to eglot and the first one was pull request #307.

bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 18, 2022
This fixes a problem pointed out by Yuwei Tian <ibluefocus@gmail.com>.

* eglot.el (eglot-completion-at-point): Fix getting :sortText content
of the completion item.
bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 19, 2022
This fixes a problem pointed out by Yuwei Tian <ibluefocus@gmail.com>.

* eglot.el (eglot-completion-at-point): Fix getting :sortText content
of the completion item.
bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 19, 2022
This fixes a problem pointed out by Yuwei Tian <ibluefocus@gmail.com>.

* eglot.el (eglot-completion-at-point): Fix getting :sortText content
of the completion item.

#509: joaotavora/eglot#509
jollaitbot pushed a commit to sailfishos-mirror/emacs that referenced this pull request Oct 12, 2022
This fixes a problem pointed out by Yuwei Tian <ibluefocus@gmail.com>.

* eglot.el (eglot-completion-at-point): Fix getting :sortText content
of the completion item.

GitHub-reference: closes joaotavora/eglot#509
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

Successfully merging this pull request may close these issues.

2 participants