Skip to content

Commit b919e77

Browse files
committed
Remove MEAD from vim-clap (split into standalone repo)
MEAD has been extracted to its own repository at ~/src/github.com/liuchengxu/mead. This commit removes all MEAD-specific code from vim-clap while keeping the WebSocket markdown preview intact. Deleted: - mead/ directory (Tauri app, now in standalone repo) - MEAD-only JS: tauri-app, dictionary, ask-ai, settings-dialog, path-input, terminal, pdf-viewer - MEAD-only CSS: dictionary, ask-ai, terminal, pdf-viewer - vendor/ directory (PDF.js, cmaps, standard fonts) Modified: - assets.rs: remove Tauri mode, properly inline all CSS (fuzzy-finder, presentation, diff) that was previously only loaded by MEAD's build.rs - index.html: strip MEAD panels (dictionary, AI, settings), xterm.js, PDF.js, MEAD branding - Cargo.toml: remove "mead" from exclude list
1 parent b2ba5f9 commit b919e77

File tree

243 files changed

+32
-31880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+32
-31880
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ members = [
2424
"crates/maple_derive",
2525
"crates/maple_lsp",
2626
"crates/maple_markdown",
27-
# mead is a separate workspace (has its own Cargo.toml with [workspace])
2827
"crates/markdown_preview_core",
2928
"crates/matcher",
3029
"crates/matcher/extracted_fzy",
@@ -40,7 +39,7 @@ members = [
4039
"crates/xtask",
4140
]
4241

43-
exclude = ["pythonx/clap/fuzzymatch-rs", "mead"]
42+
exclude = ["pythonx/clap/fuzzymatch-rs"]
4443

4544
default-members = ["crates/maple"]
4645

crates/maple_markdown/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async fn ws_handler(
118118
handle_websocket(ws, msg_rx, watcher_rx, disconnect_tx, base_dir).await
119119
})
120120
} else {
121-
let html = Assets::build_html(&markdown_preview_core::assets::AssetOptions::default());
121+
let html = Assets::build_html(&markdown_preview_core::assets::AssetOptions);
122122
let mut headers = HeaderMap::new();
123123
headers.insert(
124124
header::CACHE_CONTROL,

crates/markdown_preview_core/js/ask-ai.css

Lines changed: 0 additions & 195 deletions
This file was deleted.

crates/markdown_preview_core/js/ask-ai.js

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)