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-term/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)
9 months ago
..
commands make path changes LSP spec conform (#8949) 9 months ago
handlers refactor completion and signature help using hooks 10 months ago
keymap feat: smart_tab 1 year ago
ui refactor completion and signature help using hooks 10 months ago
application.rs make path changes LSP spec conform (#8949) 9 months ago
args.rs Fallback to filename for +arg (#9333) 10 months ago
commands.rs refactor completion and signature help using hooks 10 months ago
compositor.rs add redraw command (#6949) 1 year ago
config.rs feat: smart_tab 1 year ago
events.rs Add hook/event system 10 months ago
handlers.rs refactor completion and signature help using hooks 10 months ago
health.rs Re-export `which` from `helix-stdx::env` 10 months ago
job.rs Add hook/event system 10 months ago
keymap.rs Address clippy lints (#9371) 10 months ago
lib.rs Add hook/event system 10 months ago
main.rs Create helix-stdx crate for stdlib extensions 10 months ago