Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove missing docs warning for now

Max Brunsfeldf11d676641d6
diff --git a/crates/language/src/language.rs b/crates/language/src/language.rs
index 534d313453f..7d44250a0f2 100644
--- a/crates/language/src/language.rs
+++ b/crates/language/src/language.rs
@@ -1,4 +1,3 @@
-#![warn(missing_docs)]
//! The `language` crate provides a large chunk of Zed's language-related
//! features (the other big contributors being project and lsp crates that revolve around LSP features).
//! Namely, this crate:
@@ -389,7 +388,7 @@ pub struct CodeLabel {
pub struct LanguageConfig {
/// Human-readable name of the language.
pub name: Arc<str>,
- // The name of the grammar in a WASM bundle.
+ // The name of the grammar in a WASM bundle (experimental).
pub grammar_name: Option<Arc<str>>,
/// Given a list of `LanguageConfig`'s, the language of a file can be determined based on the path extension matching any of the `path_suffixes`.
pub path_suffixes: Vec<String>,