mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-24 23:01:07 +01:00
Extension for Zed that adds support for Discord Rich Presence using LSP
.gimi | ||
.github | ||
lsp | ||
scripts | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
extension.toml | ||
LICENSE | ||
README.md |
Zed discord presence is an extension for Zed that adds support for Discord Rich Presence using LSP
Using LSP is a workaround for now (yeah, it's a bit hacky) but once Zed has proper extension support, I'll rewrite it.
Requirements
rust is required for installing this extension.
The easiest way to get rust is by using rustup
How to install?
- Clone this repository
- CTRL + SHIFT + P and select zed: install dev extension
- Choose the directory where you cloned this repository
- Enjoy :)
How to configure?
You can configure state, details and git integration by changing Discord Presence LSP settings. This can be done in zed: open settings with following configuration:
{
"lsp": {
"discord_presence": {
"initialization_options": {
"state": "Working on {filename}",
"details": "In {workspace}",
"git_integration": true
}
}
}
}