Skip to content

when text document sync capability is only kind send didSave without text - #9101

Merged
the-mikedavis merged 1 commit into
helix-editor:masterfrom
gabydd:didSave
Dec 17, 2023
Merged

when text document sync capability is only kind send didSave without text#9101
the-mikedavis merged 1 commit into
helix-editor:masterfrom
gabydd:didSave

Conversation

@gabydd

@gabydd gabydd commented Dec 16, 2023

Copy link
Copy Markdown
Member

see microsoft/language-server-protocol#288 for details

fixes #9034 and #8305

I tested that this does fixes the issues but it would be great if @akhilman could also confirm

@akhilman

Copy link
Copy Markdown

Seems to be working fine. I can see onDidSave in the log and diagnostics in the editor.

Comment thread helix-lsp/src/client.rs Outdated
@pascalkuthe

Copy link
Copy Markdown
Member

thanks for looking into this!

@pascalkuthe pascalkuthe added E-easy Call for participation: Experience needed to fix: Easy / not much A-language-server Area: Language server client S-waiting-on-review Status: Awaiting review from a maintainer. labels Dec 16, 2023

@the-mikedavis the-mikedavis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@the-mikedavis
the-mikedavis merged commit f27fdb2 into helix-editor:master Dec 17, 2023
@gabydd
gabydd deleted the didSave branch December 17, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-language-server Area: Language server client E-easy Call for participation: Experience needed to fix: Easy / not much S-waiting-on-review Status: Awaiting review from a maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Helix doesn't trigger onDidSave event in diagnostic-languageserver

4 participants