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
This commit is contained in:
Junseong Park 2024-09-22 17:47:07 +09:00 committed by GitHub
parent 3ca18af40b
commit 1f35c8d09d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>,