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 24, 2023
1 parent f2b9572 commit 515aab4
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 @@ -2475,6 +2475,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 515aab4

Please sign in to comment.