File tree Expand file tree Collapse file tree 3 files changed +85
-0
lines changed
Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/assets/settings/default.json b/assets/settings/default.json
2+ index efb0cc9..08fc993 100644
3+ --- a/assets/settings/default.json
4+ +++ b/assets/settings/default.json
5+ @@ -44,7 +44,7 @@
6+ // "calt": false
7+ },
8+ // The default font size for text in the editor
9+ - "buffer_font_size": 15,
10+ + "buffer_font_size": 16,
11+ // The weight of the editor font in standard CSS units from 100 to 900.
12+ "buffer_font_weight": 400,
13+ // Set the buffer's line height.
14+ @@ -1240,9 +1240,9 @@
15+ // Control what info is collected by Zed.
16+ "telemetry": {
17+ // Send debug info like crash reports.
18+ - "diagnostics": true,
19+ + "diagnostics": false,
20+ // Send anonymized usage data like what languages you're using Zed with.
21+ - "metrics": true,
22+ + "metrics": false
23+ },
24+ // Whether to disable all AI features in Zed.
25+ //
26+ @@ -1250,7 +1250,7 @@
27+ "disable_ai": false,
28+ // Automatically update Zed. This setting may be ignored on Linux if
29+ // installed through a package manager.
30+ - "auto_update": true,
31+ + "auto_update": false,
32+ // How to render LSP `textDocument/documentColor` colors in the editor.
33+ //
34+ // Possible values:
35+ @@ -1434,7 +1434,7 @@
36+ // May take 2 values:
37+ // 1. hour12
38+ // 2. hour24
39+ - "hour_format": "hour12",
40+ + "hour_format": "hour24",
41+ },
42+ // Status bar-related settings.
43+ "status_bar": {
Original file line number Diff line number Diff line change 1+ diff --git a/crates/zed/Cargo.toml b/crates/zed/Cargo.toml
2+ index 54d16da..1ced68d 100644
3+ --- a/crates/zed/Cargo.toml
4+ +++ b/crates/zed/Cargo.toml
5+ @@ -14,7 +14,7 @@ workspace = true
6+ tracy = ["ztracing/tracy"]
7+
8+ [[bin]]
9+ - name = "zed"
10+ + name = "zed-editor"
11+ path = "src/zed-main.rs"
12+
13+ [lib]
Original file line number Diff line number Diff line change 1+ # Template file for 'zed'
2+ pkgname=zed-editor
3+ version=0.218.6
4+ revision=1
5+ archs="x86_64* aarch64*"
6+ build_style=cargo
7+ make_install_args="--path crates/zed"
8+ hostmakedepends="pkg-config protobuf gettext mold clang cmake "
9+ makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel
10+ libzstd-devel wayland-devel vulkan-loader openssl-devel libgit2-1.9-devel sqlite-devel libX11-devel"
11+ depends="git"
12+ checkdepends="noto-fonts-ttf"
13+ short_desc="High-performance, multiplayer code editor"
14+ maintainer="Nizarjh <chel773@tutamail.com>"
15+ license="GPL-3.0-or-later, Apache-2.0, AGPL-3.0-or-later"
16+ homepage="https://zed.dev/"
17+ distfiles="https://github.com/zed-industries/zed/archive/v${version}.tar.gz"
18+ checksum=4192fc27529937f5fb7f3a8a95f021f04acdeadd4d205b0239fc90fc008c325a
19+
20+ post_install() {
21+ vlicense ${wrksrc}/LICENSE-AGPL
22+ APP_NAME="Zed Editor"
23+ DO_STARTUP_NOTIFY="true"
24+ APP_ICON="zed-editor"
25+ APP_CLI="zed-editor"
26+ envsubst < ${wrksrc}/crates/zed/resources/zed.desktop.in > ${wrksrc}/crates/zed/resources/dev.zed.Zed.desktop
27+ vinstall ${wrksrc}/crates/zed/resources/dev.zed.Zed.desktop 644 usr/share/applications/
28+ vinstall ${wrksrc}/crates/zed/resources/app-icon.png 644 usr/share/icons/hicolor/512x512/apps/ zed.png
29+ }
You can’t perform that action at this time.
0 commit comments