aports/testing/tinymist/0001-fix-expose-and-default-to-no-content-hint-in-typlite.patch
2025-02-23 20:18:47 +00:00

26 lines
890 B
Diff

Upstream-Status: https://github.com/Myriad-Dreamin/tinymist/pull/1381
From d1344b434d70c5cffba19f608e820009992613b0 Mon Sep 17 00:00:00 2001
From: LN Liberda <lauren@selfisekai.rocks>
Date: Sun, 23 Feb 2025 16:32:06 +0100
Subject: [PATCH] fix: expose and default to no-content-hint in typlite
---
crates/typlite/Cargo.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crates/typlite/Cargo.toml b/crates/typlite/Cargo.toml
index 101a7b32..0422338e 100644
--- a/crates/typlite/Cargo.toml
+++ b/crates/typlite/Cargo.toml
@@ -37,9 +37,10 @@ insta.workspace = true
regex.workspace = true
[features]
-default = ["cli", "embed-fonts"]
+default = ["cli", "embed-fonts", "no-content-hint"]
clap = ["dep:clap"]
cli = ["clap", "clap/wrap_help"]
+no-content-hint = ["tinymist-project/no-content-hint"]
# Embeds Typst's default fonts for
# - text (Linux Libertine),