Skip to content

Commit

Permalink
feat: sending lsp file_changed event once file has moved
Browse files Browse the repository at this point in the history
  • Loading branch information
yo-main committed Oct 22, 2023
1 parent 08f8f0a commit f7032f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helix-term/src/commands/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2477,6 +2477,11 @@ fn move_buffer(
lsp.did_file_rename(&old_path_as_url, &new_path_as_url);
});

cx.editor
.language_servers
.file_event_handler
.file_changed(new_path);

Ok(())
}

Expand Down

0 comments on commit f7032f4

Please sign in to comment.