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.

Fix tooltip of `always_treat_brackets_as_autoclosed` (#18191)

Junseong Park1f35c8d09df9
diff --git a/crates/language/src/language_settings.rs b/crates/language/src/language_settings.rs
index 82d4208aae6..735a9a60f87 100644
--- a/crates/language/src/language_settings.rs
+++ b/crates/language/src/language_settings.rs
@@ -325,11 +325,11 @@ pub struct LanguageSettingsContent {
///
/// Default: true
pub use_auto_surround: Option<bool>,
- // Controls how the editor handles the autoclosed characters.
- // When set to `false`(default), skipping over and auto-removing of the closing characters
- // happen only for auto-inserted characters.
- // Otherwise(when `true`), the closing characters are always skipped over and auto-removed
- // no matter how they were inserted.
+ /// Controls how the editor handles the autoclosed characters.
+ /// When set to `false`(default), skipping over and auto-removing of the closing characters
+ /// happen only for auto-inserted characters.
+ /// Otherwise(when `true`), the closing characters are always skipped over and auto-removed
+ /// no matter how they were inserted.
///
/// Default: false
pub always_treat_brackets_as_autoclosed: Option<bool>,