helix/helix-term
Pascal Kuthe 87a720c3a1
make path changes LSP spec conform ()
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)
2024-01-29 01:34:45 +09:00
..
src make path changes LSP spec conform () 2024-01-29 01:34:45 +09:00
tests Create helix-stdx crate for stdlib extensions 2024-01-18 10:57:53 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Add icon to Windows executable () 2024-01-28 18:31:10 +09:00
Cargo.toml Re-export which from helix-stdx::env 2024-01-24 15:47:49 +09:00