From 1f35c8d09df9612e23d62a472d49c7021202711d Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Sun, 22 Sep 2024 17:47:07 +0900 Subject: [PATCH] Fix tooltip of `always_treat_brackets_as_autoclosed` (#18191) Fixed a bug where the `always_treat_brackets_as_autoclosed` option would not display the message in the tooltip that appears when hovering. Release Notes: - N/A --- crates/language/src/language_settings.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/language/src/language_settings.rs b/crates/language/src/language_settings.rs index 82d4208aae6eb78c0374c9c9e885cfff79565814..735a9a60f87fa614048002c7f121054cb9a98c96 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, - // 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,