You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-lsp/src
Pascal Kuthe 87a720c3a1
make path changes LSP spec conform (#8949)
Currently, helix implements operations which change the paths of files
incorrectly and inconsistently. This PR ensures that we do the following
whenever a buffer is renamed (`:move` and workspace edits)

* always send did_open/did_close notifications
* send will_rename/did_rename requests correctly
  * send them to all LSP servers not just those that are active for a
    buffer
  * also send these requests for paths that are not yet open in a buffer (if
    triggered from workspace edit).
  * only send these if the server registered interests in the path
* autodetect language, indent, line ending, ..

This PR also centralizes the infrastructure for path setting and
therefore `:w <path>` benefits from similar fixed (but without didRename)
10 months ago
..
client.rs make path changes LSP spec conform (#8949) 10 months ago
file_event.rs Drop mut from variable to silence linter (#7704) 1 year ago
file_operations.rs make path changes LSP spec conform (#8949) 10 months ago
jsonrpc.rs LSP: Add request ID to request timeout message (#6010) 2 years ago
lib.rs make path changes LSP spec conform (#8949) 10 months ago
snippet.rs Fix typos (#6643) 2 years ago
transport.rs Exit a language server if it sends a message with invalid json (#9332) 11 months ago