Skip to content

How can tower-lsp get the buffer from editor #346

Answered by ratmice
Decodetalkers asked this question in Q&A
Discussion options

You must be logged in to vote

See the did_change function here in the example, the unbound parameter with the type DidChangeTextDocumentParams has a field content_changes, I'm not familiar with the javascript API though everything you need to replicate it should be available from those.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ratmice
Comment options

@Decodetalkers
Comment options

@ebkalderon
Comment options

@Decodetalkers
Comment options

@ebkalderon
Comment options

Answer selected by Decodetalkers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants