How can tower-lsp get the buffer from editor #346
Answered
by
ratmice
Decodetalkers
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
ratmice
Jun 21, 2022
Replies: 1 comment 6 replies
-
See the did_change function here in the example, the unbound parameter with the type |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Decodetalkers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the did_change function here in the example, the unbound parameter with the type
DidChangeTextDocumentParams
has a fieldcontent_changes
, I'm not familiar with the javascript API though everything you need to replicate it should be available from those.