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

Handle lsp-use-plists being enabled #30

Merged
merged 1 commit into from May 7, 2022
Merged

Handle lsp-use-plists being enabled #30

merged 1 commit into from May 7, 2022

Conversation

shivjm
Copy link
Contributor

@shivjm shivjm commented Apr 28, 2022

lsp-use-plists can be used to speed up deserialization, but libraries must use lsp-get instead of gethash to abstract over the two possible representations.

@gagbo
Copy link
Owner

gagbo commented May 2, 2022

Sorry for the delay, I'll try to get to it this week (just to test it doesn't break anything)

@gagbo gagbo merged commit 19606a0 into gagbo:main May 7, 2022
@shivjm shivjm deleted the handle-lsp-use-plists branch May 22, 2022 10:45
northgaard pushed a commit to northgaard/consult-lsp that referenced this pull request Jul 29, 2022
(cherry picked from commit 19606a0)
gagbo added a commit that referenced this pull request Oct 19, 2022
When symbols span multiple lines, `cend` might be less than `cbeg`, so
we must use the correct line of the symbol instead of assuming the
symbol only lives on one line.

Also, `consult-lsp--flatten-document-symbols` assumed that the return
values from LSP requests was always a hash-table, so in the same vein
as #30 we are changing the code to use lsp-mode-provided helpers.

Closes: #33
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