Skip to content

Commit 1f35c8d

Browse files
authored
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
1 parent 3ca18af commit 1f35c8d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/language/src/language_settings.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ pub struct LanguageSettingsContent {
325325
///
326326
/// Default: true
327327
pub use_auto_surround: Option<bool>,
328-
// Controls how the editor handles the autoclosed characters.
329-
// When set to `false`(default), skipping over and auto-removing of the closing characters
330-
// happen only for auto-inserted characters.
331-
// Otherwise(when `true`), the closing characters are always skipped over and auto-removed
332-
// no matter how they were inserted.
328+
/// Controls how the editor handles the autoclosed characters.
329+
/// When set to `false`(default), skipping over and auto-removing of the closing characters
330+
/// happen only for auto-inserted characters.
331+
/// Otherwise(when `true`), the closing characters are always skipped over and auto-removed
332+
/// no matter how they were inserted.
333333
///
334334
/// Default: false
335335
pub always_treat_brackets_as_autoclosed: Option<bool>,

0 commit comments

Comments
 (0)