It seems there might be a slight confusion in terminology. The `zed` package in Gentoo's `app-editors` category ref
It seems there might be a slight confusion in terminology. The `zed` package in Gentoo's `app-editors` category refers to the **zed code editor** (a modern, collaborative editor), not the `dev-ml/zed` package (an OCaml text engine). Below is a step-by-step guide to using the **zed code editor** for Lazarus development on Gentoo, assuming you're referring to the code editor.
---
Related Images
As of the latest data (July 2024), `app-editors/zed` is **not yet in the Gentoo main repository**. You can check its status on the [Gentoo Forums](https://forums.gentoo.org/viewtopic-p-8833703.html) or request an ebuild here.
# Install via Portage
emerge --ask app-editors/zedYou can build it from source using an overlay. For example:
# Clone the overlay (if available)
git clone https://github.com/example-overlay/zed-overlay.git /usr/local/portage
# Add the overlay to your make.conf
PORTDIR_OVERLAY="/usr/local/portage"
# Build and install the ebuild
cd /usr/local/portage/app-editors/zed
ebuild file.ebuild clean # Clean any existing build
ebuild file.ebuild binary # Build and install---
Once installed, configure Zed to work with Lazarus:
Zed supports plugins for languages like Pascal (used by Lazarus). Install the Pascal plugin:
# Navigate to Zed's plugin directory
cd ~/.config/zed/plugins
# Clone the Pascal plugin repository
git clone https://github.com/zed-industries/zed-plugin-pascal.gitEnsure syntax highlighting for Lazarus files (`.lpi`, `.lpr`, `.pas`) is enabled in Zed's settings.
---
Unfortunately, the provided web context does not include screenshots. However, you can find screenshots of Zed on its [official website](https://zed.dev) or on platforms like [DeviantArt](https://www.deviantart.com/zedindustries/art).
---