Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
diff --git a/assets/settings/default.json b/assets/settings/default.json
index efb0cc9..08fc993 100644
--- a/assets/settings/default.json
+++ b/assets/settings/default.json
@@ -44,7 +44,7 @@
// "calt": false
},
// The default font size for text in the editor
- "buffer_font_size": 15,
+ "buffer_font_size": 16,
// The weight of the editor font in standard CSS units from 100 to 900.
"buffer_font_weight": 400,
// Set the buffer's line height.
@@ -1240,9 +1240,9 @@
// Control what info is collected by Zed.
"telemetry": {
// Send debug info like crash reports.
- "diagnostics": true,
+ "diagnostics": false,
// Send anonymized usage data like what languages you're using Zed with.
- "metrics": true,
+ "metrics": false
},
// Whether to disable all AI features in Zed.
//
@@ -1250,7 +1250,7 @@
"disable_ai": false,
// Automatically update Zed. This setting may be ignored on Linux if
// installed through a package manager.
- "auto_update": true,
+ "auto_update": false,
// How to render LSP `textDocument/documentColor` colors in the editor.
//
// Possible values:
@@ -1434,7 +1434,7 @@
// May take 2 values:
// 1. hour12
// 2. hour24
- "hour_format": "hour12",
+ "hour_format": "hour24",
},
// Status bar-related settings.
"status_bar": {
13 changes: 13 additions & 0 deletions srcpkgs/zed-editor/patches/0002-change-bin-name.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
index 54d16da..1ced68d 100644
--- a/crates/zed/Cargo.toml
+++ b/crates/zed/Cargo.toml
@@ -14,7 +14,7 @@ workspace = true
tracy = ["ztracing/tracy"]

[[bin]]
-name = "zed"
+name = "zed-editor"
path = "src/zed-main.rs"

[lib]
29 changes: 29 additions & 0 deletions srcpkgs/zed-editor/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Template file for 'zed-editor'
pkgname=zed-editor
version=0.218.6
revision=1
archs="x86_64* aarch64*"
build_style=cargo
make_install_args="--path crates/zed"
hostmakedepends="pkg-config protobuf gettext mold clang cmake "

This comment was marked as spam.

makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel
libzstd-devel wayland-devel vulkan-loader openssl-devel libgit2-1.9-devel sqlite-devel libX11-devel"
depends="git"
checkdepends="noto-fonts-ttf"
short_desc="High-performance, multiplayer code editor"
maintainer="Nizarjh <chel773@tutamail.com>"
license="GPL-3.0-or-later, Apache-2.0, AGPL-3.0-or-later"
homepage="https://zed.dev/"
distfiles="https://github.com/zed-industries/zed/archive/v${version}.tar.gz"
checksum=4192fc27529937f5fb7f3a8a95f021f04acdeadd4d205b0239fc90fc008c325a

post_install() {
vlicense ${wrksrc}/LICENSE-AGPL
APP_NAME="Zed Editor"
DO_STARTUP_NOTIFY="true"
APP_ICON="zed-editor"
APP_CLI="zed-editor"
envsubst < ${wrksrc}/crates/zed/resources/zed.desktop.in > ${wrksrc}/crates/zed/resources/dev.zed.Zed.desktop
vinstall ${wrksrc}/crates/zed/resources/dev.zed.Zed.desktop 644 usr/share/applications/
vinstall ${wrksrc}/crates/zed/resources/app-icon.png 644 usr/share/icons/hicolor/512x512/apps/ zed.png

This comment was marked as spam.

}
Loading