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

Correctly map DocumentSymbol's :kind to it's name #121

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

mkcms
Copy link
Collaborator

@mkcms mkcms commented Sep 24, 2018

Previously we were mapping :kind in DocumentSymbol with names from
CompletionItemKind enum, whereas we should have used SymbolKind enum.

  • eglot.el (eglot--symbol-kind-names): New variable.
    (eglot-imenu): Use it instead of eglot--kind-names.

Previously we were mapping :kind in DocumentSymbol with names from
CompletionItemKind enum, whereas we should have used SymbolKind enum.

* eglot.el (eglot--symbol-kind-names): New variable.
(eglot-imenu): Use it instead of eglot--kind-names.
@joaotavora joaotavora merged commit 821b498 into joaotavora:master Sep 24, 2018
@joaotavora
Copy link
Owner

Looks good, thanks.

joaotavora pushed a commit that referenced this pull request Jan 10, 2019
* eglot.el (eglot--sig-info): Protect against invalid label.
bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 18, 2022
* eglot.el (eglot--sig-info): Protect against invalid label.
bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 19, 2022
* eglot.el (eglot--sig-info): Protect against invalid label.
bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 19, 2022
Previously we were mapping :kind in DocumentSymbol with 
names from the CompletionItemKind enum, whereas we should 
have used the SymbolKind enum.

* eglot.el (eglot--symbol-kind-names): New variable.
(eglot-imenu): Use it instead of eglot--kind-names.
(#121: joaotavora/eglot#121
bhankas pushed a commit to bhankas/emacs that referenced this pull request Sep 19, 2022
* eglot.el (eglot--sig-info): Protect against invalid label.
#121: joaotavora/eglot#121
jollaitbot pushed a commit to sailfishos-mirror/emacs that referenced this pull request Oct 12, 2022
Previously we were mapping :kind in DocumentSymbol with 
names from the CompletionItemKind enum, whereas we should 
have used the SymbolKind enum.

* eglot.el (eglot--symbol-kind-names): New variable.
(eglot-imenu): Use it instead of eglot--kind-names.

GitHub-reference: joaotavora/eglot#121
jollaitbot pushed a commit to sailfishos-mirror/emacs that referenced this pull request Oct 12, 2022
* eglot.el (eglot--sig-info): Protect against invalid label.

GitHub-reference: per joaotavora/eglot#121
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.

None yet

2 participants