repl: Pluck project off editor directly (#48808)

Kyle Kelley created

Clean up code by pulling the project off the editor directly.

Repeat of https://github.com/zed-industries/zed/pull/48762 since
reversion happened in https://github.com/zed-industries/zed/pull/48776.

Release Notes:

- N/A

Change summary

0 files changed

Detailed changes