Skip to content

Is "version" in lsp response used to assure file consistency (e.g. for renames)? #3498

Closed
@codygman

Description

@codygman

The context is mostly from joaotavora/eglot#1051 (comment) which says:

Probably sending the :version isn't even necessary and Eglot will not perform the check if it isn't present. But if you are the server are going to send one, Eglot assumes its purpose is to assure file consistency and will refuse to perform the edit.

In response to an issue where the user tries to execute a rename and nothing seems to change in emacs with eglot.

Metadata

Metadata

Assignees

Labels

component: lsptype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions