clean up
Rust / build (macos-latest, stable) (push) Waiting to run
Rust / build (macos-latest, stable) (pull_request) Waiting to run
Rust / build (ubuntu-latest, stable) (push) Waiting to run
Rust / build (ubuntu-latest, stable) (pull_request) Waiting to run
Rust / build (windows-latest, stable) (pull_request) Waiting to run
Rust / build (windows-latest, stable) (push) Waiting to run

This commit is contained in:
2026-11-17 09:49:57 +07:00
parent 8f96a2cc16
commit d1a4cfe9fb
55 changed files with 225 additions and 207 deletions
+4 -2
View File
@@ -13,13 +13,15 @@
//! }
//! ```
use crate::components::common::ResultLogErr;
use gpui::SharedString;
use std::cell::RefCell;
use std::collections::HashMap;
use gpui::SharedString;
#[cfg(not(target_arch = "wasm32"))]
use tree_sitter::StreamingIterator as _;
use crate::components::common::ResultLogErr;
#[cfg(not(target_arch = "wasm32"))]
thread_local! {
static HIGHLIGHTERS: RefCell<HashMap<Language, Option<Highlighter>>> =